@tesouro/embedded-components-react 0.2.191 → 0.2.193
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +4 -0
- package/dist/index.d.ts +15 -4
- package/dist/lib/ReceivablesWidget.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/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/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +13 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +24 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +9 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +35 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +23 -1269
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1270 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +32 -12
- 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 -79
- 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 +75 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +33 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +30 -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 +12 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +24 -216
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +118 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +7 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +217 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +10 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +12 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +48 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +44 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +43 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +15 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +11 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +152 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +23 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +55 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +68 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +29 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +3 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +59 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +37 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +80 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +5 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +42 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +75 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +55 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +25 -227
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +71 -461
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +28 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +38 -527
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +7 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +228 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +462 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +106 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +527 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +23 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +96 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +57 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +93 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +98 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +18 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +11 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +12 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +25 -12
- 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 +13 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +18 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +19 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +2 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +20 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +26 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +117 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +70 -6
- 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 +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +100 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +25 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +7 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +9 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +212 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +12 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +7 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +34 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +50 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +28 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +5 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +76 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +32 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +19 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +63 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +158 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +28 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +26 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +25 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +5 -491
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +118 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +48 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +115 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +110 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +50 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +204 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +70 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +149 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +27 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +4 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +17 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +34 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +29 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +29 -200
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +31 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +50 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +13 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +73 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +44 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +14 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +24 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +37 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +61 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +95 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +110 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +86 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +127 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +491 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +168 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +39 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +59 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +29 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +118 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +22 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +41 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +53 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +22 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +55 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +29 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +57 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +20 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +96 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +94 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +209 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +19 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +40 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +14 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +76 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +75 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +41 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +36 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +339 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +295 -259
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +93 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +160 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +267 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +18 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +63 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +9 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +23 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +19 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +15 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +18 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +166 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +125 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +159 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +18 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +60 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +61 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +58 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +8 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +59 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +21 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +63 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +14 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +19 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +32 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +1 -1
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +32 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +20 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +17 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +67 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +19 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +16 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +18 -82
- 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 +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +65 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +21 -269
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +115 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +80 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +8 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +30 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +53 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +32 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +82 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +17 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +84 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +269 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +33 -279
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +62 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +44 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +25 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +141 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +92 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +11 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +2 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +282 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +48 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +15 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +120 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +18 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +16 -12
- 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 +16 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +16 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +7 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +49 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +16 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +72 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +16 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +16 -21
- 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 +3 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +11 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +31 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +5 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +126 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +94 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +38 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +32 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +66 -44
- 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 +44 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +26 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +16 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +19 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +38 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +20 -8
- 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 +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +73 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +84 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +53 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +52 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +55 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +30 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +52 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +33 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +44 -72
- 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 +69 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +21 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +49 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +32 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +85 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +24 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +101 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +111 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +71 -53
- 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 +66 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +35 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +12 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +29 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +23 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +37 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +38 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +96 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +16 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +75 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +22 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +9 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +15 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +18 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +51 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +55 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +30 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +39 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +33 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +14 -32
- 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 +52 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +33 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +47 -39
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- 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 +21 -21
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +22 -22
- package/package.json +1 -1
|
@@ -1,64 +1,55 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
import "
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import { Badge as p } from "./index221.js";
|
|
11
|
-
import { Skeleton as B } from "./index132.js";
|
|
12
|
-
import { getVariantProps as d } from "./index452.js";
|
|
13
|
-
const q = ({
|
|
14
|
-
userId: t,
|
|
15
|
-
user: e,
|
|
16
|
-
variant: m = "text",
|
|
17
|
-
showUsersAsEmail: i = !1,
|
|
18
|
-
showAvatar: f = !1,
|
|
19
|
-
className: o = ""
|
|
1
|
+
import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFormContext as m, Controller as u } from "react-hook-form";
|
|
3
|
+
import { Typography as n } from "./index85.js";
|
|
4
|
+
import { useLingui as w } from "@lingui/react";
|
|
5
|
+
import { Switch as i } from "./index368.js";
|
|
6
|
+
import { twMerge as h } from "tailwind-merge";
|
|
7
|
+
const x = ({
|
|
8
|
+
control: l,
|
|
9
|
+
isDialog: r
|
|
20
10
|
}) => {
|
|
21
11
|
const {
|
|
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
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
12
|
+
i18n: t
|
|
13
|
+
} = w(), {
|
|
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__ */ e(n, { variant: "h3", children: t._("PDF settings") }),
|
|
20
|
+
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: t._("Invoices are generated as PDFs") })
|
|
21
|
+
] }),
|
|
22
|
+
/* @__PURE__ */ a("div", { className: h(
|
|
23
|
+
"ttw:flex ttw:flex-col ttw:gap-2.5 ttw:rounded-lg",
|
|
24
|
+
// In the dialog the toggles sit in their own grey grouping box, so the
|
|
25
|
+
// inset padding is needed. On the settings page they already sit inside
|
|
26
|
+
// the section card, so the extra padding just indented the body.
|
|
27
|
+
r ? "ttw:bg-zinc-100 ttw:p-4" : ""
|
|
28
|
+
), children: [
|
|
29
|
+
/* @__PURE__ */ a("section", { className: "ttw:flex ttw:justify-between ttw:gap-4", children: [
|
|
30
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
31
|
+
/* @__PURE__ */ e(n, { variant: "body1", className: "ttw:font-medium", children: t._("Display your bank account details on the PDF") }),
|
|
32
|
+
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: t._("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.") })
|
|
33
|
+
] }),
|
|
34
|
+
/* @__PURE__ */ e(i, { checked: s, onCheckedChange: (o) => {
|
|
35
|
+
d("invoice_bank_display", o, {
|
|
36
|
+
shouldDirty: !0
|
|
37
|
+
});
|
|
38
|
+
}, "aria-label": t._("Display bank display options") })
|
|
39
|
+
] }),
|
|
40
|
+
/* @__PURE__ */ a("section", { className: "ttw:flex ttw:justify-between ttw:gap-4", children: [
|
|
41
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
42
|
+
/* @__PURE__ */ e(n, { variant: "body1", className: "ttw:font-medium", children: t._("Update PDF files for paid invoices") }),
|
|
43
|
+
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: t._("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.") }),
|
|
44
|
+
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", className: "ttw:font-medium", children: t._("Once updated, you won't be able to revert the PDFs.") })
|
|
45
|
+
] }),
|
|
46
|
+
/* @__PURE__ */ e(u, { name: "update_paid_invoices", control: l, render: ({
|
|
47
|
+
field: o
|
|
48
|
+
}) => /* @__PURE__ */ e(i, { checked: o.value, onCheckedChange: o.onChange, "aria-label": t._("Enable update paid invoices pdf") }) })
|
|
49
|
+
] })
|
|
50
|
+
] })
|
|
51
|
+
] });
|
|
61
52
|
};
|
|
62
53
|
export {
|
|
63
|
-
|
|
54
|
+
x as PDFSettings
|
|
64
55
|
};
|
|
@@ -1,33 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { useLingui as
|
|
4
|
-
|
|
5
|
-
import { Chip as A } from "@mui/material";
|
|
6
|
-
import { styled as _, useThemeProps as T } from "@mui/material/styles";
|
|
7
|
-
const P = ({
|
|
8
|
-
ref: s,
|
|
9
|
-
...a
|
|
10
|
-
}) => {
|
|
1
|
+
import { toast as n } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as o } from "./index57.js";
|
|
3
|
+
import { useLingui as a } from "@lingui/react";
|
|
4
|
+
const c = (e) => {
|
|
11
5
|
const {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
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);
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
};
|
|
30
29
|
export {
|
|
31
|
-
|
|
32
|
-
h as StyledChip
|
|
30
|
+
c as usePatchEntitySettings
|
|
33
31
|
};
|
|
@@ -1,121 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}, A = (e) => {
|
|
6
|
-
switch (e) {
|
|
7
|
-
case "approved":
|
|
8
|
-
return "waiting_to_be_paid";
|
|
9
|
-
case "rejected":
|
|
10
|
-
return "rejected";
|
|
11
|
-
case "canceled":
|
|
12
|
-
return "canceled";
|
|
13
|
-
default:
|
|
14
|
-
return "approve_in_progress";
|
|
15
|
-
}
|
|
16
|
-
}, h = (e) => e.find((a) => a.call === v.REQUEST_APPROVAL_BY_USERS), j = (e) => (
|
|
17
|
-
// Either spelling: a policy written by the native Bill Pay editor uses the
|
|
18
|
-
// singular call, and this flow has to show its role step too.
|
|
19
|
-
e.find((a) => _(a.call))
|
|
20
|
-
), m = (e, a, s = !1) => e.filter((r) => r.user_ids?.length ? s ? r.user_ids.some((t) => a.includes(t)) : a.every((t) => r.user_ids.includes(t)) : !1), y = (e, a) => e.filter((s) => s.role_ids?.some((r) => a.includes(r))), C = (e, a, s) => {
|
|
21
|
-
if (e?.params) {
|
|
22
|
-
const {
|
|
23
|
-
user_ids: r,
|
|
24
|
-
required_approval_count: t
|
|
25
|
-
} = e.params;
|
|
26
|
-
return r?.length === 1 ? n.singleUser(s) : S(s, t);
|
|
27
|
-
}
|
|
28
|
-
return a?.params ? n.anyUserWithRole(s) : "";
|
|
29
|
-
}, o = (e) => e ? e.call && e.params ? [e] : Array.isArray(e.all) ? e.all.flatMap(o) : e.if ? o(e.if) : [] : [], B = (e) => e.flatMap(o), I = (e) => {
|
|
30
|
-
const a = [];
|
|
31
|
-
if (e.all)
|
|
32
|
-
a.push(...e.all);
|
|
33
|
-
else if (e.if) {
|
|
34
|
-
const s = e.if;
|
|
35
|
-
s.all ? a.push(...s.all) : a.push(s);
|
|
36
|
-
}
|
|
37
|
-
return a;
|
|
38
|
-
}, c = (e) => e ? e.call && e.params ? [e] : Array.isArray(e.all) ? e.all.flatMap(c) : Array.isArray(e) ? e.flatMap(c) : [] : [], R = (e) => e.length === 0 || e.some((a) => a.status === "waiting") ? "waiting" : e.every((a) => a.status === "approved") ? "approved" : e.some((a) => a.status === "rejected") ? "rejected" : "waiting", U = (e, a, s) => ({
|
|
39
|
-
stepNumber: a,
|
|
40
|
-
type: s,
|
|
41
|
-
assignee: void 0,
|
|
42
|
-
assignees: e.assignees,
|
|
43
|
-
status: e.stepStatus,
|
|
44
|
-
payableStatus: A(e.stepStatus),
|
|
45
|
-
actualAssignees: e.actualAssignees,
|
|
46
|
-
hasActiveRequests: e.relatedRequests.length > 0,
|
|
47
|
-
requestIds: e.relatedRequests.map((r) => r.id),
|
|
48
|
-
approvalRequestId: e.approvalRequestId,
|
|
49
|
-
approvedBy: e.approvedBy,
|
|
50
|
-
objectId: e.objectId,
|
|
51
|
-
rejectedBy: e.rejectedBy,
|
|
52
|
-
requiredApprovalCount: e.requiredApprovalCount
|
|
53
|
-
}), E = (e, a, s, r) => {
|
|
54
|
-
const t = R(a);
|
|
55
|
-
return {
|
|
56
|
-
stepNumber: s,
|
|
57
|
-
type: r,
|
|
58
|
-
assignee: void 0,
|
|
59
|
-
assignees: e,
|
|
60
|
-
status: t,
|
|
61
|
-
payableStatus: A(t),
|
|
62
|
-
actualAssignees: e,
|
|
63
|
-
hasActiveRequests: a.length > 0,
|
|
64
|
-
requestIds: a.map((l) => l.id),
|
|
65
|
-
approvalRequestId: a[0]?.id,
|
|
66
|
-
approvedBy: a.flatMap((l) => l.approved_by || []),
|
|
67
|
-
objectId: a[0]?.object_id,
|
|
68
|
-
rejectedBy: a.find((l) => l.rejected_by)?.rejected_by,
|
|
69
|
-
requiredApprovalCount: a.reduce((l, u) => l + u.required_approval_count, 0)
|
|
70
|
-
};
|
|
71
|
-
}, L = (e, a) => {
|
|
72
|
-
const s = e.flatMap((t) => t.params?.user_ids || []), r = a.filter((t) => t.user_ids?.length && s.some((l) => t.user_ids.includes(l)));
|
|
73
|
-
return {
|
|
74
|
-
allChainUserIds: s,
|
|
75
|
-
allChainRequests: r
|
|
76
|
-
};
|
|
77
|
-
}, P = (e) => {
|
|
78
|
-
const a = [];
|
|
79
|
-
if (e.all)
|
|
80
|
-
a.push(...e.all);
|
|
81
|
-
else if (e.if) {
|
|
82
|
-
const s = e.if;
|
|
83
|
-
s.all ? a.push(...s.all) : a.push(s);
|
|
84
|
-
}
|
|
85
|
-
return a;
|
|
86
|
-
}, w = (e, a) => {
|
|
87
|
-
const s = e.call === v.REQUEST_APPROVAL_BY_USERS ? e : void 0;
|
|
88
|
-
let r = [];
|
|
89
|
-
s?.params?.user_ids && (r = s.params.user_ids);
|
|
90
|
-
const t = _(e.call) ? y(a, e.params?.role_ids ?? []) : m(a, r, !0), l = t.flatMap((p) => p.user_ids || []), u = [...new Set(l)], f = t.length ? t[0].status : "waiting", i = t.find((p) => p.status !== "waiting"), g = t.flatMap((p) => p.approved_by || []), d = [...new Set(g)];
|
|
91
|
-
return {
|
|
92
|
-
assignees: r,
|
|
93
|
-
actualAssignees: u,
|
|
94
|
-
relatedRequests: t,
|
|
95
|
-
stepStatus: f,
|
|
96
|
-
approvalRequestId: i?.id,
|
|
97
|
-
approvedBy: d.length > 0 ? d : void 0,
|
|
98
|
-
objectId: i?.object_id || e.params?.object_id,
|
|
99
|
-
rejectedBy: i?.rejected_by,
|
|
100
|
-
requiredApprovalCount: e.params?.required_approval_count || i?.required_approval_count || 1
|
|
101
|
-
};
|
|
102
|
-
};
|
|
1
|
+
import { zodResolver as e } from "@hookform/resolvers/zod";
|
|
2
|
+
function t(o) {
|
|
3
|
+
return e(o);
|
|
4
|
+
}
|
|
103
5
|
export {
|
|
104
|
-
|
|
105
|
-
R as calculateIntegralStatus,
|
|
106
|
-
U as createBaseApprovalStep,
|
|
107
|
-
E as createChainApprovalStep,
|
|
108
|
-
o as extractApprovalCalls,
|
|
109
|
-
c as extractApprovalCallsForTable,
|
|
110
|
-
P as extractItemsFromScriptStep,
|
|
111
|
-
I as extractStructureItemsFromScriptStep,
|
|
112
|
-
y as filterRequestsByRoles,
|
|
113
|
-
m as filterRequestsByUsers,
|
|
114
|
-
j as findRoleApprovalCall,
|
|
115
|
-
h as findUserApprovalCall,
|
|
116
|
-
C as getApprovalRuleLabel,
|
|
117
|
-
A as mapApprovalStatusToPayableStatus,
|
|
118
|
-
B as processApprovalStructure,
|
|
119
|
-
L as processChainApprovalCalls,
|
|
120
|
-
w as resolveStepForCall
|
|
6
|
+
t as safeZodResolver
|
|
121
7
|
};
|
|
@@ -1,25 +1,79 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsxs as n, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFormContext as $, Controller as d } from "react-hook-form";
|
|
3
|
+
import { useLingui as F } from "@lingui/react";
|
|
4
|
+
import { Typography as c } from "./index85.js";
|
|
5
|
+
import { Field as m, FieldContent as s, FieldLabel as w, FieldError as u } from "./index159.js";
|
|
6
|
+
import { Input as g } from "./index122.js";
|
|
7
|
+
import { Checkbox as S } from "./index351.js";
|
|
8
|
+
const E = ({
|
|
9
|
+
control: o
|
|
10
|
+
}) => {
|
|
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(c, { variant: "h3", children: i._("Invoice numbering") }),
|
|
24
|
+
/* @__PURE__ */ e(c, { 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(c, { variant: "body2", color: "muted", children: i._("Preview") }),
|
|
28
|
+
/* @__PURE__ */ e(c, { 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(d, { 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(d, { 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(d, { 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(d, { 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
|
+
] });
|
|
16
76
|
};
|
|
17
77
|
export {
|
|
18
|
-
|
|
19
|
-
o as FILTER_TYPE_CREATED_AT,
|
|
20
|
-
p as FILTER_TYPE_CREATED_BY,
|
|
21
|
-
T as FILTER_TYPE_SEARCH,
|
|
22
|
-
d as ROLE_APPROVAL_CALLS,
|
|
23
|
-
R as ROW_TO_STATUS_MUI_MAP,
|
|
24
|
-
i as getRowToStatusTextMap
|
|
78
|
+
E as InvoiceNumbering
|
|
25
79
|
};
|
|
@@ -1,46 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
e(r)
|
|
33
|
-
] }, r);
|
|
34
|
-
case "tags":
|
|
35
|
-
return /* @__PURE__ */ t("li", { children: [
|
|
36
|
-
/* @__PURE__ */ i(c, { width: 18 }),
|
|
37
|
-
e(r)
|
|
38
|
-
] }, r);
|
|
39
|
-
default:
|
|
40
|
-
return null;
|
|
41
|
-
}
|
|
42
|
-
}) }) : null;
|
|
43
|
-
};
|
|
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
|
+
});
|
|
44
32
|
export {
|
|
45
|
-
|
|
33
|
+
i as getInvoiceSettingsFormSchema
|
|
46
34
|
};
|
|
@@ -1,59 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
i18n: e
|
|
18
|
-
} = v(), {
|
|
19
|
-
api: n
|
|
20
|
-
} = y(), [r, l] = c(null), [m, a] = c(""), b = N(m, C), {
|
|
21
|
-
data: w
|
|
22
|
-
} = n.finops.getEntityUsers.useQuery({
|
|
23
|
-
query: {
|
|
24
|
-
name__istartswith: b || void 0
|
|
25
|
-
}
|
|
26
|
-
}), d = u(() => w?.data ?? [], [w]), i = u(() => d.map((o) => ({
|
|
27
|
-
value: o.id,
|
|
28
|
-
label: F(o)
|
|
29
|
-
})), [d]), p = u(() => !r || i.some((o) => o.value === r.value) ? i : [r, ...i], [i, r]);
|
|
30
|
-
return /* @__PURE__ */ s(R, { items: p, value: r?.value ?? "", placeholder: e._("Added by"), emptyMessage: e._("No users found"), clearAriaLabel: e._("Clear selection"), onQueryChange: a, onValueChange: (o) => {
|
|
31
|
-
const h = Array.isArray(o) ? o[0] ?? "" : o ?? "";
|
|
32
|
-
l(p.find((g) => g.value === h) ?? null), t(h || void 0);
|
|
33
|
-
} });
|
|
34
|
-
}, q = ({
|
|
35
|
-
onChangeFilter: t
|
|
36
|
-
}) => {
|
|
37
|
-
const {
|
|
38
|
-
i18n: e
|
|
39
|
-
} = v(), {
|
|
40
|
-
root: n
|
|
41
|
-
} = E(), [r, l] = c(void 0), m = x((a) => {
|
|
42
|
-
t(k, a.trim() ? a : null);
|
|
43
|
-
}, C);
|
|
44
|
-
return /* @__PURE__ */ _("div", { className: "ttw:flex ttw:items-center ttw:gap-3 ttw:px-2 ttw:py-2", children: [
|
|
45
|
-
/* @__PURE__ */ s("div", { className: "ttw:flex-1", children: /* @__PURE__ */ s(A, { placeholder: e._("Search"), className: "ttw:h-9 ttw:w-full", onChange: (a) => m(a.target.value) }) }),
|
|
46
|
-
/* @__PURE__ */ s("div", { className: "ttw:w-48 ttw:shrink-0", children: /* @__PURE__ */ s(L, { onChange: (a) => t(D, a ?? null) }) }),
|
|
47
|
-
/* @__PURE__ */ _("div", { className: "ttw:relative ttw:w-44 ttw:shrink-0", children: [
|
|
48
|
-
/* @__PURE__ */ s($, { value: r, placeholder: e._("Created at"), className: `ttw:h-9 ttw:border-border${r ? " ttw:pr-8" : ""}`, container: n, onChange: (a) => {
|
|
49
|
-
l(a), t(f, a ?? null);
|
|
50
|
-
} }),
|
|
51
|
-
r ? /* @__PURE__ */ s("button", { type: "button", "aria-label": e._("Clear created at filter"), className: "ttw:absolute ttw:right-2 ttw:top-1/2 ttw:inline-flex ttw:size-4 ttw:-translate-y-1/2 ttw:cursor-pointer ttw:items-center ttw:justify-center ttw:rounded-sm ttw:text-muted-foreground ttw:opacity-70 hover:ttw:opacity-100", onClick: () => {
|
|
52
|
-
l(void 0), t(f, null);
|
|
53
|
-
}, children: /* @__PURE__ */ s(T, { className: "ttw:size-3.5" }) }) : null
|
|
54
|
-
] })
|
|
55
|
-
] });
|
|
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
|
+
};
|
|
56
17
|
};
|
|
57
18
|
export {
|
|
58
|
-
|
|
19
|
+
_ as buildDocumentRendering,
|
|
20
|
+
t as getBankDisplayValue,
|
|
21
|
+
a as hasBankDisplay
|
|
59
22
|
};
|