@tesouro/embedded-components-react 0.2.126 → 0.2.129
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/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/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/index117.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +34 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +4 -35
- 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 +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1269 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +32 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +60 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +398 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +69 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +406 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +92 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +98 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +74 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +13 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +13 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +24 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +10 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +18 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +78 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +39 -15
- 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 +21 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +5 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +11 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +22 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +19 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +27 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +110 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +67 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +31 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +15 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +14 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +12 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +57 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +30 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +12 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +12 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +11 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +119 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +217 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +10 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +11 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +47 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +48 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +11 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +39 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +11 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +150 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +55 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +70 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +29 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +61 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +96 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +9 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +46 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +75 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +55 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +14 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +21 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +74 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +28 -204
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +38 -423
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +7 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +115 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +68 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +189 -19
- 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 +30 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +111 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +135 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +18 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +23 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +24 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +183 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +12 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +49 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +4 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +5 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +87 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +35 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +46 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +49 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +202 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +435 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +23 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +101 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +26 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +5 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +11 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +214 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +12 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +35 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +38 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +28 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +5 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +71 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +32 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +20 -5
- 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 +125 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +85 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +24 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +30 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +17 -248
- 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 +247 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +19 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +22 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +35 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +55 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +51 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +29 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +95 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +43 -143
- 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 +132 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +106 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +20 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +18 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +17 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +168 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +131 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +161 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +18 -490
- 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 +59 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +68 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +58 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +6 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +6 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +58 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +22 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +59 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +14 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +21 -2
- 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 +39 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +13 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +74 -207
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +76 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +40 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +71 -301
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +22 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +51 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +26 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +58 -23
- 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 +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +488 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +164 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +39 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +346 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +303 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +99 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +156 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +266 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +23 -158
- 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 +20 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +2 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +94 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +95 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +202 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +67 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +62 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +159 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +28 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +27 -18
- 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 +78 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +23 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +43 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +17 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +28 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +35 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +61 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +95 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +107 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +84 -64
- 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 +62 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +43 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +132 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +110 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +81 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +285 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +46 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +15 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +82 -61
- 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 +224 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +35 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +11 -141
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +9 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +9 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +10 -283
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +6 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +2 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +149 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +10 -225
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +19 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +42 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +59 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +30 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +113 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +21 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +44 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +57 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +96 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +16 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +84 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +17 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +50 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +9 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +47 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +28 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +25 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +126 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +255 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +45 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +30 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +32 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +7 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +33 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +23 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +43 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +19 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +73 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +93 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +25 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +9 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +10 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +11 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +21 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +48 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +11 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +32 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +66 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +46 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +27 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +21 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +96 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +35 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +23 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +7 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +48 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +127 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +33 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +8 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +34 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +74 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +67 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +37 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +2 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +66 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +64 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +32 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +85 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +23 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +105 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +112 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +24 -70
- 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 +24 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +38 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +123 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +18 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +16 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +16 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +16 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +33 -17
- 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 +73 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +16 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +16 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +11 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +17 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +15 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +19 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +10 -24
- 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 +21 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +9 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +17 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +29 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +64 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +51 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +40 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +93 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +16 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +75 -47
- 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 +21 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +9 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +57 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +68 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +21 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +32 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +43 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +36 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +16 -9
- 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 +18 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +48 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +57 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +29 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +53 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +72 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +83 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +55 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +51 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +53 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +29 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +38 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +46 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +50 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +81 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +39 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +65 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +49 -53
- 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 +48 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +40 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +20 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +48 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +10 -0
- 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 +1 -1
- 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/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +1 -1
- 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 +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +25 -25
- package/package.json +6 -3
|
@@ -1,16 +1,103 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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 "./index234.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 "./index135.js";
|
|
7
|
+
import { usePatchEntitySettings as w } from "./index235.js";
|
|
8
|
+
import { safeZodResolver as F } from "./index236.js";
|
|
9
|
+
import { useEffect as P } from "react";
|
|
10
|
+
import { InvoiceNumbering as C } from "./index237.js";
|
|
11
|
+
import { getInvoiceSettingsFormSchema as I } from "./index238.js";
|
|
12
|
+
import { getBankDisplayValue as d, buildDocumentRendering as V } from "./index239.js";
|
|
13
|
+
const Z = ({
|
|
14
|
+
entityId: _,
|
|
15
|
+
entitySettings: e,
|
|
16
|
+
nextNumbers: i,
|
|
17
|
+
isDialog: c
|
|
18
|
+
}) => {
|
|
3
19
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
|
9
49
|
}
|
|
10
|
-
}, {
|
|
11
|
-
|
|
12
|
-
|
|
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") })
|
|
99
|
+
] }) });
|
|
13
100
|
};
|
|
14
101
|
export {
|
|
15
|
-
|
|
102
|
+
Z as TemplateSettingsContent
|
|
16
103
|
};
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsxs as t, jsx as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { ConfirmationModal as s } from "./index214.js";
|
|
3
|
+
import { Typography as i } from "./index85.js";
|
|
4
|
+
import { useLingui as l } from "@lingui/react";
|
|
5
|
+
const d = ({
|
|
6
|
+
open: a,
|
|
7
|
+
onClose: e,
|
|
8
|
+
onContinue: r
|
|
9
|
+
}) => {
|
|
3
10
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
return o.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
});
|
|
11
|
+
i18n: o
|
|
12
|
+
} = l();
|
|
13
|
+
return /* @__PURE__ */ t(s, { open: a, title: o._("You have unsaved changes"), confirmLabel: o._("Quit without saving"), cancelLabel: o._("Cancel"), onClose: e, onConfirm: r, children: [
|
|
14
|
+
/* @__PURE__ */ n(i, { variant: "body1", children: o._("Any unsaved changes will be lost.") }),
|
|
15
|
+
/* @__PURE__ */ n(i, { variant: "body1", children: o._("Are you sure you want to quit without saving?") })
|
|
16
|
+
] });
|
|
11
17
|
};
|
|
12
18
|
export {
|
|
13
|
-
|
|
19
|
+
d as DiscardChangesModal
|
|
14
20
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as o, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { isPayableInOCRProcessing as S } from "./
|
|
3
|
-
import { SummaryCardsFilters as J } from "./
|
|
4
|
-
import { PayablesFilterBar as X } from "./
|
|
5
|
-
import { usePayablesFilter as Z } from "./
|
|
6
|
-
import { PayableStatusChip as tt } from "./
|
|
2
|
+
import { isPayableInOCRProcessing as S } from "./index311.js";
|
|
3
|
+
import { SummaryCardsFilters as J } from "./index312.js";
|
|
4
|
+
import { PayablesFilterBar as X } from "./index313.js";
|
|
5
|
+
import { usePayablesFilter as Z } from "./index314.js";
|
|
6
|
+
import { PayableStatusChip as tt } from "./index175.js";
|
|
7
7
|
import { useMoniteContext as et } from "./index57.js";
|
|
8
8
|
import { MoniteScopedProviders as at } from "./index83.js";
|
|
9
9
|
import { useCurrencies as ot } from "./index58.js";
|
|
10
10
|
import { usePayablePaymentIntentsAndRecords as rt } from "./index79.js";
|
|
11
|
-
import { useUserPermissions as st } from "./
|
|
11
|
+
import { useUserPermissions as st } from "./index136.js";
|
|
12
12
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
13
13
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
14
14
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
@@ -17,18 +17,18 @@ import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
|
17
17
|
import { Scope as nt } from "../../shared/data-access/dist/lib/scopes.js";
|
|
18
18
|
import { useState as c, useEffect as v, useMemo as P } from "react";
|
|
19
19
|
import { dateStringToLocalDate as it } from "./index96.js";
|
|
20
|
-
import { CounterpartNameCellById as lt } from "./
|
|
21
|
-
import { GetNoRowsOverlay as ct } from "./
|
|
22
|
-
import { DueDateCell as dt } from "./
|
|
23
|
-
import { AccessRestriction as mt } from "./
|
|
20
|
+
import { CounterpartNameCellById as lt } from "./index185.js";
|
|
21
|
+
import { GetNoRowsOverlay as ct } from "./index149.js";
|
|
22
|
+
import { DueDateCell as dt } from "./index192.js";
|
|
23
|
+
import { AccessRestriction as mt } from "./index144.js";
|
|
24
24
|
import { Button as D } from "./index84.js";
|
|
25
25
|
import "clsx";
|
|
26
26
|
import "tailwind-merge";
|
|
27
27
|
import "@radix-ui/react-dialog";
|
|
28
28
|
import { ArrowUp as b, ArrowDown as N, ArrowUpDown as F, Loader2 as ut } from "lucide-react";
|
|
29
29
|
import { useLingui as pt } from "@lingui/react";
|
|
30
|
-
import { DataTable as gt } from "./
|
|
31
|
-
import { hasSelectedText as ht } from "./
|
|
30
|
+
import { DataTable as gt } from "./index148.js";
|
|
31
|
+
import { hasSelectedText as ht } from "./index151.js";
|
|
32
32
|
const Gt = (d) => /* @__PURE__ */ o(at, { children: /* @__PURE__ */ o(ft, { ...d }) }), ft = ({
|
|
33
33
|
initialCounterpartId: d,
|
|
34
34
|
onRowClick: x,
|
|
@@ -1,123 +1,78 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
line1: a?.line1,
|
|
43
|
-
line2: a?.line2 ?? "",
|
|
44
|
-
city: a?.city,
|
|
45
|
-
state: a?.state,
|
|
46
|
-
country: a?.country,
|
|
47
|
-
postalCode: a?.postal_code,
|
|
48
|
-
firstName: n,
|
|
49
|
-
lastName: u,
|
|
50
|
-
companyName: n
|
|
51
|
-
}), [t, a]), s = I({
|
|
52
|
-
resolver: B(O(o, r, g)),
|
|
53
|
-
defaultValues: $
|
|
54
|
-
}), L = D((c) => {
|
|
55
|
-
c.preventDefault(), c.stopPropagation(), s.handleSubmit(async (e) => {
|
|
56
|
-
const P = q.find((f) => f === o.locale.split("-")[0]) ?? "en", h = {
|
|
57
|
-
city: e.city,
|
|
58
|
-
country: e.country,
|
|
59
|
-
line1: e.line1,
|
|
60
|
-
line2: e.line2,
|
|
61
|
-
state: e.state,
|
|
62
|
-
postal_code: e.postalCode
|
|
63
|
-
}, U = e.city !== a?.city || e.country !== a?.country || e.line1 !== a?.line1 || (e.line2 ?? "") !== (a?.line2 ?? "") || e.state !== a?.state || e.postalCode !== a?.postal_code, w = {
|
|
64
|
-
reminders_enabled: e.remindersEnabled,
|
|
65
|
-
is_customer: t.is_customer,
|
|
66
|
-
is_vendor: t.is_vendor,
|
|
67
|
-
tax_id: e.tax_id
|
|
68
|
-
};
|
|
69
|
-
if (e.remindersEnabled !== !!t.reminders_enabled || e.tax_id !== (t.tax_id ?? "") || e.phone !== p || e.email !== l || r === "organization" && e.companyName !== n || r === "individual" && e.firstName !== n || r === "individual" && e.lastName !== u) {
|
|
70
|
-
U && await m(h);
|
|
71
|
-
const f = r === "individual" ? {
|
|
72
|
-
...w,
|
|
73
|
-
individual: {
|
|
74
|
-
first_name: e.firstName,
|
|
75
|
-
last_name: e.lastName,
|
|
76
|
-
phone: e.phone,
|
|
77
|
-
email: e.email
|
|
78
|
-
}
|
|
79
|
-
} : {
|
|
80
|
-
...w,
|
|
81
|
-
language: t.language ?? P,
|
|
82
|
-
organization: {
|
|
83
|
-
legal_name: e.companyName,
|
|
84
|
-
phone: e.phone,
|
|
85
|
-
email: e.email
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
return y({
|
|
89
|
-
path: {
|
|
90
|
-
counterpart_id: t.id
|
|
91
|
-
},
|
|
92
|
-
body: f
|
|
93
|
-
}, {
|
|
94
|
-
onSuccess: ({
|
|
95
|
-
id: F
|
|
96
|
-
}) => {
|
|
97
|
-
i && i(F);
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
} else
|
|
101
|
-
return m(h, {
|
|
102
|
-
onSuccess: () => {
|
|
103
|
-
x.success(o._("{name} has been updated.", {
|
|
104
|
-
name: N(t)
|
|
105
|
-
})), i && i(t.id);
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
})(c);
|
|
109
|
-
}, [y, m, x, N, i, r, s.handleSubmit, o, n, p, l, u]);
|
|
110
|
-
return /* @__PURE__ */ d(A, { ...s, children: /* @__PURE__ */ _("form", { id: S, onSubmit: L, className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:p-4 ttw:border ttw:border-primary ttw:rounded-[10px] ttw:bg-zinc-100", children: [
|
|
111
|
-
/* @__PURE__ */ d(T, { counterpartType: r, isLoading: b, isEditMode: !0, customerType: g }),
|
|
112
|
-
/* @__PURE__ */ _("div", { className: "ttw:flex ttw:gap-4 ttw:pt-6", children: [
|
|
113
|
-
/* @__PURE__ */ d(C, { type: "button", variant: "outline", className: "ttw:border-border ttw:flex-1", onClick: z, children: o._("Cancel") }),
|
|
114
|
-
/* @__PURE__ */ _(C, { type: "submit", className: "ttw:flex-1", disabled: v || !s.formState.isDirty && t.type === r, children: [
|
|
115
|
-
v && /* @__PURE__ */ d(G, { className: "ttw:border-white ttw:border-t-transparent ttw:size-4" }),
|
|
116
|
-
o._("Save")
|
|
1
|
+
import { jsx as a, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as s } from "./index100.js";
|
|
3
|
+
import * as o from "@radix-ui/react-dialog";
|
|
4
|
+
import { XIcon as d } from "lucide-react";
|
|
5
|
+
function h({
|
|
6
|
+
...t
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ a(o.Root, { "data-slot": "sheet", ...t });
|
|
9
|
+
}
|
|
10
|
+
function g({
|
|
11
|
+
...t
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ a(o.Close, { "data-slot": "sheet-close", ...t });
|
|
14
|
+
}
|
|
15
|
+
function c({
|
|
16
|
+
container: t,
|
|
17
|
+
...e
|
|
18
|
+
}) {
|
|
19
|
+
return /* @__PURE__ */ a(o.Portal, { "data-slot": "sheet-portal", ...e, container: t });
|
|
20
|
+
}
|
|
21
|
+
function u({
|
|
22
|
+
className: t,
|
|
23
|
+
...e
|
|
24
|
+
}) {
|
|
25
|
+
return /* @__PURE__ */ a(o.Overlay, { "data-slot": "sheet-overlay", className: s("ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:fixed ttw:inset-0 ttw:z-1300 ttw:bg-black/50", t), ...e });
|
|
26
|
+
}
|
|
27
|
+
function x({
|
|
28
|
+
className: t,
|
|
29
|
+
children: e,
|
|
30
|
+
side: n = "right",
|
|
31
|
+
container: l = typeof document < "u" ? document.body : null,
|
|
32
|
+
showCloseButton: r = !0,
|
|
33
|
+
...w
|
|
34
|
+
}) {
|
|
35
|
+
return /* @__PURE__ */ i(c, { container: l, children: [
|
|
36
|
+
/* @__PURE__ */ a(u, {}),
|
|
37
|
+
/* @__PURE__ */ i(o.Content, { "data-slot": "sheet-content", className: s("ttw:bg-background ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:fixed ttw:z-1300 ttw:flex ttw:flex-col ttw:gap-4 ttw:shadow-lg ttw:transition ttw:ease-in-out ttw:data-[state=closed]:duration-300 ttw:data-[state=open]:duration-500", n === "right" && "ttw:data-[state=closed]:slide-out-to-right ttw:data-[state=open]:slide-in-from-right ttw:inset-y-0 ttw:right-0 ttw:h-full ttw:w-3/4 ttw:sm:max-w-[600px]", n === "left" && "ttw:data-[state=closed]:slide-out-to-left ttw:data-[state=open]:slide-in-from-left ttw:inset-y-0 ttw:left-0 ttw:h-full ttw:w-3/4 ttw:sm:max-w-[600px]", n === "top" && "ttw:data-[state=closed]:slide-out-to-top ttw:data-[state=open]:slide-in-from-top ttw:inset-x-0 ttw:top-0 ttw:h-auto ttw:border-b", n === "bottom" && "ttw:data-[state=closed]:slide-out-to-bottom ttw:data-[state=open]:slide-in-from-bottom ttw:inset-x-0 ttw:bottom-0 ttw:h-auto ttw:border-t", t), ...w, children: [
|
|
38
|
+
e,
|
|
39
|
+
r && /* @__PURE__ */ i(o.Close, { className: "ttw:p-2 ttw:ring-offset-background ttw:focus:ring-ring ttw:data-[state=open]:bg-neutral ttw:absolute ttw:top-4 ttw:right-4 ttw:rounded-xs ttw:opacity-70 ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:ring-2 ttw:focus:ring-offset-2 ttw:focus:outline-hidden ttw:cursor-pointer ttw:disabled:pointer-events-none", children: [
|
|
40
|
+
/* @__PURE__ */ a(d, { className: "ttw:size-4" }),
|
|
41
|
+
/* @__PURE__ */ a("span", { className: "ttw:sr-only", children: "Close" })
|
|
117
42
|
] })
|
|
118
43
|
] })
|
|
119
|
-
] })
|
|
120
|
-
}
|
|
44
|
+
] });
|
|
45
|
+
}
|
|
46
|
+
function b({
|
|
47
|
+
className: t,
|
|
48
|
+
...e
|
|
49
|
+
}) {
|
|
50
|
+
return /* @__PURE__ */ a("div", { "data-slot": "sheet-header", className: s("ttw:flex ttw:flex-col ttw:gap-1.5 ttw:p-4", t), ...e });
|
|
51
|
+
}
|
|
52
|
+
function N({
|
|
53
|
+
className: t,
|
|
54
|
+
...e
|
|
55
|
+
}) {
|
|
56
|
+
return /* @__PURE__ */ a("div", { "data-slot": "sheet-footer", className: s("ttw:mt-auto ttw:flex ttw:flex-col ttw:gap-2 ttw:p-4", t), ...e });
|
|
57
|
+
}
|
|
58
|
+
function y({
|
|
59
|
+
className: t,
|
|
60
|
+
...e
|
|
61
|
+
}) {
|
|
62
|
+
return /* @__PURE__ */ a(o.Title, { "data-slot": "sheet-title", className: s("ttw:text-foreground ttw:font-semibold", t), ...e });
|
|
63
|
+
}
|
|
64
|
+
function S({
|
|
65
|
+
className: t,
|
|
66
|
+
...e
|
|
67
|
+
}) {
|
|
68
|
+
return /* @__PURE__ */ a(o.Description, { "data-slot": "sheet-description", className: s("ttw:text-muted-foreground ttw:text-sm", t), ...e });
|
|
69
|
+
}
|
|
121
70
|
export {
|
|
122
|
-
|
|
71
|
+
h as Sheet,
|
|
72
|
+
g as SheetClose,
|
|
73
|
+
x as SheetContent,
|
|
74
|
+
S as SheetDescription,
|
|
75
|
+
N as SheetFooter,
|
|
76
|
+
b as SheetHeader,
|
|
77
|
+
y as SheetTitle
|
|
123
78
|
};
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
|
|
1
|
+
import { useMoniteContext as i } from "./index57.js";
|
|
2
|
+
const o = (t, e = !0) => {
|
|
3
3
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
return
|
|
7
|
-
|
|
4
|
+
api: n
|
|
5
|
+
} = i();
|
|
6
|
+
return n.finops.getEntitiesIdSettings.useQuery({
|
|
7
|
+
path: {
|
|
8
|
+
entity_id: t
|
|
9
|
+
}
|
|
10
|
+
}, {
|
|
11
|
+
enabled: e && !!t
|
|
12
|
+
});
|
|
13
|
+
};
|
|
8
14
|
export {
|
|
9
|
-
o as
|
|
15
|
+
o as useGetEntitySettings
|
|
10
16
|
};
|
|
@@ -1,220 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { useCurrencies as P } from "./index58.js";
|
|
10
|
-
import { toMinorUnits as T } from "./index121.js";
|
|
11
|
-
import { formatISO as d } from "date-fns";
|
|
12
|
-
import { DATE_PRESETS as p, resolveDatePreset as A } from "./index314.js";
|
|
13
|
-
const _ = [{
|
|
14
|
-
value: "draft",
|
|
15
|
-
label: "Draft",
|
|
16
|
-
description: "Created but not yet sent"
|
|
17
|
-
}, {
|
|
18
|
-
value: "issued",
|
|
19
|
-
label: "Issued",
|
|
20
|
-
description: ""
|
|
21
|
-
}, {
|
|
22
|
-
value: "overdue",
|
|
23
|
-
label: "Overdue",
|
|
24
|
-
description: "Past due date"
|
|
25
|
-
}, {
|
|
26
|
-
value: "partially_paid",
|
|
27
|
-
label: "Partially paid",
|
|
28
|
-
description: "Some payment received"
|
|
29
|
-
}, {
|
|
30
|
-
value: "paid",
|
|
31
|
-
label: "Paid",
|
|
32
|
-
description: "Fully paid"
|
|
33
|
-
}, {
|
|
34
|
-
value: "uncollectible",
|
|
35
|
-
label: "Uncollectible",
|
|
36
|
-
description: ""
|
|
37
|
-
}, {
|
|
38
|
-
value: "canceled",
|
|
39
|
-
label: "Canceled",
|
|
40
|
-
description: ""
|
|
41
|
-
}, {
|
|
42
|
-
value: "recurring",
|
|
43
|
-
label: "Recurring",
|
|
44
|
-
description: ""
|
|
45
|
-
}], x = ["draft", "issued", "overdue", "partially_paid", "paid", "uncollectible"], U = {
|
|
46
|
-
due_date: "Due date",
|
|
47
|
-
created_at: "Created on",
|
|
48
|
-
issue_date: "Issue date"
|
|
49
|
-
};
|
|
50
|
-
function f() {
|
|
51
|
-
return {
|
|
52
|
-
search: "",
|
|
53
|
-
activeDateFields: {},
|
|
54
|
-
status: [],
|
|
55
|
-
amountMode: "any",
|
|
56
|
-
amountMin: "",
|
|
57
|
-
amountMax: "",
|
|
58
|
-
customerName: ""
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
function H({
|
|
62
|
-
initialCounterpartId: v
|
|
63
|
-
} = {}) {
|
|
64
|
-
const [t, o] = O(() => ({
|
|
65
|
-
...f(),
|
|
66
|
-
customerId: v
|
|
67
|
-
})), {
|
|
68
|
-
formatToMinorUnits: l
|
|
69
|
-
} = P(), {
|
|
70
|
-
componentSettings: b
|
|
71
|
-
} = $(), {
|
|
72
|
-
data: h
|
|
73
|
-
} = k(t.customerId), c = I(h), m = b.onboarding.allowedCurrencies?.[0] ?? "USD", F = n(() => {
|
|
74
|
-
const e = {};
|
|
75
|
-
for (const [a, s] of Object.entries(t.activeDateFields))
|
|
76
|
-
s?.from && (e[`${a}__gte`] = d(s.from, {
|
|
77
|
-
representation: "date"
|
|
78
|
-
})), s?.to && (e[`${a}__lte`] = d(s.to, {
|
|
79
|
-
representation: "date"
|
|
80
|
-
}));
|
|
81
|
-
if (t.status.length ? e.status__in = t.status : e.status__in = x, t.customerName && (e.counterpart_name__icontains = t.customerName), t.customerId && (e.counterpart_id = t.customerId), t.search && (e.search_text = t.search), t.amountMode !== "any") {
|
|
82
|
-
const a = parseFloat(t.amountMin), s = parseFloat(t.amountMax), r = (i) => l(i, m) ?? T(i, 2);
|
|
83
|
-
if (t.amountMode === "exact") {
|
|
84
|
-
if (!isNaN(a)) {
|
|
85
|
-
const i = r(a);
|
|
86
|
-
e.total_amount__gte = i, e.total_amount__lte = i;
|
|
87
|
-
}
|
|
88
|
-
} else
|
|
89
|
-
isNaN(a) || (e.total_amount__gte = r(a)), isNaN(s) || (e.total_amount__lte = r(s));
|
|
90
|
-
}
|
|
91
|
-
return e;
|
|
92
|
-
}, [t, m, l]), y = n(() => {
|
|
93
|
-
let e = 0;
|
|
94
|
-
return Object.values(t.activeDateFields).some((a) => a?.from || a?.to || a?.preset) && e++, t.status.length && e++, t.customerName && e++, t.customerId && e++, t.amountMode !== "any" && e++, t.search && e++, e;
|
|
95
|
-
}, [t]), D = n(() => {
|
|
96
|
-
const e = [];
|
|
97
|
-
for (const [a, s] of Object.entries(t.activeDateFields))
|
|
98
|
-
if (s?.from || s?.to || s?.preset) {
|
|
99
|
-
const r = s.preset ? p.find((i) => i.value === s.preset)?.label ?? "Custom range" : "Custom range";
|
|
100
|
-
e.push({
|
|
101
|
-
key: `date_${a}`,
|
|
102
|
-
label: `${U[a]}: ${r}`
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
if (t.status.length) {
|
|
106
|
-
const a = t.status.map((s) => _.find((r) => r.value === s)?.label ?? s);
|
|
107
|
-
e.push({
|
|
108
|
-
key: "status",
|
|
109
|
-
label: `Status: ${N(a)}`
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
return t.customerName && e.push({
|
|
113
|
-
key: "customer",
|
|
114
|
-
label: `Customer: ${t.customerName}`
|
|
115
|
-
}), t.customerId && e.push({
|
|
116
|
-
key: "counterpart",
|
|
117
|
-
label: `Customer: ${c || t.customerId}`
|
|
118
|
-
}), t.amountMode !== "any" && e.push({
|
|
119
|
-
key: "amount",
|
|
120
|
-
label: "Amount"
|
|
121
|
-
}), t.search && e.push({
|
|
122
|
-
key: "search",
|
|
123
|
-
label: `Search: ${t.search}`
|
|
124
|
-
}), e;
|
|
125
|
-
}, [t, c]), S = u((e, a) => {
|
|
126
|
-
const {
|
|
127
|
-
from: s,
|
|
128
|
-
to: r
|
|
129
|
-
} = A(a);
|
|
130
|
-
o((i) => ({
|
|
131
|
-
...i,
|
|
132
|
-
activeDateFields: {
|
|
133
|
-
...i.activeDateFields,
|
|
134
|
-
[e]: {
|
|
135
|
-
preset: a,
|
|
136
|
-
from: s,
|
|
137
|
-
to: r
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}));
|
|
141
|
-
}, []), C = u((e, a, s) => {
|
|
142
|
-
o((r) => ({
|
|
143
|
-
...r,
|
|
144
|
-
activeDateFields: {
|
|
145
|
-
...r.activeDateFields,
|
|
146
|
-
[e]: {
|
|
147
|
-
preset: void 0,
|
|
148
|
-
from: a,
|
|
149
|
-
to: s
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}));
|
|
153
|
-
}, []), M = u((e) => {
|
|
154
|
-
if (e.startsWith("date_")) {
|
|
155
|
-
const a = e.slice(5);
|
|
156
|
-
o((s) => {
|
|
157
|
-
const r = {
|
|
158
|
-
...s.activeDateFields
|
|
159
|
-
};
|
|
160
|
-
return delete r[a], {
|
|
161
|
-
...s,
|
|
162
|
-
activeDateFields: r
|
|
163
|
-
};
|
|
164
|
-
});
|
|
165
|
-
return;
|
|
1
|
+
import { useMoniteContext as o } from "./index57.js";
|
|
2
|
+
const s = (t, e = !0) => {
|
|
3
|
+
const {
|
|
4
|
+
api: n
|
|
5
|
+
} = o();
|
|
6
|
+
return n.finops.getDocumentsIdNextNumbers.useQuery({
|
|
7
|
+
path: {
|
|
8
|
+
entity_id: t
|
|
166
9
|
}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
status: []
|
|
172
|
-
}));
|
|
173
|
-
break;
|
|
174
|
-
case "customer":
|
|
175
|
-
o((a) => ({
|
|
176
|
-
...a,
|
|
177
|
-
customerName: ""
|
|
178
|
-
}));
|
|
179
|
-
break;
|
|
180
|
-
case "counterpart":
|
|
181
|
-
o((a) => ({
|
|
182
|
-
...a,
|
|
183
|
-
customerId: void 0
|
|
184
|
-
}));
|
|
185
|
-
break;
|
|
186
|
-
case "amount":
|
|
187
|
-
o((a) => ({
|
|
188
|
-
...a,
|
|
189
|
-
amountMode: "any",
|
|
190
|
-
amountMin: "",
|
|
191
|
-
amountMax: ""
|
|
192
|
-
}));
|
|
193
|
-
break;
|
|
194
|
-
case "search":
|
|
195
|
-
o((a) => ({
|
|
196
|
-
...a,
|
|
197
|
-
search: ""
|
|
198
|
-
}));
|
|
199
|
-
break;
|
|
200
|
-
}
|
|
201
|
-
}, []), g = u(() => o(f()), []);
|
|
202
|
-
return {
|
|
203
|
-
state: t,
|
|
204
|
-
setState: o,
|
|
205
|
-
queryParams: F,
|
|
206
|
-
activeFilterCount: y,
|
|
207
|
-
activeChips: D,
|
|
208
|
-
datePresets: p,
|
|
209
|
-
statusOptions: _,
|
|
210
|
-
setDateFieldPreset: S,
|
|
211
|
-
setDateFieldRange: C,
|
|
212
|
-
clearFilter: M,
|
|
213
|
-
clearAll: g
|
|
214
|
-
};
|
|
215
|
-
}
|
|
10
|
+
}, {
|
|
11
|
+
enabled: e && !!t
|
|
12
|
+
});
|
|
13
|
+
};
|
|
216
14
|
export {
|
|
217
|
-
|
|
218
|
-
_ as AR_STATUS_OPTIONS,
|
|
219
|
-
H as useInvoicesFilter
|
|
15
|
+
s as useGetEntityDocumentNumber
|
|
220
16
|
};
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return s.finops.getReceivables.useQuery({
|
|
7
|
-
query: e
|
|
8
|
-
}, {
|
|
9
|
-
enabled: t
|
|
10
|
-
});
|
|
11
|
-
};
|
|
1
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { twMerge as e } from "tailwind-merge";
|
|
3
|
+
const w = ({
|
|
4
|
+
className: t
|
|
5
|
+
}) => /* @__PURE__ */ r("div", { className: e("ttw:w-8 ttw:h-8 ttw:rounded-full ttw:border-3 ttw:border-primary ttw:border-t-transparent ttw:animate-spin", t) });
|
|
12
6
|
export {
|
|
13
|
-
|
|
7
|
+
w as LoadingSpinner
|
|
14
8
|
};
|