@tesouro/embedded-components-react 0.2.225 → 0.2.227
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 +35 -0
- package/dist/lib/ReceivablesWidget.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index2.js +115 -115
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index6.js +24 -15
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index3.js +3 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index5.js +14 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/{index2.js → index8.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +4 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +25 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1270 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +33 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +7 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +26 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +73 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +6 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +9 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +32 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +12 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +119 -216
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +217 -11
- 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 +10 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +12 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +46 -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 +15 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +11 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +150 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +22 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +13 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +17 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +19 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +22 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +19 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +27 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +114 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +70 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +11 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +9 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +46 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +75 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +54 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +14 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +78 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +28 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +42 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +7 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +227 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +467 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +110 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +535 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +23 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +57 -29
- 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 +24 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +96 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +100 -227
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +15 -467
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +12 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +11 -536
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +95 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +25 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +49 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +82 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +33 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +66 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +358 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +2 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +117 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +6 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +18 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +12 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +13 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +12 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +21 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +55 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +27 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +35 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +24 -16
- 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 +14 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +26 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +16 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +109 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +10 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +17 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +26 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +40 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +58 -360
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +52 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +30 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +98 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +45 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +143 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +106 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +35 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +51 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +25 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +75 -54
- 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 +32 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +18 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +39 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +62 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +29 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +119 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +22 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +44 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +56 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +5 -26
- 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 +482 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +164 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +60 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +24 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +44 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +72 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +20 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +14 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +19 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +167 -92
- 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 +132 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +158 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +10 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +18 -346
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +62 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +64 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +52 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +6 -265
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +60 -18
- 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 +24 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +61 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +14 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +2 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +92 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +95 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +209 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +62 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +159 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +28 -63
- 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 +27 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +78 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +25 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +38 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +60 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +93 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +112 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +85 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +38 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +344 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +301 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +102 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +158 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +262 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +22 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +19 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +22 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +52 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +29 -78
- 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 +58 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +16 -487
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +149 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +10 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +19 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +8 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +25 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +122 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +49 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +114 -75
- 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 +111 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +50 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +203 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +69 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +29 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +4 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +17 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +35 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +28 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +31 -108
- 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 +30 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +12 -204
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +26 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +123 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +14 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +76 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +76 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +41 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +19 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +40 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +11 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +255 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +16 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +40 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +45 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +28 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +25 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +40 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +15 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +72 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +95 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +10 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +7 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +113 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +17 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +16 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +23 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +47 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +74 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +3 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +11 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +66 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +38 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +23 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +21 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +32 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +31 -15
- 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 +4 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +126 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +38 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +21 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +66 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +19 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +18 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +14 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +3 -3
- 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 +11 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +67 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +118 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +81 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +9 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +34 -16
- 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 +54 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +36 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +23 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +91 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +36 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +31 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +49 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +16 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +84 -9
- 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 +17 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +86 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +263 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +34 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +62 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +43 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +23 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +138 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +91 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +10 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +285 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +43 -279
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +10 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +29 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +69 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +30 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +70 -37
- 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 +83 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +50 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +48 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +29 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +53 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +39 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +44 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +68 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +20 -46
- 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 +81 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +52 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +35 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +8 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +20 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +16 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +95 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +15 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +75 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +20 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +9 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +52 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +32 -94
- 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 +29 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +84 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +24 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +105 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +107 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +51 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +35 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +17 -40
- 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 +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +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 +9 -9
- 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 +22 -22
- 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 +23 -23
- package/dist/packages/shared-ui-shadcn/dist/index.js +1 -1
- package/package.json +1 -1
- /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/{index3.js → index9.js} +0 -0
|
@@ -1,79 +1,32 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Typography as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
control: o
|
|
1
|
+
import { jsxs as r, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { AccordionItem as c, AccordionTrigger as i, AccordionContent as o } from "./index220.js";
|
|
3
|
+
import { Badge as s } from "./index221.js";
|
|
4
|
+
import { Typography as n } from "./index85.js";
|
|
5
|
+
import { useLingui as d } from "@lingui/react";
|
|
6
|
+
import { Check as m } from "lucide-react";
|
|
7
|
+
const N = ({
|
|
8
|
+
attachments: l
|
|
10
9
|
}) => {
|
|
11
10
|
const {
|
|
12
|
-
i18n:
|
|
13
|
-
} =
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
] }) }) }) })
|
|
11
|
+
i18n: e
|
|
12
|
+
} = d();
|
|
13
|
+
return /* @__PURE__ */ r(c, { value: "attachments", children: [
|
|
14
|
+
/* @__PURE__ */ t(i, { children: /* @__PURE__ */ r("span", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
15
|
+
/* @__PURE__ */ t("span", { className: "ttw:group-hover:underline", children: e._("Attachments") }),
|
|
16
|
+
/* @__PURE__ */ t(s, { variant: "secondary", className: "ttw:rounded-full", children: l.length })
|
|
17
|
+
] }) }),
|
|
18
|
+
/* @__PURE__ */ t(o, { children: l.length === 0 ? /* @__PURE__ */ t(n, { variant: "body2", color: "muted", children: e._("No attached files") }) : /* @__PURE__ */ r("table", { className: "ttw:w-full ttw:border-collapse", children: [
|
|
19
|
+
/* @__PURE__ */ t("thead", { children: /* @__PURE__ */ r("tr", { className: "ttw:border-b ttw:border-border", children: [
|
|
20
|
+
/* @__PURE__ */ t("th", { scope: "col", className: "ttw:py-2 ttw:text-left", children: /* @__PURE__ */ t(n, { component: "span", variant: "caption", color: "muted", children: e._("File") }) }),
|
|
21
|
+
/* @__PURE__ */ t("th", { scope: "col", className: "ttw:py-2 ttw:text-right", children: /* @__PURE__ */ t(n, { component: "span", variant: "caption", color: "muted", children: e._("Emailed") }) })
|
|
22
|
+
] }) }),
|
|
23
|
+
/* @__PURE__ */ t("tbody", { children: l.map((a) => /* @__PURE__ */ r("tr", { className: "ttw:border-b ttw:border-border ttw:last:border-b-0", children: [
|
|
24
|
+
/* @__PURE__ */ t("td", { className: "ttw:py-3", children: /* @__PURE__ */ t("a", { href: a.url, target: "_blank", rel: "noreferrer", className: "ttw:text-primary ttw:hover:underline", children: a.name }) }),
|
|
25
|
+
/* @__PURE__ */ t("td", { className: "ttw:py-3 ttw:text-right ttw:align-middle", children: a.include_in_email ? /* @__PURE__ */ t(m, { role: "img", "aria-label": e._("Included in email"), className: "ttw:inline-block ttw:size-4 ttw:text-emerald-600" }) : /* @__PURE__ */ t("span", { className: "ttw:sr-only", children: e._("Not included in email") }) })
|
|
26
|
+
] }, a.id)) })
|
|
27
|
+
] }) })
|
|
75
28
|
] });
|
|
76
29
|
};
|
|
77
30
|
export {
|
|
78
|
-
|
|
31
|
+
N as InvoiceDetailsAttachments
|
|
79
32
|
};
|
|
@@ -1,34 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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()])
|
|
1
|
+
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Button as c } from "./index84.js";
|
|
3
|
+
import { XIcon as m } from "lucide-react";
|
|
4
|
+
import { forwardRef as f } from "react";
|
|
5
|
+
const v = f(function({
|
|
6
|
+
label: r,
|
|
7
|
+
onClose: t,
|
|
8
|
+
variant: i = "ghost",
|
|
9
|
+
size: e = "icon",
|
|
10
|
+
onClick: n,
|
|
11
|
+
...a
|
|
12
|
+
}, s) {
|
|
13
|
+
return /* @__PURE__ */ o(c, { ref: s, variant: i, size: e, ...a, "aria-label": r, onClick: (l) => {
|
|
14
|
+
n?.(l), t();
|
|
15
|
+
}, children: /* @__PURE__ */ o(m, { className: "ttw:size-4" }) });
|
|
31
16
|
});
|
|
32
17
|
export {
|
|
33
|
-
|
|
18
|
+
v as InvoiceDetailsCloseButton
|
|
34
19
|
};
|
|
@@ -1,22 +1,112 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { jsx as s, jsxs as N, Fragment as x } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { getDraftInvoiceValidationSchema as B, getInvoiceValidationSchema as V } from "./index184.js";
|
|
3
|
+
import { useMeasureUnitsMapping as q } from "./index357.js";
|
|
4
|
+
import { useGetRecurrenceById as A } from "./index233.js";
|
|
5
|
+
import { useReceivableSubmit as P } from "./index185.js";
|
|
6
|
+
import { useMoniteContext as D } from "./index57.js";
|
|
7
|
+
import { useUserPermissions as G } from "./index130.js";
|
|
8
|
+
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
9
|
+
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
10
|
+
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
11
|
+
import "@tanstack/react-query";
|
|
12
|
+
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
13
|
+
import { Scope as O } from "../../shared/data-access/dist/lib/scopes.js";
|
|
14
|
+
import { useRef as j, useMemo as c, useCallback as w, useEffect as z } from "react";
|
|
15
|
+
import { Button as l } from "./index84.js";
|
|
16
|
+
import { LoadingPage as W } from "./index269.js";
|
|
17
|
+
import { zodResolver as C } from "@hookform/resolvers/zod";
|
|
18
|
+
import { useLingui as X } from "@lingui/react";
|
|
19
|
+
import { useForm as H } from "react-hook-form";
|
|
20
|
+
import { useGetMeasureUnits as J } from "./index325.js";
|
|
21
|
+
import "date-fns";
|
|
22
|
+
import { buildEditInvoiceFormValues as K } from "./index227.js";
|
|
23
|
+
import { ReceivableFormLayout as Q } from "./index186.js";
|
|
24
|
+
const Re = (o) => {
|
|
25
|
+
const {
|
|
26
|
+
data: m,
|
|
27
|
+
isLoading: d
|
|
28
|
+
} = A(o.invoice.recurrence_id);
|
|
29
|
+
return o.invoice.recurrence_id && d ? /* @__PURE__ */ s(W, {}) : /* @__PURE__ */ s(T, { ...o, recurrence: m });
|
|
30
|
+
}, T = ({
|
|
31
|
+
invoice: o,
|
|
32
|
+
onCancel: m,
|
|
33
|
+
onUpdated: d,
|
|
34
|
+
isOpen: R,
|
|
35
|
+
recurrence: t,
|
|
36
|
+
issueIntent: I,
|
|
37
|
+
embeddedBankName: L
|
|
38
|
+
}) => {
|
|
39
|
+
const {
|
|
40
|
+
i18n: r
|
|
41
|
+
} = X(), {
|
|
42
|
+
componentSettings: S
|
|
43
|
+
} = D(), a = G().has(O.CounterpartWriteOrg), p = !!S?.receivables?.enableEntityBankAccount, f = j("draft"), {
|
|
44
|
+
data: _
|
|
45
|
+
} = J(), g = o.currency, E = c(() => K(o, t), [o, t]), n = c(() => t?.iterations?.filter((i) => i.issued_invoice_id).length ?? 0, [t?.iterations]), h = c(() => C(B(r, a, n)), [r, a, n]), b = c(() => C(V(r, p, a, n)), [r, p, a, n]), U = w((i, k, F) => (f.current === "issue" || i.frequency !== "once" && n === 0 ? b : h)(i, k, F), [b, h, n]), u = H({
|
|
46
|
+
mode: "onBlur",
|
|
47
|
+
resolver: U,
|
|
48
|
+
defaultValues: E
|
|
49
|
+
}), {
|
|
50
|
+
getValues: y,
|
|
51
|
+
reset: M
|
|
52
|
+
} = u;
|
|
53
|
+
q(_, y, M);
|
|
54
|
+
const v = !!t?.iterations?.some((i) => i.issued_invoice_id), e = P({
|
|
55
|
+
mode: "edit",
|
|
56
|
+
methods: u,
|
|
57
|
+
currency: g,
|
|
58
|
+
invoice: o,
|
|
59
|
+
submitModeRef: f,
|
|
60
|
+
// When editing a series, switch the recurrence save to PATCH. `interval`
|
|
61
|
+
// isn't passed: the form has no interval control, and omitting it from the
|
|
62
|
+
// PATCH is what preserves the stored value.
|
|
63
|
+
existingRecurrence: t ? {
|
|
64
|
+
id: t.id,
|
|
65
|
+
scheduleLocked: v
|
|
66
|
+
} : void 0,
|
|
67
|
+
hasStartedRecurrence: n > 0,
|
|
68
|
+
onComplete: (i) => d(i.receivable, {
|
|
69
|
+
inlineLineItems: i.inlineLineItems,
|
|
70
|
+
activatedRecurrence: i.mode === "recurrence",
|
|
71
|
+
issued: i.mode === "issue",
|
|
72
|
+
counterpartId: i.counterpartId,
|
|
73
|
+
hasCustomerEmail: i.hasCustomerEmail
|
|
74
|
+
}),
|
|
75
|
+
onClose: m
|
|
76
|
+
});
|
|
77
|
+
return z(() => {
|
|
78
|
+
I && e.highlightForIssue();
|
|
79
|
+
}, []), /* @__PURE__ */ s(
|
|
80
|
+
Q,
|
|
81
|
+
{
|
|
82
|
+
open: R,
|
|
83
|
+
onRequestClose: e.requestClose,
|
|
84
|
+
methods: u,
|
|
85
|
+
title: r._("Edit invoice"),
|
|
86
|
+
currency: g,
|
|
87
|
+
embeddedBankName: L,
|
|
88
|
+
showPurchaseOrder: !1,
|
|
89
|
+
lockRecurrenceSchedule: v,
|
|
90
|
+
formName: e.formName,
|
|
91
|
+
onSubmit: e.onSubmit,
|
|
92
|
+
formScrollRef: e.formScrollRef,
|
|
93
|
+
registerLineItemCleanupFn: e.registerLineItemCleanupFn,
|
|
94
|
+
onAttachmentsUploadingChange: e.onAttachmentsUploadingChange,
|
|
95
|
+
disabled: e.isLoading,
|
|
96
|
+
closeDisabled: e.isSaving,
|
|
97
|
+
discardModal: e.discardModal,
|
|
98
|
+
footer: /* @__PURE__ */ N(x, { children: [
|
|
99
|
+
/* @__PURE__ */ s(l, { variant: "outline", className: "ttw:border-border", onClick: e.requestClose, disabled: e.isSaving || e.attachmentsUploading, children: r._("Cancel") }),
|
|
100
|
+
!e.isRecurrenceEnabled && /* @__PURE__ */ s(l, { variant: "secondary", type: "submit", form: e.formName, disabled: e.isLoading || e.attachmentsUploading, onClick: () => {
|
|
101
|
+
e.submitModeRef.current = "draft";
|
|
102
|
+
}, children: r._("Update draft") }),
|
|
103
|
+
/* @__PURE__ */ s(l, { type: "submit", form: e.formName, disabled: e.isLoading || e.attachmentsUploading || e.isIssuePreflightLoading || !e.isRecurrenceEnabled && e.isCustomerEmailLoading, onClick: () => {
|
|
104
|
+
e.submitModeRef.current = e.isRecurrenceEnabled ? "draft" : "issue";
|
|
105
|
+
}, children: e.isRecurrenceEnabled ? t ? r._("Update recurring billing schedule") : r._("Activate recurring billing schedule") : r._("Issue invoice") }, "next")
|
|
106
|
+
] })
|
|
107
|
+
}
|
|
108
|
+
);
|
|
17
109
|
};
|
|
18
110
|
export {
|
|
19
|
-
|
|
20
|
-
t as getBankDisplayValue,
|
|
21
|
-
a as hasBankDisplay
|
|
111
|
+
Re as EditInvoiceDetails
|
|
22
112
|
};
|
|
@@ -1,38 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
...t
|
|
1
|
+
import { jsxs as a, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Typography as e } from "./index85.js";
|
|
3
|
+
function i({
|
|
4
|
+
label: r,
|
|
5
|
+
value: o
|
|
7
6
|
}) {
|
|
8
|
-
return /* @__PURE__ */
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
...o
|
|
13
|
-
}) {
|
|
14
|
-
return /* @__PURE__ */ e(r.Item, { "data-slot": "accordion-item", className: a("ttw:border-b ttw:border-border ttw:last:border-b-0", t), ...o });
|
|
15
|
-
}
|
|
16
|
-
function u({
|
|
17
|
-
className: t,
|
|
18
|
-
children: o,
|
|
19
|
-
...n
|
|
20
|
-
}) {
|
|
21
|
-
return /* @__PURE__ */ e(r.Header, { className: "ttw:flex", children: /* @__PURE__ */ i(r.Trigger, { "data-slot": "accordion-trigger", className: a("ttw:group ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:flex ttw:flex-1 ttw:cursor-pointer ttw:items-start ttw:justify-between ttw:gap-4 ttw:rounded-md ttw:py-4 ttw:text-left ttw:text-sm ttw:font-medium ttw:transition-all ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:pointer-events-none ttw:disabled:opacity-50 ttw:[&[data-state=open]>svg]:rotate-180", t), ...n, children: [
|
|
22
|
-
o,
|
|
23
|
-
/* @__PURE__ */ e(s, { className: "ttw:text-muted-foreground ttw:pointer-events-none ttw:size-4 ttw:shrink-0 ttw:translate-y-0.5 ttw:transition-transform ttw:duration-200" })
|
|
24
|
-
] }) });
|
|
25
|
-
}
|
|
26
|
-
function f({
|
|
27
|
-
className: t,
|
|
28
|
-
children: o,
|
|
29
|
-
...n
|
|
30
|
-
}) {
|
|
31
|
-
return /* @__PURE__ */ e(r.Content, { "data-slot": "accordion-content", className: "ttw:data-[state=closed]:animate-accordion-up ttw:data-[state=open]:animate-accordion-down ttw:overflow-hidden ttw:text-sm", ...n, children: /* @__PURE__ */ e("div", { className: a("ttw:pt-0 ttw:pb-4", t), children: o }) });
|
|
7
|
+
return /* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-4 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0", children: [
|
|
8
|
+
/* @__PURE__ */ t(e, { component: "span", variant: "body2", color: "muted", className: "ttw:w-40 ttw:shrink-0", children: r }),
|
|
9
|
+
/* @__PURE__ */ t(e, { component: "span", variant: "body2", className: "ttw:whitespace-pre-line", children: o })
|
|
10
|
+
] });
|
|
32
11
|
}
|
|
33
12
|
export {
|
|
34
|
-
|
|
35
|
-
f as AccordionContent,
|
|
36
|
-
m as AccordionItem,
|
|
37
|
-
u as AccordionTrigger
|
|
13
|
+
i as InvoiceDetailsInfoRow
|
|
38
14
|
};
|
|
@@ -1,84 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
})
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
...a
|
|
18
|
-
}) {
|
|
19
|
-
return /* @__PURE__ */ e(o.Overlay, { "data-slot": "dialog-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), ...a });
|
|
20
|
-
}
|
|
21
|
-
function v({
|
|
22
|
-
className: t,
|
|
23
|
-
children: a,
|
|
24
|
-
showCloseButton: r = !0,
|
|
25
|
-
fullScreen: i = !1,
|
|
26
|
-
container: l = typeof document < "u" ? document.body : null,
|
|
27
|
-
...d
|
|
28
|
-
}) {
|
|
29
|
-
return /* @__PURE__ */ n(u, { container: l, "data-slot": "dialog-portal", children: [
|
|
30
|
-
/* @__PURE__ */ e(m, {}),
|
|
31
|
-
/* @__PURE__ */ n(
|
|
32
|
-
o.Content,
|
|
33
|
-
{
|
|
34
|
-
"data-slot": "dialog-content",
|
|
35
|
-
className: s("ttw:bg-background 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:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:fixed ttw:top-[50%] ttw:left-[50%] ttw:z-1300 ttw:grid ttw:w-full ttw:max-w-[calc(100%-2rem)] ttw:translate-x-[-50%] ttw:translate-y-[-50%] ttw:gap-4 ttw:rounded-lg ttw:border ttw:p-6 ttw:shadow-lg ttw:duration-200 ttw:sm:max-w-lg", i && "ttw:border-none ttw:rounded-none ttw:h-screen ttw:max-w-screen ttw:sm:max-w-screen", t),
|
|
36
|
-
...d,
|
|
37
|
-
onCloseAutoFocus: (w) => {
|
|
38
|
-
w.preventDefault(), (l ?? document.body).style.pointerEvents = "";
|
|
39
|
-
},
|
|
40
|
-
children: [
|
|
41
|
-
a,
|
|
42
|
-
r && /* @__PURE__ */ n(o.Close, { "data-slot": "dialog-close", className: "ttw:ring-offset-background ttw:focus:ring-ring ttw:data-[state=open]:bg-accent ttw:data-[state=open]:text-muted-foreground 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:disabled:pointer-events-none ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", children: [
|
|
43
|
-
/* @__PURE__ */ e(c, {}),
|
|
44
|
-
/* @__PURE__ */ e("span", { className: "ttw:sr-only", children: "Close" })
|
|
45
|
-
] })
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
)
|
|
1
|
+
import { jsxs as i, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Typography as r } from "./index85.js";
|
|
3
|
+
import { ChevronRight as s } from "lucide-react";
|
|
4
|
+
function d({
|
|
5
|
+
label: e,
|
|
6
|
+
name: o,
|
|
7
|
+
onOpenCounterpart: n
|
|
8
|
+
}) {
|
|
9
|
+
const a = "ttw:flex ttw:items-center ttw:gap-4 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0";
|
|
10
|
+
return n ? /* @__PURE__ */ i("button", { type: "button", onClick: n, "aria-haspopup": "dialog", className: `ttw:group ttw:w-full ttw:cursor-pointer ttw:rounded-sm ttw:text-left ttw:outline-none ttw:focus-visible:ring-ring/50 ttw:focus-visible:ring-[3px] ${a}`, children: [
|
|
11
|
+
/* @__PURE__ */ t(r, { component: "span", variant: "body2", color: "muted", className: "ttw:w-40 ttw:shrink-0", children: e }),
|
|
12
|
+
/* @__PURE__ */ t(r, { component: "span", variant: "body2", color: "primary", className: "ttw:underline-offset-4 ttw:group-hover:underline", children: o }),
|
|
13
|
+
/* @__PURE__ */ t(s, { className: "ttw:ml-auto ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground", "aria-hidden": "true" })
|
|
14
|
+
] }) : /* @__PURE__ */ i("div", { className: a, children: [
|
|
15
|
+
/* @__PURE__ */ t(r, { component: "span", variant: "body2", color: "muted", className: "ttw:w-40 ttw:shrink-0", children: e }),
|
|
16
|
+
/* @__PURE__ */ t(r, { component: "span", variant: "body2", children: o })
|
|
49
17
|
] });
|
|
50
18
|
}
|
|
51
|
-
function b({
|
|
52
|
-
className: t,
|
|
53
|
-
...a
|
|
54
|
-
}) {
|
|
55
|
-
return /* @__PURE__ */ e("div", { "data-slot": "dialog-header", className: s("ttw:flex ttw:flex-col ttw:gap-2 ttw:text-center ttw:sm:text-left", t), ...a });
|
|
56
|
-
}
|
|
57
|
-
function h({
|
|
58
|
-
className: t,
|
|
59
|
-
...a
|
|
60
|
-
}) {
|
|
61
|
-
return /* @__PURE__ */ e("div", { "data-slot": "dialog-footer", className: s("ttw:flex ttw:flex-col-reverse ttw:gap-2 ttw:sm:flex-row ttw:sm:justify-end", t), ...a });
|
|
62
|
-
}
|
|
63
|
-
function y({
|
|
64
|
-
className: t,
|
|
65
|
-
...a
|
|
66
|
-
}) {
|
|
67
|
-
return /* @__PURE__ */ e(o.Title, { "data-slot": "dialog-title", className: s("ttw:text-lg ttw:leading-none ttw:font-semibold", t), ...a });
|
|
68
|
-
}
|
|
69
|
-
function N({
|
|
70
|
-
className: t,
|
|
71
|
-
...a
|
|
72
|
-
}) {
|
|
73
|
-
return /* @__PURE__ */ e(o.Description, { "data-slot": "dialog-description", className: s("ttw:text-muted-foreground ttw:text-sm", t), ...a });
|
|
74
|
-
}
|
|
75
19
|
export {
|
|
76
|
-
|
|
77
|
-
v as DialogContent,
|
|
78
|
-
N as DialogDescription,
|
|
79
|
-
h as DialogFooter,
|
|
80
|
-
b as DialogHeader,
|
|
81
|
-
m as DialogOverlay,
|
|
82
|
-
u as DialogPortal,
|
|
83
|
-
y as DialogTitle
|
|
20
|
+
d as InvoiceDetailsCustomerRow
|
|
84
21
|
};
|
|
@@ -1,36 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
return /* @__PURE__ */ i(o.Portal, { children: /* @__PURE__ */ n(o.Content, { "data-slot": "tooltip-content", sideOffset: r, className: d("ttw:bg-primary ttw:text-primary-foreground ttw:animate-in ttw:fade-in-0 ttw:zoom-in-95 ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:z-1300 ttw:w-fit ttw:origin-(--radix-tooltip-content-transform-origin) ttw:rounded-md ttw:px-3 ttw:py-1.5 ttw:text-xs ttw:text-balance", t), ...e, children: [
|
|
27
|
-
a,
|
|
28
|
-
/* @__PURE__ */ i(o.Arrow, { className: "ttw:bg-primary ttw:fill-primary ttw:z-1300 ttw:size-2.5 ttw:translate-y-[calc(-50%_-_2px)] ttw:rotate-45 ttw:rounded-[2px]" })
|
|
29
|
-
] }) });
|
|
30
|
-
}
|
|
1
|
+
import { jsx as s } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useGetReceivableById as r } from "./index82.js";
|
|
3
|
+
import { useCancelReceivableById as m } from "./index358.js";
|
|
4
|
+
import { ConfirmationModal as d } from "./index255.js";
|
|
5
|
+
import { useLingui as u } from "@lingui/react";
|
|
6
|
+
const v = ({
|
|
7
|
+
invoiceId: o,
|
|
8
|
+
open: c,
|
|
9
|
+
onClose: i
|
|
10
|
+
}) => {
|
|
11
|
+
const {
|
|
12
|
+
i18n: e
|
|
13
|
+
} = u(), {
|
|
14
|
+
data: n,
|
|
15
|
+
isLoading: t
|
|
16
|
+
} = r(o), a = m(o);
|
|
17
|
+
if (!n)
|
|
18
|
+
return null;
|
|
19
|
+
const l = n.document_id ? e._("Cancel receivable") + ` "${n?.document_id}"?` : e._("Cancel receivable?");
|
|
20
|
+
return /* @__PURE__ */ s(d, { open: c && !!o, title: l, message: e._("This action can't be undone."), confirmLabel: e._("Cancel"), cancelLabel: e._("Close"), onClose: i, onConfirm: () => {
|
|
21
|
+
a.mutate(void 0, {
|
|
22
|
+
onSuccess: i
|
|
23
|
+
});
|
|
24
|
+
}, isLoading: a.isPending || t });
|
|
25
|
+
};
|
|
31
26
|
export {
|
|
32
|
-
|
|
33
|
-
f as TooltipContent,
|
|
34
|
-
s as TooltipProvider,
|
|
35
|
-
p as TooltipTrigger
|
|
27
|
+
v as InvoiceCancelModal
|
|
36
28
|
};
|
|
@@ -1,68 +1,42 @@
|
|
|
1
|
-
import "@
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "@
|
|
9
|
-
import "
|
|
10
|
-
import "
|
|
11
|
-
import "
|
|
12
|
-
import "
|
|
13
|
-
import {
|
|
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
|
-
canceled: t,
|
|
41
|
-
completed: a
|
|
42
|
-
}, k = {
|
|
43
|
-
default: "ttw:text-foreground",
|
|
44
|
-
danger: "ttw:text-red-600",
|
|
45
|
-
success: "ttw:text-emerald-600",
|
|
46
|
-
muted: "ttw:text-muted-foreground"
|
|
47
|
-
}, v = "ttw:bg-muted ttw:text-muted-foreground ttw:hover:bg-accent", H = 500, b = [
|
|
48
|
-
"application/pdf",
|
|
49
|
-
"image/jpeg",
|
|
50
|
-
"image/png",
|
|
51
|
-
"application/msword",
|
|
52
|
-
// .doc
|
|
53
|
-
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
54
|
-
// .docx
|
|
55
|
-
], y = ["pdf", "jpg", "jpeg", "png", "doc", "docx"], F = 3, L = 10;
|
|
1
|
+
import { jsx as p } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useDeleteReceivableById as u } from "./index359.js";
|
|
3
|
+
import { useComponentSettings as f } from "./index67.js";
|
|
4
|
+
import { useUserPermissions as v } from "./index130.js";
|
|
5
|
+
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
6
|
+
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
+
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
8
|
+
import "@tanstack/react-query";
|
|
9
|
+
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
10
|
+
import { Scope as b } from "../../shared/data-access/dist/lib/scopes.js";
|
|
11
|
+
import "react";
|
|
12
|
+
import { ConfirmationModal as C } from "./index255.js";
|
|
13
|
+
import { useLingui as D } from "@lingui/react";
|
|
14
|
+
import { toast as I } from "react-hot-toast";
|
|
15
|
+
const H = ({
|
|
16
|
+
open: r,
|
|
17
|
+
onClose: o,
|
|
18
|
+
invoiceId: t,
|
|
19
|
+
onDelete: n,
|
|
20
|
+
documentId: i
|
|
21
|
+
}) => {
|
|
22
|
+
const {
|
|
23
|
+
i18n: e
|
|
24
|
+
} = D(), {
|
|
25
|
+
receivablesCallbacks: s
|
|
26
|
+
} = f(), {
|
|
27
|
+
mutate: m,
|
|
28
|
+
isPending: a
|
|
29
|
+
} = u(t), l = v().has(b.InvoiceWriteOrg), c = () => {
|
|
30
|
+
l ? m(void 0, {
|
|
31
|
+
onSuccess: () => {
|
|
32
|
+
s?.onDelete?.(t), n?.(), o();
|
|
33
|
+
}
|
|
34
|
+
}) : I.error(e._("You don't have permission to delete this document. Please, contact your system administrator for details."));
|
|
35
|
+
}, d = i ? e._("Delete receivable “{documentId}”?", {
|
|
36
|
+
documentId: i
|
|
37
|
+
}) : e._("Delete receivable?");
|
|
38
|
+
return /* @__PURE__ */ p(C, { open: r, title: d, message: e._("This action can't be undone."), confirmLabel: e._("Delete"), cancelLabel: e._("Cancel"), onClose: o, onConfirm: c, isLoading: a });
|
|
39
|
+
};
|
|
56
40
|
export {
|
|
57
|
-
|
|
58
|
-
y as ATTACHMENT_ACCEPTED_EXTENSIONS,
|
|
59
|
-
b as ATTACHMENT_ACCEPTED_FORMATS,
|
|
60
|
-
L as ATTACHMENT_MAX_FILE_COUNT,
|
|
61
|
-
F as ATTACHMENT_MAX_FILE_SIZE_MB,
|
|
62
|
-
H as HEADER_TOOLTIP_DELAY,
|
|
63
|
-
P as INVOICE_DOCUMENT_AUTO_ID,
|
|
64
|
-
D as RECURRENCE_STATUS_ICON,
|
|
65
|
-
U as STATUS_ICON,
|
|
66
|
-
k as amountValueToneClass,
|
|
67
|
-
v as headerIconButtonClass
|
|
41
|
+
H as InvoiceDeleteModal
|
|
68
42
|
};
|