@tesouro/embedded-components-react 0.2.30 → 0.2.32
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 +18 -18
- package/dist/libs/shared/util-validation/dist/index22.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/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 +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +23 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +9 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +35 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +23 -1269
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +1270 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +7 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +33 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +58 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +397 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +68 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +407 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +24 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +93 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +100 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +13 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +22 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +54 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +21 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +59 -113
- 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 +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +143 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +86 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +19 -487
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +183 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +22 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +36 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +50 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +34 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +54 -26
- 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 +344 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +2 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +20 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +14 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +20 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +30 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +15 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +17 -33
- 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 +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +24 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +40 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +52 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +95 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +41 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +2 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +96 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +97 -98
- 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 +192 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +36 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +343 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +294 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +96 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +159 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +265 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +22 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +20 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +480 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +165 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +37 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +46 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +38 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +32 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +6 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +104 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +21 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +33 -41
- 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 +55 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +40 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +17 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +61 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +12 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +94 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +128 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +39 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +42 -191
- 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 +63 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +72 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +44 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +153 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +28 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +26 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +78 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +39 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +58 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +29 -160
- 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 +113 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +21 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +44 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +57 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +20 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +37 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +59 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +92 -108
- 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 +106 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +88 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +5 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +62 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +43 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +23 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +185 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +98 -179
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +81 -107
- 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 +289 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +43 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +86 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +218 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +149 -225
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +50 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +50 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +106 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +26 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +123 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +14 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +72 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +76 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +44 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +20 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +40 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +62 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +18 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +18 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +46 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +27 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +75 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +32 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +30 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +20 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +15 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +18 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +170 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +129 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +156 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +10 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +18 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +61 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +60 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +57 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +6 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +57 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +61 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +7 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +54 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +255 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +25 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +71 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +97 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +37 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +32 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +4 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +125 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +92 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +36 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +32 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +15 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +5 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +63 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +18 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +14 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +13 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +65 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +21 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +32 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +117 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +18 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +16 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +69 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +16 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +33 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +54 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +33 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +83 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +23 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +74 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +68 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +38 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +28 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +19 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +38 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +9 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +66 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +45 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +22 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +13 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +22 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +45 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +53 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +33 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +92 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +16 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +75 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +21 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +40 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +34 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +18 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +50 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +59 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +53 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +39 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +17 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +81 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +19 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +15 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +6 -6
- 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/index60.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +2 -2
- 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 +7 -7
- 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 +17 -17
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index10.js +31 -31
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index12.js +46 -44
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index2.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index7.js +7 -7
- package/package.json +1 -1
|
@@ -1,79 +1,49 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}, children: /* @__PURE__ */ m(u, { ...r }) }), d = () => {
|
|
12
|
-
const r = a.useContext(l), e = a.useContext(c), {
|
|
13
|
-
getFieldState: t
|
|
14
|
-
} = F(), o = I({
|
|
15
|
-
name: r.name
|
|
16
|
-
}), s = t(r.name, o);
|
|
17
|
-
if (!r)
|
|
18
|
-
throw new Error("useFormField should be used within <FormField>");
|
|
1
|
+
import { jsxs as a, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFormContext as m, Controller as w } from "react-hook-form";
|
|
3
|
+
import { Typography as n } from "./index87.js";
|
|
4
|
+
import { useLingui as u } from "@lingui/react";
|
|
5
|
+
import { Switch as i } from "./index403.js";
|
|
6
|
+
import { twMerge as h } from "tailwind-merge";
|
|
7
|
+
const x = ({
|
|
8
|
+
control: l,
|
|
9
|
+
isDialog: r
|
|
10
|
+
}) => {
|
|
19
11
|
const {
|
|
20
|
-
|
|
21
|
-
} =
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
})
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
})
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
formItemId: t,
|
|
56
|
-
formDescriptionId: o,
|
|
57
|
-
formMessageId: s
|
|
58
|
-
} = d();
|
|
59
|
-
return /* @__PURE__ */ m(g, { "data-slot": "form-control", id: t, "aria-describedby": e ? `${o} ${s}` : `${o}`, "aria-invalid": !!e, ...r });
|
|
60
|
-
}
|
|
61
|
-
function P({
|
|
62
|
-
className: r,
|
|
63
|
-
...e
|
|
64
|
-
}) {
|
|
65
|
-
const {
|
|
66
|
-
error: t,
|
|
67
|
-
formMessageId: o
|
|
68
|
-
} = d(), s = t ? String(t?.message ?? "") : e.children;
|
|
69
|
-
return s ? /* @__PURE__ */ m("p", { "data-slot": "form-message", id: o, className: i("ttw:text-destructive ttw:text-sm", r), ...e, children: s }) : null;
|
|
70
|
-
}
|
|
12
|
+
i18n: e
|
|
13
|
+
} = u(), {
|
|
14
|
+
watch: c,
|
|
15
|
+
setValue: d
|
|
16
|
+
} = m(), s = c("invoice_bank_display");
|
|
17
|
+
return /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
18
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-5 ttw:pb-2.5", children: [
|
|
19
|
+
/* @__PURE__ */ t(n, { variant: "h3", children: e._("PDF settings") }),
|
|
20
|
+
/* @__PURE__ */ t(n, { variant: "body2", color: "muted", children: e._("Invoices are generated as PDFs") })
|
|
21
|
+
] }),
|
|
22
|
+
/* @__PURE__ */ a("div", { className: h("ttw:flex ttw:flex-col ttw:gap-2.5 ttw:p-4 ttw:rounded-lg", r ? "ttw:bg-zinc-100" : "ttw:bg-white"), children: [
|
|
23
|
+
/* @__PURE__ */ a("section", { className: "ttw:flex ttw:justify-between ttw:gap-4", children: [
|
|
24
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
25
|
+
/* @__PURE__ */ t(n, { variant: "body1", className: "ttw:font-medium", children: e._("Display your bank account details on the PDF") }),
|
|
26
|
+
/* @__PURE__ */ t(n, { variant: "body2", color: "muted", children: e._("Shows your bank account number, routing number, and account holder name so that customers can pay using an ACH bank transfer. Should only be used with accounts that have a debit block.") })
|
|
27
|
+
] }),
|
|
28
|
+
/* @__PURE__ */ t(i, { checked: s, onCheckedChange: (o) => {
|
|
29
|
+
d("invoice_bank_display", o, {
|
|
30
|
+
shouldDirty: !0
|
|
31
|
+
});
|
|
32
|
+
}, "aria-label": e._("Display bank display options") })
|
|
33
|
+
] }),
|
|
34
|
+
/* @__PURE__ */ a("section", { className: "ttw:flex ttw:justify-between ttw:gap-4", children: [
|
|
35
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
36
|
+
/* @__PURE__ */ t(n, { variant: "body1", className: "ttw:font-medium", children: e._("Update PDF files for paid invoices") }),
|
|
37
|
+
/* @__PURE__ */ t(n, { variant: "body2", color: "muted", children: e._("PDF invoice files will be regenerated to reflect payments made and any remaining amount due. Once a PDF has been updated, you won't be able to revert it.") }),
|
|
38
|
+
/* @__PURE__ */ t(n, { variant: "body2", color: "muted", className: "ttw:font-medium", children: e._("Once updated, you won't be able to revert the PDFs.") })
|
|
39
|
+
] }),
|
|
40
|
+
/* @__PURE__ */ t(w, { name: "update_paid_invoices", control: l, render: ({
|
|
41
|
+
field: o
|
|
42
|
+
}) => /* @__PURE__ */ t(i, { checked: o.value, onCheckedChange: o.onChange, "aria-label": e._("Enable update paid invoices pdf") }) })
|
|
43
|
+
] })
|
|
44
|
+
] })
|
|
45
|
+
] });
|
|
46
|
+
};
|
|
71
47
|
export {
|
|
72
|
-
|
|
73
|
-
S as FormControl,
|
|
74
|
-
C as FormField,
|
|
75
|
-
N as FormItem,
|
|
76
|
-
M as FormLabel,
|
|
77
|
-
P as FormMessage,
|
|
78
|
-
d as useFormField
|
|
48
|
+
x as PDFSettings
|
|
79
49
|
};
|
|
@@ -1,46 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { toast as n } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as o } from "./index59.js";
|
|
3
|
+
import { useLingui as a } from "@lingui/react";
|
|
4
|
+
const c = (e) => {
|
|
5
|
+
const {
|
|
6
|
+
api: t,
|
|
7
|
+
queryClient: i
|
|
8
|
+
} = o(), {
|
|
9
|
+
i18n: s
|
|
10
|
+
} = a();
|
|
11
|
+
return t.finops.patchEntitiesIdSettings.useMutation(void 0, {
|
|
12
|
+
onSuccess: () => {
|
|
13
|
+
n.success(s._("Settings updated successfully.")), t.finops.getEntitiesIdSettings.invalidateQueries({
|
|
14
|
+
parameters: {
|
|
15
|
+
path: {
|
|
16
|
+
entity_id: e
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}, i), t.finops.getDocumentsIdNextNumbers.invalidateQueries({
|
|
20
|
+
parameters: {
|
|
21
|
+
path: {
|
|
22
|
+
entity_id: e
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}, i);
|
|
19
26
|
}
|
|
20
|
-
}
|
|
21
|
-
const u = () => {
|
|
22
|
-
if (r) {
|
|
23
|
-
const t = /* @__PURE__ */ new Set([...e, r]);
|
|
24
|
-
a(Array.from(t)), n("");
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
return /* @__PURE__ */ l("div", { className: p(
|
|
28
|
-
// caveat: :has() variant requires tailwind v3.4 or above: https://tailwindcss.com/blog/tailwindcss-v3-4#new-has-variant
|
|
29
|
-
"ttw:has-[:focus-visible]:ttw:outline-none ttw:has-[:focus-visible]:ttw:ring-2 ttw:has-[:focus-visible]:ttw:ring-neutral-950 ttw:has-[:focus-visible]:ttw:ring-offset-2 dark:ttw:has-[:focus-visible]:ttw:ring-neutral-300 ttw:min-h-10 ttw:flex ttw:w-full ttw:flex-wrap ttw:gap-2 ttw:rounded-md ttw:border ttw:border-neutral-200 ttw:bg-white ttw:px-3 ttw:py-2 ttw:text-sm ttw:ring-offset-white ttw:disabled:ttw:cursor-not-allowed ttw:disabled:ttw:opacity-50 dark:ttw:border-neutral-800 dark:ttw:bg-neutral-950 dark:ttw:ring-offset-neutral-950",
|
|
30
|
-
i
|
|
31
|
-
), children: [
|
|
32
|
-
e.map((t) => /* @__PURE__ */ l(d, { variant: "secondary", children: [
|
|
33
|
-
t,
|
|
34
|
-
/* @__PURE__ */ o(m, { variant: "ghost", size: "icon", className: "ttw:ml-2 ttw:h-3 ttw:w-3", onClick: () => {
|
|
35
|
-
a(e.filter((s) => s !== t));
|
|
36
|
-
}, children: /* @__PURE__ */ o(h, { className: "ttw:w-3" }) })
|
|
37
|
-
] }, t)),
|
|
38
|
-
/* @__PURE__ */ o("input", { className: "ttw:flex-1 ttw:outline-none ttw:placeholder:ttw:text-neutral-500 dark:ttw:placeholder:ttw:text-neutral-400", value: r, onChange: (t) => n(t.target.value), onKeyDown: (t) => {
|
|
39
|
-
t.key === "Enter" || t.key === "," ? (t.preventDefault(), u()) : t.key === "Backspace" && r.length === 0 && e.length > 0 && (t.preventDefault(), a(e.slice(0, -1)));
|
|
40
|
-
}, ...f, ref: c })
|
|
41
|
-
] });
|
|
27
|
+
});
|
|
42
28
|
};
|
|
43
|
-
g.displayName = "InputTags";
|
|
44
29
|
export {
|
|
45
|
-
|
|
30
|
+
c as usePatchEntitySettings
|
|
46
31
|
};
|
|
@@ -1,24 +1,79 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { jsxs as n, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFormContext as $, Controller as c } from "react-hook-form";
|
|
3
|
+
import { useLingui as F } from "@lingui/react";
|
|
4
|
+
import { Typography as d } from "./index87.js";
|
|
5
|
+
import { Field as m, FieldContent as s, FieldLabel as w, FieldError as u } from "./index155.js";
|
|
6
|
+
import { Input as g } from "./index124.js";
|
|
7
|
+
import { Checkbox as S } from "./index386.js";
|
|
8
|
+
const E = ({
|
|
9
|
+
control: o
|
|
6
10
|
}) => {
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
const {
|
|
12
|
+
i18n: i
|
|
13
|
+
} = F(), {
|
|
14
|
+
setValue: v,
|
|
15
|
+
watch: a
|
|
16
|
+
} = $(), p = a("min_digits"), f = a("prefix"), h = a("separator"), b = a("include_date"), x = a("invoice"), N = a("invoice_number");
|
|
17
|
+
function y() {
|
|
18
|
+
return `${x}${h}${f ? `${f}${h}` : ""}${b ? `${(/* @__PURE__ */ new Date()).getFullYear()}${h}` : ""}${N.toString().padStart(p, "0")}`;
|
|
19
|
+
}
|
|
20
|
+
const _ = y();
|
|
21
|
+
return /* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
22
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-5 ttw:pb-2.5", children: [
|
|
23
|
+
/* @__PURE__ */ e(d, { variant: "h3", children: i._("Invoice numbering") }),
|
|
24
|
+
/* @__PURE__ */ e(d, { variant: "body2", color: "muted", children: i._("Specify how you want your invoices to be numbered. Changes apply to new invoices only. Existing invoice numbers won't be updated.") })
|
|
25
|
+
] }),
|
|
26
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:w-94 ttw:gap-0.5 ttw:p-4 ttw:bg-neutral-200 ttw:rounded-xl", children: [
|
|
27
|
+
/* @__PURE__ */ e(d, { variant: "body2", color: "muted", children: i._("Preview") }),
|
|
28
|
+
/* @__PURE__ */ e(d, { variant: "h4", className: "ttw:font-medium", children: _ })
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:w-min ttw:gap-2 ttw:p-2", children: [
|
|
31
|
+
/* @__PURE__ */ e(c, { name: "invoice", control: o, render: ({
|
|
32
|
+
field: t,
|
|
33
|
+
fieldState: {
|
|
34
|
+
error: r
|
|
35
|
+
}
|
|
36
|
+
}) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ n(s, { className: "ttw:grow-0", children: [
|
|
37
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, children: i._("Invoice prefix") }),
|
|
38
|
+
/* @__PURE__ */ e(g, { ...t, id: t.name, maxLength: 25, "aria-invalid": !!r || void 0, className: "ttw:w-29 ttw:min-w-29 ttw:bg-white" }),
|
|
39
|
+
/* @__PURE__ */ e(u, { errors: [r] })
|
|
40
|
+
] }) }) }),
|
|
41
|
+
/* @__PURE__ */ e(c, { name: "invoice_number", control: o, render: ({
|
|
42
|
+
field: t,
|
|
43
|
+
fieldState: {
|
|
44
|
+
error: r
|
|
45
|
+
}
|
|
46
|
+
}) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ n(s, { className: "ttw:grow-0", children: [
|
|
47
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, children: i._("Starting number") }),
|
|
48
|
+
/* @__PURE__ */ e(g, { ...t, id: t.name, type: "number", "aria-invalid": !!r || void 0, onChange: (l) => {
|
|
49
|
+
const C = l.target.value.replace(/^0+(?=\d)/, "");
|
|
50
|
+
t.onChange(Number(C));
|
|
51
|
+
}, value: t.value.toString().padStart(p, "0"), className: "ttw:w-29 ttw:min-w-29 ttw:bg-white" }),
|
|
52
|
+
/* @__PURE__ */ e(u, { errors: [r] })
|
|
53
|
+
] }) }) }),
|
|
54
|
+
/* @__PURE__ */ e(c, { name: "min_digits", control: o, render: ({
|
|
55
|
+
field: t,
|
|
56
|
+
fieldState: {
|
|
57
|
+
error: r
|
|
58
|
+
}
|
|
59
|
+
}) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ n(s, { className: "ttw:grow-0", children: [
|
|
60
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, children: i._("Digit count") }),
|
|
61
|
+
/* @__PURE__ */ e(g, { ...t, id: t.name, type: "number", className: "ttw:bg-white ttw:w-29 ttw:max-w-29", onChange: (l) => {
|
|
62
|
+
+l.target.value > 20 ? v("min_digits", 20, {
|
|
63
|
+
shouldDirty: !0
|
|
64
|
+
}) : t.onChange(l);
|
|
65
|
+
}, "aria-invalid": !!r || void 0 }),
|
|
66
|
+
/* @__PURE__ */ e(u, { errors: [r] })
|
|
67
|
+
] }) }) })
|
|
68
|
+
] }),
|
|
69
|
+
/* @__PURE__ */ e("div", { className: "ttw:bg-transparent ttw:w-full ttw:p-2", children: /* @__PURE__ */ e(c, { name: "include_date", control: o, render: ({
|
|
70
|
+
field: t
|
|
71
|
+
}) => /* @__PURE__ */ e(m, { orientation: "horizontal", children: /* @__PURE__ */ n(s, { className: "ttw:flex-row ttw:items-center", children: [
|
|
72
|
+
/* @__PURE__ */ e(S, { id: t.name, ref: t.ref, checked: t.value ?? !1, onCheckedChange: t.onChange, onBlur: t.onBlur, className: "ttw:bg-white" }),
|
|
73
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, className: "ttw:font-normal", children: i._("Include the current year in the invoice number prefix") })
|
|
74
|
+
] }) }) }) })
|
|
75
|
+
] });
|
|
21
76
|
};
|
|
22
77
|
export {
|
|
23
|
-
|
|
78
|
+
E as InvoiceNumbering
|
|
24
79
|
};
|
|
@@ -1,20 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
})
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
import { z as e } from "zod";
|
|
2
|
+
const i = (n, t) => e.object({
|
|
3
|
+
min_digits: e.coerce.number().int().min(1, n._("Can't be less than 1")).max(20, n._("Can't be greater than 20")),
|
|
4
|
+
credit_note: e.string().min(1),
|
|
5
|
+
credit_note_number: e.coerce.number().int().min(t.credit_note, n._("Can't be less than {nextNumbersCredit_note}", {
|
|
6
|
+
nextNumbersCredit_note: t.credit_note
|
|
7
|
+
})),
|
|
8
|
+
delivery_note: e.string().min(1),
|
|
9
|
+
delivery_note_number: e.coerce.number().int().min(t.delivery_note, n._("Can't be less than {nextNumbersDelivery_note}", {
|
|
10
|
+
nextNumbersDelivery_note: t.delivery_note
|
|
11
|
+
})),
|
|
12
|
+
quote: e.string().min(1),
|
|
13
|
+
quote_number: e.coerce.number().int().min(t.quote, n._("Can't be less than {nextNumbersQuote}", {
|
|
14
|
+
nextNumbersQuote: t.quote
|
|
15
|
+
})),
|
|
16
|
+
invoice: e.string().min(1, n._("Invoice prefix is required")).max(25, n._("Invoice prefix should have at most 25 characters")),
|
|
17
|
+
invoice_number: e.coerce.number().int().min(t.invoice, n._("Can't be less than {nextNumbersInvoice}", {
|
|
18
|
+
nextNumbersInvoice: t.invoice
|
|
19
|
+
})),
|
|
20
|
+
purchase_order: e.string().min(1),
|
|
21
|
+
purchase_order_number: e.coerce.number().int().min(t.purchase_order, n._("Can't be less than {nextNumbersPurchase_order}", {
|
|
22
|
+
nextNumbersPurchase_order: t.purchase_order
|
|
23
|
+
})),
|
|
24
|
+
include_date: e.boolean(),
|
|
25
|
+
prefix: e.string().max(25, n._("Prefix should have at most 25 characters")),
|
|
26
|
+
separator: e.enum(["/", "-", "|", ".", ""]),
|
|
27
|
+
invoice_bank_display: e.boolean(),
|
|
28
|
+
update_paid_invoices: e.boolean(),
|
|
29
|
+
quote_signature_display: e.boolean(),
|
|
30
|
+
quote_electronic_signature: e.union([e.boolean(), e.string()])
|
|
31
|
+
});
|
|
18
32
|
export {
|
|
19
|
-
|
|
33
|
+
i as getInvoiceSettingsFormSchema
|
|
20
34
|
};
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} }) });
|
|
1
|
+
const a = (n) => !!n && typeof n == "object" && "display_organization_bank_account" in n, t = (n, i) => a(n) ? !!(n.display_organization_bank_account ?? i) : i, _ = (n, i) => {
|
|
2
|
+
const o = a(n?.invoice);
|
|
3
|
+
return {
|
|
4
|
+
...n,
|
|
5
|
+
display_organization_bank_account: i.invoice_bank_display,
|
|
6
|
+
quote: {
|
|
7
|
+
...n?.quote,
|
|
8
|
+
display_signature: i.quote_signature_display
|
|
9
|
+
},
|
|
10
|
+
...o ? {
|
|
11
|
+
invoice: {
|
|
12
|
+
...n?.invoice,
|
|
13
|
+
display_organization_bank_account: i.invoice_bank_display
|
|
14
|
+
}
|
|
15
|
+
} : {}
|
|
16
|
+
};
|
|
18
17
|
};
|
|
19
18
|
export {
|
|
20
|
-
|
|
19
|
+
_ as buildDocumentRendering,
|
|
20
|
+
t as getBankDisplayValue,
|
|
21
|
+
a as hasBankDisplay
|
|
21
22
|
};
|
|
@@ -1,173 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { useLingui as k } from "@lingui/react";
|
|
6
|
-
import { useState as U, useEffect as V } from "react";
|
|
7
|
-
import "react-hot-toast";
|
|
8
|
-
import "./index94.js";
|
|
9
|
-
import "@emotion/react/jsx-runtime";
|
|
10
|
-
import "react-dom";
|
|
11
|
-
import "@mui/x-data-grid";
|
|
12
|
-
import { useComponentSettings as w } from "./index69.js";
|
|
13
|
-
import "@tanstack/react-query";
|
|
14
|
-
import "date-fns";
|
|
15
|
-
import { useMyEntity as G } from "./index80.js";
|
|
16
|
-
import x from "react-script-hook";
|
|
17
|
-
const W = "https://cdn.sandbox.kanmon.dev/scripts/v2/kanmon-connect.js", L = "https://cdn.kanmon.dev/scripts/v2/kanmon-connect.js", s = {
|
|
18
|
-
INIT: "init",
|
|
19
|
-
IN_PROGRESS: "in_progress",
|
|
20
|
-
PENDING_APPROVAL: "pending_approval",
|
|
21
|
-
NO_OFFERS_AVAILABLE: "no_offers",
|
|
22
|
-
SERVICING: "servicing",
|
|
23
|
-
APPROVED: "approved",
|
|
24
|
-
OFFER_ACCEPTED: "offer_accepted",
|
|
25
|
-
OFFERS_EXPIRED: "offers_expired"
|
|
26
|
-
}, ae = () => {
|
|
1
|
+
import { useMoniteContext as s } from "./index59.js";
|
|
2
|
+
import { useLingui as n } from "@lingui/react";
|
|
3
|
+
import { toast as r } from "react-hot-toast";
|
|
4
|
+
const c = (i) => {
|
|
27
5
|
const {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} =
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
buttonText: R
|
|
37
|
-
} = b(), {
|
|
38
|
-
onboardingCallbacks: y
|
|
39
|
-
} = w(), {
|
|
40
|
-
i18n: o
|
|
41
|
-
} = k(), l = P(), {
|
|
42
|
-
data: t
|
|
43
|
-
} = T(), {
|
|
44
|
-
isUSEntity: u
|
|
45
|
-
} = G(), I = (() => {
|
|
46
|
-
switch (t?.business_status) {
|
|
47
|
-
case "NEW":
|
|
48
|
-
default:
|
|
49
|
-
return s.INIT;
|
|
50
|
-
case "INPUT_REQUIRED":
|
|
51
|
-
return s.IN_PROGRESS;
|
|
52
|
-
case "ONBOARDED":
|
|
53
|
-
return t?.offers?.length === 0 ? s.PENDING_APPROVAL : t?.offers?.[0]?.status === "NEW" ? s.APPROVED : t?.offers?.[0]?.status === "EXPIRED" ? s.OFFERS_EXPIRED : t?.offers?.[0]?.status === "ACCEPTED" ? s.OFFER_ACCEPTED : s.SERVICING;
|
|
6
|
+
i18n: e
|
|
7
|
+
} = n(), {
|
|
8
|
+
api: a,
|
|
9
|
+
queryClient: o
|
|
10
|
+
} = s();
|
|
11
|
+
return a.finops.patchProductsId.useMutation({
|
|
12
|
+
path: {
|
|
13
|
+
product_id: i
|
|
54
14
|
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
})() ? L : W, [p] = x({
|
|
63
|
-
src: F
|
|
64
|
-
}), [N, m] = U(!1), g = (e) => {
|
|
65
|
-
const n = {
|
|
66
|
-
type: "receivable",
|
|
67
|
-
status: "NEW",
|
|
68
|
-
invoice_id: e?.platformInvoiceId,
|
|
69
|
-
document_id: e?.platformInvoiceNumber,
|
|
70
|
-
due_date: e?.invoiceDueDate,
|
|
71
|
-
issue_date: e?.invoiceIssuedDate,
|
|
72
|
-
total_amount: e?.invoiceAmountCents,
|
|
73
|
-
currency: "USD",
|
|
74
|
-
payer_type: e?.payorType,
|
|
75
|
-
payer_business_name: e?.payorBusinessName,
|
|
76
|
-
payer_first_name: e?.payorFirstName,
|
|
77
|
-
payer_last_name: e?.payorLastName,
|
|
78
|
-
requested_amount: e?.amountRequestedForFinancingCents,
|
|
79
|
-
principal_amount: e?.principalAmountCents,
|
|
80
|
-
repayment_amount: e?.repaymentAmountCents,
|
|
81
|
-
advance_amount: e?.invoiceAdvanceAmountCents,
|
|
82
|
-
advance_rate_percentage: e?.advanceRatePercentage * 100,
|
|
83
|
-
fee_amount: e?.feeAmountCents,
|
|
84
|
-
fee_percentage: e?.transactionFeePercentage * 100,
|
|
85
|
-
repayment_schedule: {
|
|
86
|
-
repayment_date: e?.repaymentSchedule?.schedule?.[0]?.repaymentDate,
|
|
87
|
-
repayment_amount: e?.repaymentSchedule?.schedule?.[0]?.repaymentAmountCents,
|
|
88
|
-
repayment_fee_amount: e?.repaymentSchedule?.schedule?.[0]?.repaymentFeeAmountCents,
|
|
89
|
-
repayment_principal_amount: e?.repaymentSchedule?.schedule?.[0]?.repaymentPrincipalAmountCents
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
i.finops.getFinancingInvoices.setQueryData(i.finops.getFinancingInvoices.getQueryKey({
|
|
93
|
-
query: {
|
|
94
|
-
type: "receivable",
|
|
95
|
-
invoice_id: e?.platformInvoiceId
|
|
96
|
-
}
|
|
97
|
-
}), (r) => ({
|
|
98
|
-
...r,
|
|
99
|
-
data: [n]
|
|
100
|
-
}), c), i.finops.getFinancingInvoices.setQueryData(i.finops.getFinancingInvoices.getQueryKey({
|
|
101
|
-
query: {}
|
|
102
|
-
}), (r) => {
|
|
103
|
-
const S = r?.data ? r.data : [];
|
|
104
|
-
return {
|
|
105
|
-
...r,
|
|
106
|
-
data: [n, ...S]
|
|
107
|
-
};
|
|
108
|
-
}, c);
|
|
109
|
-
}, C = ({
|
|
110
|
-
connectToken: e
|
|
111
|
-
}) => {
|
|
112
|
-
window?.KANMON_CONNECT?.start({
|
|
113
|
-
connectToken: e,
|
|
114
|
-
onEvent: (n) => {
|
|
115
|
-
if (!(n.eventType !== "USER_STATE_CHANGED" && n.eventType !== "USER_CONFIRMED_INVOICE"))
|
|
116
|
-
if (n.eventType === "USER_CONFIRMED_INVOICE")
|
|
117
|
-
g(n.data.invoice);
|
|
118
|
-
else {
|
|
119
|
-
switch (n.data.userState) {
|
|
120
|
-
case "START_FLOW":
|
|
121
|
-
a(o._("Apply for financing"));
|
|
122
|
-
break;
|
|
123
|
-
case "USER_INPUT_REQUIRED":
|
|
124
|
-
n.data.section === "OFFER" ? a(o._("Review terms and sign")) : a(o._("Resume application"));
|
|
125
|
-
break;
|
|
126
|
-
case "WAITING_FOR_OFFERS":
|
|
127
|
-
a(""), (t?.business_status === "INPUT_REQUIRED" || t?.business_status === "NEW") && y.onWorkingCapitalOnboardingComplete?.(E);
|
|
128
|
-
break;
|
|
129
|
-
case "OFFERS_EXPIRED":
|
|
130
|
-
case "NO_OFFERS_EXTENDED":
|
|
131
|
-
a("");
|
|
132
|
-
break;
|
|
133
|
-
case "SERVICING":
|
|
134
|
-
a(o._("Financing menu")), t?.business_status === "ONBOARDED" && t?.offers?.[0]?.status === "NEW" && window.localStorage.setItem("isFinanceTabNew", "true");
|
|
135
|
-
break;
|
|
136
|
-
case "VIEW_OFFERS":
|
|
137
|
-
case "OFFER_ACCEPTED":
|
|
138
|
-
a(o._("Review terms and sign"));
|
|
139
|
-
break;
|
|
140
|
-
}
|
|
141
|
-
i.finops.getFinancingOffers.invalidateQueries(c);
|
|
15
|
+
}, {
|
|
16
|
+
onSuccess: async (t) => {
|
|
17
|
+
await a.finops.getProducts.invalidateQueries(o), await a.finops.getProductsId.invalidateQueries({
|
|
18
|
+
parameters: {
|
|
19
|
+
path: {
|
|
20
|
+
product_id: t.id
|
|
142
21
|
}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
} catch {
|
|
155
|
-
} finally {
|
|
156
|
-
m(!1);
|
|
157
|
-
}
|
|
158
|
-
})();
|
|
159
|
-
}, [p, u]);
|
|
160
|
-
const O = p || N, v = u, A = t?.business_status === "ONBOARDED" && t?.offers?.[0]?.status === "CURRENT", D = t?.offers?.[0];
|
|
161
|
-
return {
|
|
162
|
-
buttonText: R,
|
|
163
|
-
applicationState: I,
|
|
164
|
-
offer: D,
|
|
165
|
-
isLoading: O,
|
|
166
|
-
isEnabled: v,
|
|
167
|
-
isServicing: A
|
|
168
|
-
};
|
|
22
|
+
}
|
|
23
|
+
}, o), r.success(t.type === "product" ? e._("Product {name} was updated.", {
|
|
24
|
+
name: t.name
|
|
25
|
+
}) : e._("Service {name} was updated.", {
|
|
26
|
+
name: t.name
|
|
27
|
+
}));
|
|
28
|
+
},
|
|
29
|
+
onError: () => {
|
|
30
|
+
r.error(e._("Failed to update"));
|
|
31
|
+
}
|
|
32
|
+
});
|
|
169
33
|
};
|
|
170
34
|
export {
|
|
171
|
-
|
|
172
|
-
ae as useFinancing
|
|
35
|
+
c as useUpdateProduct
|
|
173
36
|
};
|