@tesouro/embedded-components-react 0.2.130 → 0.2.131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/ReceivablesWidget.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.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 +22 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.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/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +25 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +1270 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +33 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +22 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +8 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +75 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +6 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +9 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +32 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +32 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +12 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +12 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +26 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +12 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +121 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +7 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +217 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +10 -119
- 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 +46 -215
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +43 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +147 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +26 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +56 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +71 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +26 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +3 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +55 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +39 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +78 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +5 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +93 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +56 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +32 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +24 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +94 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +97 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +101 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +5 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +12 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +7 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +10 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +12 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +12 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +7 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +25 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +13 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +17 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +19 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +12 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +22 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +27 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +114 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +70 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +36 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +50 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +33 -4
- 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 +66 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +346 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +20 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +13 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +14 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +13 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +21 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +31 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +28 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +17 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +245 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +19 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +26 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +36 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +58 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +49 -245
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +97 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +43 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +143 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +101 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +41 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +29 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +5 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +73 -43
- 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 +32 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +17 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +16 -487
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +25 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +60 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +91 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +100 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +77 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +63 -108
- 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 +62 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +73 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +44 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +23 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +2 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +95 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +96 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +212 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +22 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +54 -93
- 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 +28 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +57 -210
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +17 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +36 -342
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +336 -292
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +287 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +98 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +156 -261
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +265 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +24 -19
- 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 +19 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +28 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +126 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +158 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +28 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +26 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +76 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +60 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +42 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +23 -20
- 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 +137 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +110 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +80 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +270 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +44 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +15 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +85 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +220 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +34 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +11 -60
- 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 +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +10 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +6 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +2 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +149 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +93 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +16 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +82 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +16 -126
- 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 +50 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +47 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +9 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +486 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +165 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +39 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +61 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +30 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +112 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +21 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +40 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +54 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +20 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +16 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +17 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +160 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +128 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +160 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +9 -282
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +18 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +63 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +63 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +56 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +6 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +59 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +22 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +61 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +19 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +17 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +42 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +14 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +80 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +74 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +43 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +28 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +255 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +46 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +36 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +34 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +8 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +43 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +25 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +71 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +97 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +37 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +11 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +22 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +11 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +53 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +35 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +17 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +66 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +45 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +26 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +16 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +93 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +31 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +33 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +31 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +4 -36
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +127 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +51 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +20 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +37 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +21 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +64 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +18 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +11 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +66 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +2 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +8 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +9 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +31 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +85 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +24 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +105 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +108 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +72 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +68 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +39 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +28 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +23 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +36 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +5 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +121 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +18 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +16 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +16 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +16 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +72 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +16 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +16 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +16 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +29 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +67 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +55 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +38 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +19 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +40 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +36 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +16 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +53 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +17 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +48 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +59 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +31 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +95 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +16 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +75 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +22 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +9 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +52 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +68 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +32 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +72 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +86 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +53 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +52 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +52 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +30 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +37 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +45 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +49 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +39 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +82 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +12 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +48 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +48 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +43 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +18 -38
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +25 -25
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as s } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as i } from "./
|
|
2
|
+
import { getAPIErrorMessage as i } from "./index122.js";
|
|
3
3
|
import { useLingui as a } from "@lingui/react";
|
|
4
4
|
import { toast as n } from "react-hot-toast";
|
|
5
5
|
const f = () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as i } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as n } from "./
|
|
2
|
+
import { getAPIErrorMessage as n } from "./index122.js";
|
|
3
3
|
import { useLingui as a } from "@lingui/react";
|
|
4
4
|
import { toast as t } from "react-hot-toast";
|
|
5
5
|
const f = () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMemo as p } from "react";
|
|
2
|
-
import { useUserPermissions as y } from "./
|
|
2
|
+
import { useUserPermissions as y } from "./index146.js";
|
|
3
3
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
4
4
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
5
5
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { useMemo as A } from "react";
|
|
2
2
|
import { useLingui as E } from "@lingui/react";
|
|
3
|
-
import { useUserPermissions as k } from "./
|
|
3
|
+
import { useUserPermissions as k } from "./index146.js";
|
|
4
4
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
5
5
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
6
6
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
7
7
|
import "@tanstack/react-query";
|
|
8
8
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
9
9
|
import { Scope as i } from "../../shared/data-access/dist/lib/scopes.js";
|
|
10
|
-
import { getLineLabel as u } from "./
|
|
11
|
-
import { useGetEmbeddedBankAccounts as f } from "./
|
|
12
|
-
import { useGetEntityBankAccounts as L } from "./
|
|
13
|
-
import { useGetExternalBankAccounts as g } from "./
|
|
10
|
+
import { getLineLabel as u } from "./index327.js";
|
|
11
|
+
import { useGetEmbeddedBankAccounts as f } from "./index330.js";
|
|
12
|
+
import { useGetEntityBankAccounts as L } from "./index331.js";
|
|
13
|
+
import { useGetExternalBankAccounts as g } from "./index332.js";
|
|
14
14
|
const V = (t = !0) => {
|
|
15
15
|
const {
|
|
16
16
|
i18n: o
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { CenteredContentBox as r } from "./
|
|
3
|
-
import { LoadingSpinner as n } from "./
|
|
2
|
+
import { CenteredContentBox as r } from "./index218.js";
|
|
3
|
+
import { LoadingSpinner as n } from "./index136.js";
|
|
4
4
|
const m = () => /* @__PURE__ */ o(r, { children: /* @__PURE__ */ o(n, {}) });
|
|
5
5
|
export {
|
|
6
6
|
m as LoadingPage
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { LoadingSpinner as f } from "./
|
|
2
|
+
import { LoadingSpinner as f } from "./index136.js";
|
|
3
3
|
import { Button as t } from "./index84.js";
|
|
4
4
|
import { Dialog as C, DialogContent as u, DialogHeader as D, DialogTitle as b, DialogDescription as w, DialogFooter as L } from "./index194.js";
|
|
5
5
|
import { useLingui as x } from "@lingui/react";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as e, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { Typography as l } from "./index85.js";
|
|
3
3
|
import { useLingui as m } from "@lingui/react";
|
|
4
|
-
import { PaymentSection as c } from "./
|
|
4
|
+
import { PaymentSection as c } from "./index316.js";
|
|
5
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 b } from "./
|
|
7
|
-
import { Input as g } from "./
|
|
8
|
-
import { RecurrenceSection as x } from "./
|
|
9
|
-
import { RemindersSection as y } from "./
|
|
6
|
+
import { Field as f, FieldContent as h, FieldLabel as u, FieldError as b } from "./index159.js";
|
|
7
|
+
import { Input as g } from "./index128.js";
|
|
8
|
+
import { RecurrenceSection as x } from "./index317.js";
|
|
9
|
+
import { RemindersSection as y } from "./index318.js";
|
|
10
10
|
const j = ({
|
|
11
11
|
paymentTerms: n,
|
|
12
12
|
disabled: i,
|
|
@@ -2,8 +2,8 @@ import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
|
|
|
2
2
|
import { Typography as i } from "./index85.js";
|
|
3
3
|
import { useLingui as w } from "@lingui/react";
|
|
4
4
|
import { useFormContext as f, Controller as s } from "react-hook-form";
|
|
5
|
-
import { Field as d, FieldContent as c, FieldLabel as m, FieldDescription as h, FieldError as p } from "./
|
|
6
|
-
import { Textarea as u } from "./
|
|
5
|
+
import { Field as d, FieldContent as c, FieldLabel as m, FieldDescription as h, FieldError as p } from "./index159.js";
|
|
6
|
+
import { Textarea as u } from "./index129.js";
|
|
7
7
|
const _ = ({
|
|
8
8
|
disabled: n
|
|
9
9
|
}) => {
|
|
@@ -5,8 +5,8 @@ import { useLingui as tt } from "@lingui/react";
|
|
|
5
5
|
import { Trash2 as et, Loader2 as at, FileText as rt, X as it, ImageIcon as lt } from "lucide-react";
|
|
6
6
|
import { Typography as n } from "./index85.js";
|
|
7
7
|
import { Button as S } from "./index84.js";
|
|
8
|
-
import { Checkbox as nt } from "./
|
|
9
|
-
import { Separator as st } from "./
|
|
8
|
+
import { Checkbox as nt } from "./index319.js";
|
|
9
|
+
import { Separator as st } from "./index140.js";
|
|
10
10
|
import { cn as ot } from "./index100.js";
|
|
11
11
|
import "./index57.js";
|
|
12
12
|
import "react-hot-toast";
|
|
@@ -14,12 +14,12 @@ import "./index92.js";
|
|
|
14
14
|
import { useFileInput as ct } from "./index61.js";
|
|
15
15
|
import "react-dom";
|
|
16
16
|
import "@mui/x-data-grid";
|
|
17
|
-
import { ATTACHMENT_ACCEPTED_FORMATS as k, ATTACHMENT_MAX_FILE_SIZE_MB as P, ATTACHMENT_MAX_FILE_COUNT as dt, ATTACHMENT_ACCEPTED_EXTENSIONS as mt } from "./
|
|
18
|
-
import { useDeleteFile as ut } from "./
|
|
19
|
-
import { useUploadReceivableAttachment as wt } from "./
|
|
20
|
-
import { validateAttachmentFile as pt } from "./
|
|
21
|
-
import { formatFileSize as ft } from "./
|
|
22
|
-
import { toFileArray as B } from "./
|
|
17
|
+
import { ATTACHMENT_ACCEPTED_FORMATS as k, ATTACHMENT_MAX_FILE_SIZE_MB as P, ATTACHMENT_MAX_FILE_COUNT as dt, ATTACHMENT_ACCEPTED_EXTENSIONS as mt } from "./index240.js";
|
|
18
|
+
import { useDeleteFile as ut } from "./index320.js";
|
|
19
|
+
import { useUploadReceivableAttachment as wt } from "./index321.js";
|
|
20
|
+
import { validateAttachmentFile as pt } from "./index322.js";
|
|
21
|
+
import { formatFileSize as ft } from "./index323.js";
|
|
22
|
+
import { toFileArray as B } from "./index324.js";
|
|
23
23
|
const Ot = ({
|
|
24
24
|
disabled: c,
|
|
25
25
|
onUploadingChange: u
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsx as t, jsxs as i, Fragment as _ } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { useCounterpartById as Lt } from "./index70.js";
|
|
3
|
-
import { Sheet as X, SheetContent as Y, SheetHeader as $t, SheetTitle as Et, SheetDescription as Rt, SheetClose as Ut } from "./
|
|
4
|
-
import { LoadingSpinner as kt } from "./
|
|
3
|
+
import { Sheet as X, SheetContent as Y, SheetHeader as $t, SheetTitle as Et, SheetDescription as Rt, SheetClose as Ut } from "./index135.js";
|
|
4
|
+
import { LoadingSpinner as kt } from "./index136.js";
|
|
5
5
|
import { useLingui as Bt } from "@lingui/react";
|
|
6
6
|
import { getCounterpartName as T } from "./index7.js";
|
|
7
|
-
import { Skeleton as c } from "./
|
|
7
|
+
import { Skeleton as c } from "./index137.js";
|
|
8
8
|
import { useMoniteContext as jt } from "./index57.js";
|
|
9
|
-
import { DropdownMenu as Mt, DropdownMenuTrigger as Ot, DropdownMenuContent as Pt, DropdownMenuItem as Vt } from "./
|
|
9
|
+
import { DropdownMenu as Mt, DropdownMenuTrigger as Ot, DropdownMenuContent as Pt, DropdownMenuItem as Vt } from "./index138.js";
|
|
10
10
|
import { Button as v } from "./index84.js";
|
|
11
11
|
import { MoreVerticalIcon as Ft, Trash2 as Wt, X as zt, EyeOff as Gt, Eye as Ht } from "lucide-react";
|
|
12
|
-
import { DeleteCounterpartModal as qt } from "./
|
|
12
|
+
import { DeleteCounterpartModal as qt } from "./index139.js";
|
|
13
13
|
import { useState as A, useCallback as Xt, Fragment as Yt } from "react";
|
|
14
14
|
import { Typography as r } from "./index85.js";
|
|
15
15
|
import { useCurrencies as Jt } from "./index58.js";
|
|
16
|
-
import { Separator as Kt } from "./
|
|
17
|
-
import { CounterpartContactDetailLine as m } from "./
|
|
16
|
+
import { Separator as Kt } from "./index140.js";
|
|
17
|
+
import { CounterpartContactDetailLine as m } from "./index141.js";
|
|
18
18
|
import "react-hot-toast";
|
|
19
19
|
import "date-fns";
|
|
20
|
-
import { useDeleteCounterpartBank as Qt } from "./
|
|
21
|
-
import { useCounterpartAddressesById as Zt } from "./
|
|
22
|
-
import { useGetCounterpartPayables as te } from "./
|
|
23
|
-
import { EditCounterpart as ee } from "./
|
|
24
|
-
import { useUserPermissions as ae } from "./
|
|
20
|
+
import { useDeleteCounterpartBank as Qt } from "./index142.js";
|
|
21
|
+
import { useCounterpartAddressesById as Zt } from "./index143.js";
|
|
22
|
+
import { useGetCounterpartPayables as te } from "./index144.js";
|
|
23
|
+
import { EditCounterpart as ee } from "./index145.js";
|
|
24
|
+
import { useUserPermissions as ae } from "./index146.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,21 +29,21 @@ import "@tanstack/react-query";
|
|
|
29
29
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
30
30
|
import { Scope as w } from "../../shared/data-access/dist/lib/scopes.js";
|
|
31
31
|
import { useGetPayablesAnalytics as I } from "./index35.js";
|
|
32
|
-
import { AR_DEFAULT_STATUSES as ie } from "./
|
|
33
|
-
import { useGetReceivables as re } from "./
|
|
34
|
-
import { useGetReceivablesAnalytics as J } from "./
|
|
32
|
+
import { AR_DEFAULT_STATUSES as ie } from "./index147.js";
|
|
33
|
+
import { useGetReceivables as re } from "./index148.js";
|
|
34
|
+
import { useGetReceivablesAnalytics as J } from "./index149.js";
|
|
35
35
|
import "./index92.js";
|
|
36
36
|
import "react-dom";
|
|
37
37
|
import "@mui/x-data-grid";
|
|
38
38
|
import "react-hook-form";
|
|
39
|
-
import { PayableStatusChip as K } from "./
|
|
40
|
-
import { CounterpartBankSection as oe } from "./
|
|
41
|
-
import { useCounterpartsBankAccountsList as ne } from "./
|
|
39
|
+
import { PayableStatusChip as K } from "./index150.js";
|
|
40
|
+
import { CounterpartBankSection as oe } from "./index151.js";
|
|
41
|
+
import { useCounterpartsBankAccountsList as ne } from "./index152.js";
|
|
42
42
|
import { MoniteScopedProviders as se } from "./index83.js";
|
|
43
43
|
import { InvoiceStatusChip as de } from "./index55.js";
|
|
44
|
-
import { CounterpartAddressSection as le } from "./
|
|
45
|
-
import { NotFound as ce } from "./
|
|
46
|
-
import { isBillOverdue as me } from "./
|
|
44
|
+
import { CounterpartAddressSection as le } from "./index153.js";
|
|
45
|
+
import { NotFound as ce } from "./index154.js";
|
|
46
|
+
import { isBillOverdue as me } from "./index155.js";
|
|
47
47
|
const oa = (o) => /* @__PURE__ */ t(se, { children: /* @__PURE__ */ t(ue, { ...o }) }), ue = ({
|
|
48
48
|
counterpartId: o,
|
|
49
49
|
customerType: u,
|
|
@@ -9,55 +9,55 @@ import "react-dom";
|
|
|
9
9
|
import "@mui/x-data-grid";
|
|
10
10
|
import { useComponentSettings as je } from "./index67.js";
|
|
11
11
|
import { useGetReceivableById as He } from "./index82.js";
|
|
12
|
-
import { useUserPermissions as Ue } from "./
|
|
12
|
+
import { useUserPermissions as Ue } from "./index146.js";
|
|
13
13
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
14
14
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
15
15
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
16
16
|
import "@tanstack/react-query";
|
|
17
17
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
18
18
|
import { Scope as D } from "../../shared/data-access/dist/lib/scopes.js";
|
|
19
|
-
import { AccessRestriction as Ge } from "./
|
|
20
|
-
import { Accordion as Ve, AccordionItem as T, AccordionTrigger as A, AccordionContent as P } from "./
|
|
21
|
-
import { Badge as b } from "./
|
|
19
|
+
import { AccessRestriction as Ge } from "./index157.js";
|
|
20
|
+
import { Accordion as Ve, AccordionItem as T, AccordionTrigger as A, AccordionContent as P } from "./index237.js";
|
|
21
|
+
import { Badge as b } from "./index238.js";
|
|
22
22
|
import { Button as S } from "./index84.js";
|
|
23
23
|
import { DialogTitle as y } from "./index194.js";
|
|
24
|
-
import { Sheet as qe, SheetContent as Ye, SheetDescription as We, SheetHeader as Je, SheetTitle as Ke } from "./
|
|
25
|
-
import { TooltipProvider as Qe, Tooltip as ue, TooltipTrigger as pe, TooltipContent as we } from "./
|
|
24
|
+
import { Sheet as qe, SheetContent as Ye, SheetDescription as We, SheetHeader as Je, SheetTitle as Ke } from "./index135.js";
|
|
25
|
+
import { TooltipProvider as Qe, Tooltip as ue, TooltipTrigger as pe, TooltipContent as we } from "./index239.js";
|
|
26
26
|
import { Typography as o } from "./index85.js";
|
|
27
27
|
import { cn as k } from "./index100.js";
|
|
28
|
-
import { LoadingSpinner as he } from "./
|
|
29
|
-
import { NotFound as ve } from "./
|
|
28
|
+
import { LoadingSpinner as he } from "./index136.js";
|
|
29
|
+
import { NotFound as ve } from "./index154.js";
|
|
30
30
|
import { ChevronLeft as Xe, Eye as Ze, Repeat as fe, CircleAlert as et } from "lucide-react";
|
|
31
31
|
import { toast as $ } from "react-hot-toast";
|
|
32
|
-
import { headerIconButtonClass as g, STATUS_ICON as tt, HEADER_TOOLTIP_DELAY as rt, amountValueToneClass as nt, ACTION_ICON as at } from "./
|
|
33
|
-
import { buildInvoiceDetailsView as it } from "./
|
|
34
|
-
import { preventTooltipFocusOpen as be } from "./
|
|
35
|
-
import { useDuplicateInvoice as ot } from "./
|
|
36
|
-
import { useGetOverdueReminderById as st } from "./
|
|
37
|
-
import { useGetPaymentRecords as lt } from "./
|
|
38
|
-
import { useGetPaymentReminderById as ct } from "./
|
|
39
|
-
import { useGetRecurrenceById as dt } from "./
|
|
40
|
-
import { useGetReceivablePDFById as mt } from "./
|
|
32
|
+
import { headerIconButtonClass as g, STATUS_ICON as tt, HEADER_TOOLTIP_DELAY as rt, amountValueToneClass as nt, ACTION_ICON as at } from "./index240.js";
|
|
33
|
+
import { buildInvoiceDetailsView as it } from "./index241.js";
|
|
34
|
+
import { preventTooltipFocusOpen as be } from "./index242.js";
|
|
35
|
+
import { useDuplicateInvoice as ot } from "./index243.js";
|
|
36
|
+
import { useGetOverdueReminderById as st } from "./index244.js";
|
|
37
|
+
import { useGetPaymentRecords as lt } from "./index245.js";
|
|
38
|
+
import { useGetPaymentReminderById as ct } from "./index246.js";
|
|
39
|
+
import { useGetRecurrenceById as dt } from "./index247.js";
|
|
40
|
+
import { useGetReceivablePDFById as mt } from "./index248.js";
|
|
41
41
|
import { useIssueReceivableById as ut } from "./index187.js";
|
|
42
|
-
import { usePauseRecurrence as pt } from "./
|
|
43
|
-
import { useResumeRecurrence as wt } from "./
|
|
44
|
-
import { InvoiceDetailsAmountCell as ht } from "./
|
|
45
|
-
import { InvoiceDetailsAttachments as vt } from "./
|
|
46
|
-
import { InvoiceDetailsCloseButton as ye } from "./
|
|
42
|
+
import { usePauseRecurrence as pt } from "./index249.js";
|
|
43
|
+
import { useResumeRecurrence as wt } from "./index250.js";
|
|
44
|
+
import { InvoiceDetailsAmountCell as ht } from "./index251.js";
|
|
45
|
+
import { InvoiceDetailsAttachments as vt } from "./index252.js";
|
|
46
|
+
import { InvoiceDetailsCloseButton as ye } from "./index253.js";
|
|
47
47
|
import { ActionsModal as ft } from "./index201.js";
|
|
48
|
-
import { EditInvoiceDetails as bt } from "./
|
|
49
|
-
import { InvoiceDetailsInfoRow as ge } from "./
|
|
50
|
-
import { InvoiceDetailsCustomerRow as yt } from "./
|
|
48
|
+
import { EditInvoiceDetails as bt } from "./index254.js";
|
|
49
|
+
import { InvoiceDetailsInfoRow as ge } from "./index255.js";
|
|
50
|
+
import { InvoiceDetailsCustomerRow as yt } from "./index256.js";
|
|
51
51
|
import { CounterpartDetails as gt } from "./index2.js";
|
|
52
|
-
import { InvoiceCancelModal as xt } from "./
|
|
53
|
-
import { InvoiceDeleteModal as Nt } from "./
|
|
54
|
-
import { InvoiceDetailsTabScheduledInvoices as _t } from "./
|
|
52
|
+
import { InvoiceCancelModal as xt } from "./index257.js";
|
|
53
|
+
import { InvoiceDeleteModal as Nt } from "./index258.js";
|
|
54
|
+
import { InvoiceDetailsTabScheduledInvoices as _t } from "./index259.js";
|
|
55
55
|
import { InvoiceRecurrenceStatusChip as It } from "./index169.js";
|
|
56
56
|
import { InvoiceStatusChip as Ct } from "./index55.js";
|
|
57
|
-
import { MarkAsUncollectibleModal as Rt } from "./
|
|
58
|
-
import { InvoiceDetailsOverflowMenu as Lt } from "./
|
|
59
|
-
import { RecordManualPaymentModal as Dt } from "./
|
|
60
|
-
import { RecurrenceCancelModal as Tt } from "./
|
|
57
|
+
import { MarkAsUncollectibleModal as Rt } from "./index260.js";
|
|
58
|
+
import { InvoiceDetailsOverflowMenu as Lt } from "./index261.js";
|
|
59
|
+
import { RecordManualPaymentModal as Dt } from "./index262.js";
|
|
60
|
+
import { RecurrenceCancelModal as Tt } from "./index263.js";
|
|
61
61
|
const Br = (s) => /* @__PURE__ */ e(Me, { children: /* @__PURE__ */ e(At, { ...s }) }), At = ({
|
|
62
62
|
invoiceId: s,
|
|
63
63
|
open: xe,
|
|
@@ -2,8 +2,8 @@ import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
|
2
2
|
import { useState as c } from "react";
|
|
3
3
|
import { useLingui as w } from "@lingui/react";
|
|
4
4
|
import { Dialog as I, DialogContent as v } from "./index194.js";
|
|
5
|
-
import { ActionsModalIssueStep as b } from "./
|
|
6
|
-
import { ActionsModalProductsStep as h } from "./
|
|
5
|
+
import { ActionsModalIssueStep as b } from "./index264.js";
|
|
6
|
+
import { ActionsModalProductsStep as h } from "./index265.js";
|
|
7
7
|
const L = ({
|
|
8
8
|
open: u,
|
|
9
9
|
onClose: i,
|
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { createContext as i, useState as c, useCallback as d, useContext as h } from "react";
|
|
3
|
+
import { MoniteScopedProviders as l } from "./index83.js";
|
|
4
|
+
const n = i(null);
|
|
5
|
+
function g() {
|
|
6
|
+
const e = h(n);
|
|
7
|
+
if (!e)
|
|
8
|
+
throw new Error('Could not find DiscardChangesContext. Make sure that you are using "DiscardChangesContext" component before calling this hook.');
|
|
9
|
+
return e;
|
|
10
|
+
}
|
|
11
|
+
const m = ({
|
|
12
|
+
children: e
|
|
13
|
+
}) => /* @__PURE__ */ o(l, { children: /* @__PURE__ */ o(u, { children: e }) }), u = ({
|
|
14
|
+
children: e
|
|
13
15
|
}) => {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
i.mutate(void 0);
|
|
22
|
-
};
|
|
23
|
-
return n ? /* @__PURE__ */ l(s, { open: a && !!e, title: o._('Delete "{name}"?', {
|
|
24
|
-
name: n.name
|
|
25
|
-
}), message: o._("It will remain in all the documents where it is added. You can't undo this action."), confirmLabel: o._("Delete"), cancelLabel: o._("Cancel"), onClose: t, onConfirm: m, isLoading: i.isPending }) : null;
|
|
16
|
+
const [r, t] = c(!1), s = d((a) => {
|
|
17
|
+
t(a);
|
|
18
|
+
}, []);
|
|
19
|
+
return /* @__PURE__ */ o(n.Provider, { value: {
|
|
20
|
+
handleShowModal: s,
|
|
21
|
+
shouldShowChangesModal: r
|
|
22
|
+
}, children: e });
|
|
26
23
|
};
|
|
27
24
|
export {
|
|
28
|
-
|
|
25
|
+
n as DiscardChangesContext,
|
|
26
|
+
m as DiscardChangesContextProvider,
|
|
27
|
+
g as useDiscardChangesContext
|
|
29
28
|
};
|
|
@@ -1,15 +1,98 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
import { jsxs as r, jsx as e, Fragment as O } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as v } from "react";
|
|
3
|
+
import { toast as I } from "react-hot-toast";
|
|
4
|
+
import "./index57.js";
|
|
5
|
+
import { useLingui as $ } from "@lingui/react";
|
|
6
|
+
import "./index92.js";
|
|
7
|
+
import { useFileInput as z, LOGO_SUPPORTED_FORMATS as C, LOGO_MAX_FILE_SIZE_IN_MB as M } from "./index61.js";
|
|
8
|
+
import "react-dom";
|
|
9
|
+
import "@mui/x-data-grid";
|
|
10
|
+
import "@tanstack/react-query";
|
|
11
|
+
import "date-fns";
|
|
12
|
+
import { useMyEntity as P } from "./index78.js";
|
|
13
|
+
import { SquarePen as T, Trash2 as k } from "lucide-react";
|
|
14
|
+
import { Button as x } from "./index84.js";
|
|
15
|
+
import { Typography as l } from "./index85.js";
|
|
16
|
+
import { useUploadEntityLogo as B } from "./index383.js";
|
|
17
|
+
import { useDeleteEntityLogo as U } from "./index384.js";
|
|
18
|
+
import { DragAndDropBox as A } from "./index385.js";
|
|
19
|
+
import { Skeleton as j } from "./index137.js";
|
|
20
|
+
const st = () => {
|
|
8
21
|
const {
|
|
9
|
-
i18n:
|
|
10
|
-
} =
|
|
11
|
-
|
|
22
|
+
i18n: o
|
|
23
|
+
} = $(), {
|
|
24
|
+
data: i,
|
|
25
|
+
isLoading: m
|
|
26
|
+
} = P(), c = i?.id ?? "", {
|
|
27
|
+
FileInput: D,
|
|
28
|
+
openFileInput: d,
|
|
29
|
+
checkFileError: N,
|
|
30
|
+
resetInput: p
|
|
31
|
+
} = z({
|
|
32
|
+
acceptedFormats: C,
|
|
33
|
+
maxFileSizeInMB: M
|
|
34
|
+
}), [f, s] = v(!1), [g, n] = v(""), {
|
|
35
|
+
mutateAsync: _,
|
|
36
|
+
isSuccess: b,
|
|
37
|
+
isError: w,
|
|
38
|
+
isPending: u,
|
|
39
|
+
reset: E
|
|
40
|
+
} = B(), {
|
|
41
|
+
mutate: S,
|
|
42
|
+
isPending: F
|
|
43
|
+
} = U(c);
|
|
44
|
+
async function h(t) {
|
|
45
|
+
if (t) {
|
|
46
|
+
const a = N(t);
|
|
47
|
+
if (a) {
|
|
48
|
+
I.error(a);
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
n(t.name), await _({
|
|
52
|
+
body: {
|
|
53
|
+
file: t
|
|
54
|
+
},
|
|
55
|
+
path: {
|
|
56
|
+
entity_id: c
|
|
57
|
+
}
|
|
58
|
+
}), p(), n("");
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
const L = u || w, y = !!i?.logo && !g && !L && !m;
|
|
62
|
+
return /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
63
|
+
/* @__PURE__ */ r("div", { className: "ttw:pt-5 ttw:pb-2.5 ttw:flex ttw:flex-col ttw:gap-1.5", children: [
|
|
64
|
+
/* @__PURE__ */ e(l, { variant: "h3", children: o._("Branding") }),
|
|
65
|
+
/* @__PURE__ */ e(l, { variant: "body2", color: "muted", children: o._("Control how your invoices will appear to your customers by adding your company's logo. Changes apply to new invoices only.") })
|
|
66
|
+
] }),
|
|
67
|
+
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", onDragEnter: (t) => {
|
|
68
|
+
t.preventDefault(), s(!0);
|
|
69
|
+
}, onDragLeave: (t) => {
|
|
70
|
+
t.preventDefault(), s(!1);
|
|
71
|
+
}, onDragOver: (t) => t.preventDefault(), onDrop: (t) => {
|
|
72
|
+
t.preventDefault(), s(!1);
|
|
73
|
+
const a = t.dataTransfer?.files ? t.dataTransfer?.files?.[0] : null;
|
|
74
|
+
h(a);
|
|
75
|
+
}, children: [
|
|
76
|
+
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
77
|
+
/* @__PURE__ */ e(l, { variant: "body1", className: "ttw:font-medium", children: o._("Upload your company logo") }),
|
|
78
|
+
/* @__PURE__ */ e(l, { variant: "body2", className: "ttw:leading-5", color: "muted", children: o._("Proudly display your logo on all your invoices.") })
|
|
79
|
+
] }),
|
|
80
|
+
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:items-end ttw:gap-2", children: [
|
|
81
|
+
m ? /* @__PURE__ */ e(j, { className: "ttw:w-full ttw:h-38 ttw:bg-zinc-200" }) : /* @__PURE__ */ e(O, { children: y ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:w-full ttw:h-38 ttw:box-border", children: /* @__PURE__ */ e("img", { src: i?.logo?.url, className: "ttw:w-auto ttw:max-w-full ttw:object-contain ttw:max-h-38", alt: o._("Organization logo") }) }) : /* @__PURE__ */ e(A, { isUploading: u, isSuccess: b, isError: w, isDraggingOver: f, fileName: g, resetUpload: () => {
|
|
82
|
+
p(), E(), n("");
|
|
83
|
+
}, onClick: d }) }),
|
|
84
|
+
!f && y && /* @__PURE__ */ r("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
85
|
+
/* @__PURE__ */ e(x, { variant: "ghost", size: "sm", onClick: d, "aria-label": o._("Edit logo"), children: /* @__PURE__ */ e(T, { className: "ttw:size-4 ttw:w-fit" }) }),
|
|
86
|
+
i?.logo && /* @__PURE__ */ e(x, { variant: "ghost", size: "sm", disabled: F, "aria-label": o._("Delete logo"), onClick: () => S(), children: /* @__PURE__ */ e(k, { className: "ttw:size-4" }) })
|
|
87
|
+
] })
|
|
88
|
+
] }),
|
|
89
|
+
/* @__PURE__ */ e(D, { onChange: (t) => {
|
|
90
|
+
const a = t.target.files ? t.target.files[0] : null;
|
|
91
|
+
h(a);
|
|
92
|
+
} })
|
|
93
|
+
] })
|
|
94
|
+
] });
|
|
12
95
|
};
|
|
13
96
|
export {
|
|
14
|
-
|
|
97
|
+
st as LogoSection
|
|
15
98
|
};
|
|
@@ -1,22 +1,103 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsx as r, jsxs as x } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Button as h } from "./index84.js";
|
|
3
|
+
import { PDFSettings as q } from "./index266.js";
|
|
4
|
+
import { useForm as S, FormProvider as D } from "react-hook-form";
|
|
5
|
+
import { useLingui as k } from "@lingui/react";
|
|
6
|
+
import { useDiscardChangesContext as N } from "./index202.js";
|
|
7
|
+
import { usePatchEntitySettings as w } from "./index267.js";
|
|
8
|
+
import { safeZodResolver as F } from "./index268.js";
|
|
9
|
+
import { useEffect as P } from "react";
|
|
10
|
+
import { InvoiceNumbering as C } from "./index269.js";
|
|
11
|
+
import { getInvoiceSettingsFormSchema as I } from "./index270.js";
|
|
12
|
+
import { getBankDisplayValue as d, buildDocumentRendering as V } from "./index271.js";
|
|
13
|
+
const Z = ({
|
|
14
|
+
entityId: _,
|
|
15
|
+
entitySettings: e,
|
|
16
|
+
nextNumbers: i,
|
|
17
|
+
isDialog: c
|
|
9
18
|
}) => {
|
|
10
19
|
const {
|
|
11
|
-
i18n:
|
|
12
|
-
} =
|
|
13
|
-
|
|
14
|
-
},
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
20
|
+
i18n: a
|
|
21
|
+
} = k(), {
|
|
22
|
+
handleShowModal: s
|
|
23
|
+
} = N(), {
|
|
24
|
+
mutate: m,
|
|
25
|
+
isPending: p
|
|
26
|
+
} = w(_), o = S({
|
|
27
|
+
resolver: F(I(a, i)),
|
|
28
|
+
defaultValues: {
|
|
29
|
+
credit_note: e?.document_ids?.document_type_prefix?.credit_note ?? "CN",
|
|
30
|
+
credit_note_number: i?.credit_note ?? 1,
|
|
31
|
+
delivery_note: e?.document_ids?.document_type_prefix?.delivery_note ?? "DN",
|
|
32
|
+
delivery_note_number: i?.delivery_note ?? 1,
|
|
33
|
+
invoice: e?.document_ids?.document_type_prefix?.invoice ?? "INV",
|
|
34
|
+
invoice_number: i?.invoice ?? 1,
|
|
35
|
+
purchase_order: e?.document_ids?.document_type_prefix?.purchase_order ?? "PO",
|
|
36
|
+
purchase_order_number: i?.purchase_order ?? 1,
|
|
37
|
+
quote: e?.document_ids?.document_type_prefix?.quote ?? "Q",
|
|
38
|
+
quote_number: i?.quote ?? 1,
|
|
39
|
+
include_date: e?.document_ids?.include_date ?? !1,
|
|
40
|
+
min_digits: e?.document_ids?.min_digits ?? 5,
|
|
41
|
+
prefix: e?.document_ids?.prefix ?? "",
|
|
42
|
+
separator: e?.document_ids?.separator ?? "-",
|
|
43
|
+
invoice_bank_display: d(e?.document_rendering?.invoice, !!(e?.document_rendering?.display_organization_bank_account ?? !1)),
|
|
44
|
+
credit_note_bank_display: d(e?.document_rendering?.credit_note, !!(e?.document_rendering?.display_organization_bank_account ?? !1)),
|
|
45
|
+
quote_bank_display: d(e?.document_rendering?.quote, !!(e?.document_rendering?.display_organization_bank_account ?? !1)),
|
|
46
|
+
update_paid_invoices: e?.generate_paid_invoice_pdf ?? !1,
|
|
47
|
+
quote_signature_display: e?.document_rendering?.quote?.display_signature ?? !1,
|
|
48
|
+
quote_electronic_signature: e?.quote_signature_required ?? !1
|
|
49
|
+
}
|
|
50
|
+
}), {
|
|
51
|
+
control: u,
|
|
52
|
+
handleSubmit: l,
|
|
53
|
+
formState: n,
|
|
54
|
+
reset: g
|
|
55
|
+
} = o, f = (t) => {
|
|
56
|
+
const {
|
|
57
|
+
dirtyFields: y
|
|
58
|
+
} = n, v = V(e?.document_rendering, t), b = y.invoice_number;
|
|
59
|
+
m({
|
|
60
|
+
path: {
|
|
61
|
+
entity_id: _
|
|
62
|
+
},
|
|
63
|
+
body: {
|
|
64
|
+
...e,
|
|
65
|
+
document_ids: {
|
|
66
|
+
document_type_prefix: {
|
|
67
|
+
invoice: t.invoice,
|
|
68
|
+
credit_note: t.credit_note,
|
|
69
|
+
delivery_note: t.delivery_note,
|
|
70
|
+
purchase_order: t.purchase_order,
|
|
71
|
+
quote: t.quote
|
|
72
|
+
},
|
|
73
|
+
...b && {
|
|
74
|
+
next_number: {
|
|
75
|
+
invoice: t.invoice_number
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
min_digits: t.min_digits,
|
|
79
|
+
separator: t.separator,
|
|
80
|
+
include_date: t.include_date,
|
|
81
|
+
prefix: t.prefix || null
|
|
82
|
+
},
|
|
83
|
+
document_rendering: v,
|
|
84
|
+
generate_paid_invoice_pdf: t.update_paid_invoices,
|
|
85
|
+
quote_signature_required: t.quote_electronic_signature === !0 || t.quote_electronic_signature === "true"
|
|
86
|
+
}
|
|
87
|
+
}, {
|
|
88
|
+
onSuccess: () => {
|
|
89
|
+
g(o.getValues());
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
return P(() => {
|
|
94
|
+
s(n?.isDirty);
|
|
95
|
+
}, [n?.isDirty, s]), /* @__PURE__ */ r(D, { ...o, children: /* @__PURE__ */ x("form", { className: "ttw:flex ttw:flex-col ttw:gap-6", onSubmit: l(f), children: [
|
|
96
|
+
/* @__PURE__ */ r(C, { control: u }),
|
|
97
|
+
/* @__PURE__ */ r(q, { control: u, isDialog: c }),
|
|
98
|
+
/* @__PURE__ */ r(h, { type: "submit", className: "ttw:w-fit", disabled: p || !n?.isDirty, children: a._("Save changes") })
|
|
18
99
|
] }) });
|
|
19
100
|
};
|
|
20
101
|
export {
|
|
21
|
-
|
|
102
|
+
Z as TemplateSettingsContent
|
|
22
103
|
};
|