@tesouro/embedded-components-react 0.2.18 → 0.2.20
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 +9 -14
- package/dist/lib/ReceivablesWidget.js +30 -28
- package/dist/lib/monite-sdk.d.ts +3 -3
- package/dist/lib/monite-sdk.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +30 -28
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +13 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +25 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1271 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +23 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +32 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +97 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +57 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +25 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +75 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +6 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +9 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +33 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +32 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +12 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +117 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +8 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +46 -118
- 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 +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +43 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +147 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +56 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +69 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +24 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +3 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +61 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +39 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +78 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +5 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +22 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +8 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +19 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +21 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +2 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +12 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +19 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +21 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +27 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +114 -194
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +70 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +12 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +45 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +75 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +58 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +193 -246
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +14 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +75 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +28 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +39 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +7 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +245 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +177 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +14 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +117 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +83 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +101 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +107 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +58 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +62 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +86 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +47 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +34 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +113 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +69 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +186 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +31 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +120 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +59 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +23 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +27 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +18 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +12 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +8 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +5 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +6 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +44 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +366 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +19 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +12 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +90 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +26 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +86 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +96 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +13 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +23 -361
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +358 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +69 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +2 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +407 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +100 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +24 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +5 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +211 -7
- 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 +10 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +342 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +302 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +99 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +162 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +262 -72
- 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 +25 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +2 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +96 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +96 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +192 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +7 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +33 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +142 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +86 -19
- 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 +20 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +183 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +26 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +34 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +45 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +28 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +5 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +73 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +32 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +19 -7
- 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 +488 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +162 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +40 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +59 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +31 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +114 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +21 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +42 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +52 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +12 -11
- 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 +43 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +13 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +76 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +36 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +48 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +34 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +54 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +344 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +19 -19
- 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 +11 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +18 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +32 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +36 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +36 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +15 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +17 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +11 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +26 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +37 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +2 -2
- 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 +52 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +30 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +96 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +47 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +23 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +22 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +51 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +27 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +57 -109
- 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 +15 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +75 -489
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +39 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +73 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +149 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +10 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +19 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +44 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +37 -6
- 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 +44 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +40 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +20 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +6 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +100 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +21 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +29 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +52 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +39 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +17 -52
- 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 +57 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +12 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +90 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +128 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +16 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +36 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +40 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +62 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +67 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +157 -14
- 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 +27 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +28 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +77 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +28 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +119 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +19 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +28 -190
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +38 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +63 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +93 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +112 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +88 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +20 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +15 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +19 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +159 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +133 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +157 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +10 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +19 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +60 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +62 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +54 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +7 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +8 -287
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +56 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +24 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +57 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +14 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +61 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +44 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +23 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +175 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +108 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +82 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +287 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +46 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +15 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +86 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +221 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +45 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +48 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +111 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +117 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +16 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +16 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +73 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +11 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +31 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +4 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +127 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +96 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +35 -16
- 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 +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +255 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +32 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +33 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +23 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +15 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +72 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +94 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +35 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +7 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +49 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +15 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +9 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +11 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +46 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +16 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +24 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +37 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +104 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +112 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +8 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +56 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +11 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +67 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +45 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +5 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +67 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +20 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +15 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +21 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +61 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +20 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +2 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +53 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +35 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +24 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +72 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +66 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +12 -75
- 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 +31 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +85 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +21 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +27 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +24 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +72 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +83 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +55 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +51 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +52 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +29 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +55 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +37 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +47 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +56 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +71 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +20 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +27 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +39 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +50 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +92 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +15 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +74 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +20 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +9 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +17 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +82 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +41 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +36 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +13 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +48 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +57 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +29 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +30 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +52 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +68 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +40 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +18 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +15 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +70 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +42 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +54 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +58 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +45 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +50 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +8 -8
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +43 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +29 -27
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/scopes.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +30 -28
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index2.js +50 -50
- package/package.json +2 -1
|
@@ -1,269 +1,347 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
/* @__PURE__ */ e(r, { children: t.document_id ?? "—" })
|
|
111
|
-
] }),
|
|
112
|
-
/* @__PURE__ */ i(l, { children: [
|
|
113
|
-
/* @__PURE__ */ e(s, { isRequired: c("counterpartName", d) && t?.ocr_status === null, children: a._("Vendor") }),
|
|
114
|
-
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(De, { counterpart: I, counterpartRawName: W, isCounterpartAIMatched: K, isCounterpartMatchingToOCRFound: X, isCounterpartLoading: J }) })
|
|
115
|
-
] }),
|
|
116
|
-
S && /* @__PURE__ */ i(l, { children: [
|
|
117
|
-
/* @__PURE__ */ e(s, { isRequired: c("contactPerson", d) && t?.ocr_status === null, children: a._("Contact person") }),
|
|
118
|
-
/* @__PURE__ */ e(r, { children: `${S.first_name} ${S.last_name}` })
|
|
119
|
-
] }),
|
|
120
|
-
N && /* @__PURE__ */ i(l, { children: [
|
|
121
|
-
/* @__PURE__ */ e(s, { isRequired: c("counterpartBankAccount", d, N?.name) && t?.ocr_status === null, children: a._("Bank account") }),
|
|
122
|
-
/* @__PURE__ */ e(r, { children: N.name })
|
|
123
|
-
] }),
|
|
124
|
-
j && /* @__PURE__ */ i(l, { children: [
|
|
125
|
-
/* @__PURE__ */ e(s, { isRequired: c("issueDate", d) && t?.ocr_status === null, children: a._("Issue date") }),
|
|
126
|
-
/* @__PURE__ */ e(r, { children: t.issued_at ? a.date(k(t.issued_at), _.dateFormat) : "—" })
|
|
127
|
-
] }),
|
|
128
|
-
/* @__PURE__ */ i(l, { children: [
|
|
129
|
-
/* @__PURE__ */ e(s, { isRequired: c("dueDate", d, t.due_date) && t?.ocr_status === null, children: a._("Due date") }),
|
|
130
|
-
/* @__PURE__ */ e(r, { children: t.due_date ? a.date(k(t.due_date), _.dateFormat) : "—" })
|
|
131
|
-
] }),
|
|
132
|
-
/* @__PURE__ */ i(l, { children: [
|
|
133
|
-
/* @__PURE__ */ e(s, { isRequired: c("amount", d) && t?.ocr_status === null, children: a._("Total") }),
|
|
134
|
-
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(h, { sx: {
|
|
135
|
-
display: "flex",
|
|
136
|
-
justifyContent: "space-between"
|
|
137
|
-
}, children: /* @__PURE__ */ e(h, { children: t.total_amount && t.currency ? o(t.total_amount, t.currency) : t.currency ? o(0, t.currency) : "—" }) }) })
|
|
138
|
-
] }),
|
|
139
|
-
E && /* @__PURE__ */ i(l, { children: [
|
|
140
|
-
/* @__PURE__ */ e(s, { isRequired: c("tags", d, t.tags?.[0]?.id) && t?.ocr_status === null, children: a._("Tags") }),
|
|
141
|
-
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ i(v, { direction: "row", gap: 1, children: [
|
|
142
|
-
/* @__PURE__ */ e(h, { sx: {
|
|
143
|
-
width: "100%"
|
|
144
|
-
}, children: t.tags?.length ? /* @__PURE__ */ e(v, { spacing: 1, direction: "row", useFlexGap: !0, flexWrap: "wrap", children: t.tags.map((n) => /* @__PURE__ */ e(z, { label: n.name, color: "primary", sx: {
|
|
145
|
-
maxWidth: 200
|
|
146
|
-
} }, n.id)) }) : /* @__PURE__ */ e(u, { variant: "body2", sx: {
|
|
147
|
-
marginTop: 1
|
|
148
|
-
}, children: a._("Not set") }) }),
|
|
149
|
-
/* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(Re, { "aria-label": a._("Edit tags"), size: "small", onClick: () => F(!0), children: /* @__PURE__ */ e(Te, { fontSize: "small" }) }) })
|
|
150
|
-
] }) })
|
|
151
|
-
] }),
|
|
152
|
-
/* @__PURE__ */ i(l, { children: [
|
|
153
|
-
/* @__PURE__ */ e(s, { isRequired: c("appliedPolicy", d) && t?.ocr_status === null, children: a._("Applied policy") }),
|
|
154
|
-
/* @__PURE__ */ e(r, { children: !q && b?.name ? /* @__PURE__ */ i(h, { sx: {
|
|
155
|
-
display: "flex",
|
|
156
|
-
alignItems: "center",
|
|
157
|
-
gap: 1
|
|
158
|
-
}, children: [
|
|
159
|
-
/* @__PURE__ */ e("span", { children: b.name }),
|
|
160
|
-
(t.status === "waiting_to_be_paid" || t.status === "paid" || t.status === "partially_paid") && /* @__PURE__ */ e(z, { label: a._("Approved"), color: "success", size: "small" })
|
|
161
|
-
] }) : !q && a._("no policy") })
|
|
162
|
-
] })
|
|
163
|
-
] }) }) })
|
|
164
|
-
] }),
|
|
165
|
-
te && b && /* @__PURE__ */ e(y, { item: !0, xs: 12, children: /* @__PURE__ */ e(me, { approvalPolicy: b, payableId: t.id, currentStatus: t.status }) }),
|
|
166
|
-
/* @__PURE__ */ i(y, { item: !0, xs: 12, className: m + "-Items", children: [
|
|
167
|
-
/* @__PURE__ */ e(u, { variant: "subtitle2", mb: 2, children: a._("Items") }),
|
|
168
|
-
/* @__PURE__ */ e(C, { variant: "outlined", children: /* @__PURE__ */ i(T, { children: [
|
|
169
|
-
/* @__PURE__ */ e(Ie, { children: /* @__PURE__ */ i(l, { children: [
|
|
170
|
-
/* @__PURE__ */ e(r, { children: a._("Name") }),
|
|
171
|
-
/* @__PURE__ */ e(r, { children: a._("Quantity") }),
|
|
172
|
-
/* @__PURE__ */ e(r, { children: a._("Price") }),
|
|
173
|
-
/* @__PURE__ */ e(r, { align: "right", children: a._("Total, tax") })
|
|
174
|
-
] }) }),
|
|
175
|
-
/* @__PURE__ */ e(w, { children: ee?.map((n) => /* @__PURE__ */ i(l, { children: [
|
|
176
|
-
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ i(v, { children: [
|
|
177
|
-
/* @__PURE__ */ e(h, { children: n.name }),
|
|
178
|
-
f && n.ledger_account_id && /* @__PURE__ */ e(u, { variant: "body2", color: "secondary.main", children: Z(n.ledger_account_id) })
|
|
179
|
-
] }) }),
|
|
180
|
-
/* @__PURE__ */ e(r, { children: n.quantity }),
|
|
181
|
-
/* @__PURE__ */ e(r, { children: n.unit_price ? o(n.unit_price, t.currency ?? "USD") : "—" }),
|
|
182
|
-
/* @__PURE__ */ e(r, { align: "right", children: n.subtotal && t.currency ? /* @__PURE__ */ i(U, { children: [
|
|
183
|
-
/* @__PURE__ */ e(h, { children: o(n.subtotal ?? 0, t.currency) }),
|
|
184
|
-
/* @__PURE__ */ i(h, { sx: {
|
|
185
|
-
color: "secondary.main"
|
|
186
|
-
}, children: [
|
|
187
|
-
a._("excl. Tax"),
|
|
188
|
-
" ",
|
|
189
|
-
`${n.tax ? (n.tax / 100).toFixed(0) : 0}%`
|
|
190
|
-
] })
|
|
191
|
-
] }) : t.currency ? o(0, t.currency) : "—" })
|
|
192
|
-
] }, n.id)) })
|
|
193
|
-
] }) })
|
|
194
|
-
] }),
|
|
195
|
-
/* @__PURE__ */ e(y, { item: !0, xs: 12, className: m + "-Totals", children: /* @__PURE__ */ e(C, { variant: "outlined", children: /* @__PURE__ */ e(T, { children: /* @__PURE__ */ i(w, { children: [
|
|
196
|
-
/* @__PURE__ */ i(l, { children: [
|
|
197
|
-
/* @__PURE__ */ e(r, { children: a._("Subtotal") }),
|
|
198
|
-
/* @__PURE__ */ e(r, { align: "right", children: t.subtotal && t.currency ? o(t.subtotal, t.currency) : t.currency ? o(0, t.currency) : "—" })
|
|
199
|
-
] }),
|
|
200
|
-
!!t.discount && t.currency && /* @__PURE__ */ i(l, { children: [
|
|
201
|
-
/* @__PURE__ */ e(r, { children: a._("Discount") }),
|
|
202
|
-
/* @__PURE__ */ e(r, { align: "right", children: o(t.discount ?? 0, t.currency) })
|
|
203
|
-
] }),
|
|
204
|
-
/* @__PURE__ */ i(l, { children: [
|
|
205
|
-
/* @__PURE__ */ e(r, { children: a._("Tax Total") }),
|
|
206
|
-
/* @__PURE__ */ e(r, { align: "right", children: t.tax_amount && t.currency ? o(t.tax_amount, t.currency) : t.currency ? o(0, t.currency) : "—" })
|
|
207
|
-
] }),
|
|
208
|
-
/* @__PURE__ */ i(l, { children: [
|
|
209
|
-
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(u, { variant: "subtitle1", children: a._("Total") }) }),
|
|
210
|
-
/* @__PURE__ */ e(r, { align: "right", children: /* @__PURE__ */ e(u, { variant: "subtitle1", children: t.total_amount && t.currency ? o(t.total_amount, t.currency) : t.currency ? o(0, t.currency) : "—" }) })
|
|
211
|
-
] })
|
|
212
|
-
] }) }) }) }),
|
|
213
|
-
/* @__PURE__ */ i(y, { item: !0, xs: 12, className: m + "-History", children: [
|
|
214
|
-
/* @__PURE__ */ e(u, { variant: "subtitle2", mb: 2, children: a._("History") }),
|
|
215
|
-
/* @__PURE__ */ e(C, { variant: "outlined", children: /* @__PURE__ */ e(T, { children: /* @__PURE__ */ i(w, { children: [
|
|
216
|
-
g && /* @__PURE__ */ i(l, { children: [
|
|
217
|
-
/* @__PURE__ */ e(s, { isRequired: c("addedByUser", d) && t?.ocr_status === null, children: a._("Added by") }),
|
|
218
|
-
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(ue, { user: {
|
|
219
|
-
id: g.id,
|
|
220
|
-
first_name: g.first_name,
|
|
221
|
-
last_name: g.last_name,
|
|
222
|
-
userpic_file_id: g.userpic_file_id
|
|
223
|
-
}, showAvatar: !0, avatarSize: 24, typographyVariant: "body2" }) })
|
|
224
|
-
] }),
|
|
225
|
-
/* @__PURE__ */ i(l, { children: [
|
|
226
|
-
/* @__PURE__ */ e(s, { isRequired: c("addedOn", d) && t?.ocr_status === null, children: a._("Added on") }),
|
|
227
|
-
/* @__PURE__ */ e(r, { children: t.created_at ? a.date(t.created_at, {
|
|
228
|
-
dateStyle: "short",
|
|
229
|
-
timeStyle: "short"
|
|
230
|
-
}) : "—" })
|
|
231
|
-
] }),
|
|
232
|
-
/* @__PURE__ */ i(l, { children: [
|
|
233
|
-
/* @__PURE__ */ e(s, { isRequired: c("updatedOn", d) && t?.ocr_status === null, children: a._("Last updated on") }),
|
|
234
|
-
/* @__PURE__ */ e(r, { children: t.updated_at ? a.date(t.updated_at, {
|
|
235
|
-
dateStyle: "short",
|
|
236
|
-
timeStyle: "short"
|
|
237
|
-
}) : "—" })
|
|
238
|
-
] })
|
|
239
|
-
] }) }) })
|
|
240
|
-
] })
|
|
241
|
-
] }),
|
|
242
|
-
/* @__PURE__ */ e(xe, { opened: ae, value: t.tags || [], updateTags: R, onClose: () => F(!1) })
|
|
243
|
-
] });
|
|
244
|
-
}, De = ({
|
|
245
|
-
counterpart: t,
|
|
246
|
-
counterpartRawName: f,
|
|
247
|
-
isCounterpartAIMatched: R,
|
|
248
|
-
isCounterpartMatchingToOCRFound: x,
|
|
249
|
-
isCounterpartLoading: a
|
|
250
|
-
}) => {
|
|
251
|
-
const {
|
|
252
|
-
i18n: _
|
|
253
|
-
} = Q();
|
|
254
|
-
if (a)
|
|
255
|
-
return /* @__PURE__ */ e(Se, { size: 14, color: "secondary" });
|
|
256
|
-
const o = he(t);
|
|
257
|
-
return o && !x ? /* @__PURE__ */ i(v, { component: "span", gap: 1, direction: "row", children: [
|
|
258
|
-
o,
|
|
259
|
-
R && /* @__PURE__ */ e(G, { title: _._("Vendor auto-matched by AI. The vendor name on the bill doesn’t exactly match the saved vendor, so AI selected the closest option."), children: /* @__PURE__ */ e(Pe, { className: "ttw:text-blue-600" }) })
|
|
260
|
-
] }) : f ? /* @__PURE__ */ i(v, { component: "span", gap: 1, direction: "row", children: [
|
|
261
|
-
f,
|
|
262
|
-
/* @__PURE__ */ e(G, { title: x ? _._("The vendor details in the bill don’t fully match the saved vendor.") : _._("The specified vendor has not been saved yet."), children: /* @__PURE__ */ e(we, { color: "warning", fontSize: "small", sx: {
|
|
263
|
-
alignSelf: "center"
|
|
264
|
-
} }) })
|
|
265
|
-
] }) : /* @__PURE__ */ e(U, { children: "—" });
|
|
1
|
+
import { getCountries as F } from "./index95.js";
|
|
2
|
+
import "date-fns";
|
|
3
|
+
import { rateMinorToMajor as H } from "./index211.js";
|
|
4
|
+
import { getDaysOverdue as N } from "./index412.js";
|
|
5
|
+
const Q = (e, r) => {
|
|
6
|
+
switch (r) {
|
|
7
|
+
case "draft":
|
|
8
|
+
return e._("Draft");
|
|
9
|
+
case "issuing":
|
|
10
|
+
return e._("Issuing");
|
|
11
|
+
case "issued":
|
|
12
|
+
return e._("Issued");
|
|
13
|
+
case "partially_paid":
|
|
14
|
+
return e._("Issued");
|
|
15
|
+
case "paid":
|
|
16
|
+
return e._("Paid");
|
|
17
|
+
case "overdue":
|
|
18
|
+
return e._("Overdue");
|
|
19
|
+
case "uncollectible":
|
|
20
|
+
return e._("Written off");
|
|
21
|
+
case "canceled":
|
|
22
|
+
return e._("Cancelled");
|
|
23
|
+
case "recurring":
|
|
24
|
+
return e._("Recurring");
|
|
25
|
+
case "expired":
|
|
26
|
+
return e._("Expired");
|
|
27
|
+
case "declined":
|
|
28
|
+
return e._("Declined");
|
|
29
|
+
case "accepted":
|
|
30
|
+
return e._("Accepted");
|
|
31
|
+
case "deleted":
|
|
32
|
+
return e._("Deleted");
|
|
33
|
+
default:
|
|
34
|
+
return e._("Unknown");
|
|
35
|
+
}
|
|
36
|
+
}, v = (e, r) => {
|
|
37
|
+
switch (r) {
|
|
38
|
+
case "day":
|
|
39
|
+
return e._("Daily");
|
|
40
|
+
case "week":
|
|
41
|
+
return e._("Weekly");
|
|
42
|
+
case "month":
|
|
43
|
+
return e._("Monthly");
|
|
44
|
+
case "quarter":
|
|
45
|
+
return e._("Quarterly");
|
|
46
|
+
case "year":
|
|
47
|
+
return e._("Yearly");
|
|
48
|
+
default:
|
|
49
|
+
return "";
|
|
50
|
+
}
|
|
51
|
+
}, U = (e, r) => {
|
|
52
|
+
switch (r) {
|
|
53
|
+
case "day":
|
|
54
|
+
return e._("each day");
|
|
55
|
+
case "week":
|
|
56
|
+
return e._("each week");
|
|
57
|
+
case "month":
|
|
58
|
+
return e._("each month");
|
|
59
|
+
case "quarter":
|
|
60
|
+
return e._("each quarter");
|
|
61
|
+
case "year":
|
|
62
|
+
return e._("each year");
|
|
63
|
+
default:
|
|
64
|
+
return "";
|
|
65
|
+
}
|
|
66
|
+
}, V = ["issued", "overdue", "partially_paid", "paid", "uncollectible"], X = {
|
|
67
|
+
// Draft keeps both the issue-only ("Issue") and issue-and-email ("Issue and
|
|
68
|
+
// send") flows the legacy panel offered. This intentionally diverges from the
|
|
69
|
+
// current Figma (which has no email design yet) per David's QA — the send
|
|
70
|
+
// flow must survive the redesign. Revisit when the email flow is redesigned.
|
|
71
|
+
draft: {
|
|
72
|
+
primary: ["edit", "issue", "issueAndSend"],
|
|
73
|
+
overflow: ["clone", "delete"]
|
|
74
|
+
},
|
|
75
|
+
issued: {
|
|
76
|
+
primary: ["recordPayment"],
|
|
77
|
+
overflow: ["clone", "send", "cancel"]
|
|
78
|
+
},
|
|
79
|
+
// Overdue keeps the write-off (mark uncollectible) action the legacy exposed.
|
|
80
|
+
overdue: {
|
|
81
|
+
primary: ["recordPayment"],
|
|
82
|
+
overflow: ["clone", "send", "cancel", "markUncollectible"]
|
|
83
|
+
},
|
|
84
|
+
// No cancel: the backend rejects cancelling a partially-paid invoice with a
|
|
85
|
+
// 409 ("Only invoices in issued and overdue statuses can be canceled"), so
|
|
86
|
+
// offering it here would be a dead-end error toast. Matches the legacy
|
|
87
|
+
// actions, which gated Cancel to issued/overdue only.
|
|
88
|
+
partially_paid: {
|
|
89
|
+
primary: ["recordPayment"],
|
|
90
|
+
overflow: ["clone", "send"]
|
|
91
|
+
},
|
|
92
|
+
paid: {
|
|
93
|
+
primary: [],
|
|
94
|
+
overflow: ["clone"]
|
|
95
|
+
},
|
|
96
|
+
canceled: {
|
|
97
|
+
primary: [],
|
|
98
|
+
overflow: ["clone"]
|
|
99
|
+
},
|
|
100
|
+
uncollectible: {
|
|
101
|
+
primary: [],
|
|
102
|
+
overflow: ["clone"]
|
|
103
|
+
},
|
|
104
|
+
// The recurring master's series actions (pause/resume/cancel) are derived
|
|
105
|
+
// from the recurrence status below, not statically.
|
|
106
|
+
recurring: {
|
|
107
|
+
primary: [],
|
|
108
|
+
overflow: []
|
|
109
|
+
}
|
|
266
110
|
};
|
|
111
|
+
function K(e, r, I, {
|
|
112
|
+
i18n: a,
|
|
113
|
+
formatCurrencyToDisplay: k,
|
|
114
|
+
locale: D
|
|
115
|
+
}, L = !1) {
|
|
116
|
+
const P = e.currency, n = (t) => k(t ?? 0, P) ?? "", c = (t) => t ? a.date(t, D.dateFormat) : "-", u = e.status, b = u === "canceled", d = u === "overdue", y = e.tax_mode === "inclusive", x = !!e.recurrence_id || u === "recurring", i = u === "recurring" && !!r, A = !!e.recurrence_id && u !== "recurring", f = d ? N(e.due_date) : 0;
|
|
117
|
+
let s = "default";
|
|
118
|
+
const l = [];
|
|
119
|
+
switch (u) {
|
|
120
|
+
case "draft":
|
|
121
|
+
case "recurring":
|
|
122
|
+
l.push({
|
|
123
|
+
label: a._("Invoice amount"),
|
|
124
|
+
value: n(e.total_amount),
|
|
125
|
+
emphasis: !0
|
|
126
|
+
});
|
|
127
|
+
break;
|
|
128
|
+
case "issued":
|
|
129
|
+
case "overdue":
|
|
130
|
+
s = d ? "danger" : "default", l.push({
|
|
131
|
+
label: a._("Balance due"),
|
|
132
|
+
value: n(e.amount_due),
|
|
133
|
+
emphasis: !0
|
|
134
|
+
}), (e.amount_paid ?? 0) > 0 && l.push({
|
|
135
|
+
label: a._("Amount received"),
|
|
136
|
+
value: n(e.amount_paid),
|
|
137
|
+
tone: "success"
|
|
138
|
+
});
|
|
139
|
+
break;
|
|
140
|
+
case "partially_paid":
|
|
141
|
+
l.push({
|
|
142
|
+
label: a._("Balance due"),
|
|
143
|
+
value: n(e.amount_due),
|
|
144
|
+
emphasis: !0
|
|
145
|
+
}, {
|
|
146
|
+
label: a._("Amount received"),
|
|
147
|
+
value: n(e.amount_paid),
|
|
148
|
+
tone: "success"
|
|
149
|
+
});
|
|
150
|
+
break;
|
|
151
|
+
case "paid":
|
|
152
|
+
s = "success", l.push({
|
|
153
|
+
label: a._("Amount received"),
|
|
154
|
+
value: n(e.amount_paid),
|
|
155
|
+
emphasis: !0
|
|
156
|
+
});
|
|
157
|
+
break;
|
|
158
|
+
case "canceled":
|
|
159
|
+
s = "muted", l.push({
|
|
160
|
+
label: a._("Cancelled amount"),
|
|
161
|
+
value: n(e.total_amount),
|
|
162
|
+
emphasis: !0
|
|
163
|
+
});
|
|
164
|
+
break;
|
|
165
|
+
case "uncollectible":
|
|
166
|
+
s = "muted", l.push({
|
|
167
|
+
label: a._("Amount written off"),
|
|
168
|
+
value: n(e.amount_due),
|
|
169
|
+
emphasis: !0
|
|
170
|
+
});
|
|
171
|
+
break;
|
|
172
|
+
default:
|
|
173
|
+
l.push({
|
|
174
|
+
label: a._("Invoice amount"),
|
|
175
|
+
value: n(e.total_amount),
|
|
176
|
+
emphasis: !0
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
const _ = e.counterpart_contact, o = e.counterpart_billing_address, T = o?.country ? F(a)[o.country] : void 0, C = [o?.city, [o?.state, o?.postal_code].filter(Boolean).join(" ")].filter(Boolean).join(", "), h = o?.line1 ? [`${o.line1}${o.line2 ? ` ${o.line2}` : ""}`, C, T].filter(Boolean).join(", ") : void 0, m = [];
|
|
180
|
+
_?.email && m.push({
|
|
181
|
+
label: a._("Email"),
|
|
182
|
+
value: _.email
|
|
183
|
+
}), _?.phone && m.push({
|
|
184
|
+
label: a._("Phone"),
|
|
185
|
+
value: _.phone
|
|
186
|
+
}), h && m.push({
|
|
187
|
+
label: a._("Address"),
|
|
188
|
+
value: h
|
|
189
|
+
});
|
|
190
|
+
const w = !!(e.payment_reminder_id || e.overdue_reminder_id), R = i ? [{
|
|
191
|
+
label: a._("Frequency"),
|
|
192
|
+
value: r ? v(a, r.frequency) : "-"
|
|
193
|
+
}, {
|
|
194
|
+
label: a._("Invoice amount"),
|
|
195
|
+
value: n(e.total_amount)
|
|
196
|
+
}, {
|
|
197
|
+
label: a._("Payment terms"),
|
|
198
|
+
value: e.payment_terms?.name ?? "-"
|
|
199
|
+
}, {
|
|
200
|
+
label: a._("Payment reminders"),
|
|
201
|
+
value: w ? a._("Enabled") : a._("Disabled")
|
|
202
|
+
}, {
|
|
203
|
+
label: a._("PO number"),
|
|
204
|
+
value: e.purchase_order || a._("Not provided")
|
|
205
|
+
}] : [
|
|
206
|
+
// Invoice number is omitted until the invoice is issued: a draft has no
|
|
207
|
+
// number, so a placeholder ("Auto-generated") reads as misleading copy
|
|
208
|
+
// (EMBD-3835 QA item 2 — show no number field/reference for drafts).
|
|
209
|
+
...e.document_id ? [{
|
|
210
|
+
label: a._("Invoice number"),
|
|
211
|
+
value: e.document_id
|
|
212
|
+
}] : [],
|
|
213
|
+
{
|
|
214
|
+
label: a._("Invoice amount"),
|
|
215
|
+
value: n(e.total_amount)
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
label: a._("Invoice date"),
|
|
219
|
+
value: c(e.issue_date ?? e.created_at)
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
label: a._("Due date"),
|
|
223
|
+
value: c(e.due_date)
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
label: a._("Payment terms"),
|
|
227
|
+
value: e.payment_terms?.name ?? "-"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
label: a._("Payment reminders"),
|
|
231
|
+
value: w ? a._("Enabled") : a._("Disabled")
|
|
232
|
+
},
|
|
233
|
+
...e.purchase_order ? [{
|
|
234
|
+
label: a._("PO number"),
|
|
235
|
+
value: e.purchase_order
|
|
236
|
+
}] : []
|
|
237
|
+
], $ = (e.line_items ?? []).map((t, S) => {
|
|
238
|
+
const M = y ? t?.product?.price_after_tax?.value : t?.product?.price?.value, W = y ? t?.total_after_tax : t?.total_before_tax ?? (t?.product?.price?.value ?? 0) * (t?.quantity ?? 0);
|
|
239
|
+
return {
|
|
240
|
+
id: `${t?.product?.id ?? "item"}-${S}`,
|
|
241
|
+
name: t?.product?.name ?? "",
|
|
242
|
+
quantityLabel: String(t?.quantity ?? 0),
|
|
243
|
+
unitPriceLabel: n(M),
|
|
244
|
+
totalLabel: n(W)
|
|
245
|
+
};
|
|
246
|
+
}), O = [{
|
|
247
|
+
label: a._("Subtotal"),
|
|
248
|
+
value: n(e.subtotal)
|
|
249
|
+
}, ...(e.total_tax_amounts ?? []).map((t) => ({
|
|
250
|
+
label: a._("Tax ({rate}%)", {
|
|
251
|
+
rate: H(t?.value ?? 0)
|
|
252
|
+
}),
|
|
253
|
+
value: n(t?.amount)
|
|
254
|
+
})), {
|
|
255
|
+
label: a._("Total"),
|
|
256
|
+
value: n(e.total_amount),
|
|
257
|
+
emphasis: !0
|
|
258
|
+
}], B = V.includes(u) ? {
|
|
259
|
+
rows: I.map((t) => ({
|
|
260
|
+
id: t.id,
|
|
261
|
+
dateLabel: c(t.paid_at),
|
|
262
|
+
amountLabel: n(t.amount)
|
|
263
|
+
})),
|
|
264
|
+
// Total is the entity's amount_paid (authoritative), not a sum of
|
|
265
|
+
// `rows`: the records list may be partial/paginated, so summing rows
|
|
266
|
+
// could disagree with the true received total. Intentional.
|
|
267
|
+
totalLabel: n(e.amount_paid),
|
|
268
|
+
emptyTone: d ? "danger" : "default",
|
|
269
|
+
loading: L
|
|
270
|
+
} : void 0, j = i && r ? {
|
|
271
|
+
status: r.status,
|
|
272
|
+
amountLabel: n(e.total_amount),
|
|
273
|
+
amountPeriodLabel: U(a, r.frequency),
|
|
274
|
+
startsOnLabel: c(r.start_date),
|
|
275
|
+
endsOnLabel: r.end_date ? c(r.end_date) : "-",
|
|
276
|
+
scheduleTitle: a._("{frequency} schedule", {
|
|
277
|
+
frequency: v(a, r.frequency)
|
|
278
|
+
})
|
|
279
|
+
} : void 0, E = A && r ? {
|
|
280
|
+
title: a._("{name} - {frequency}", {
|
|
281
|
+
name: e.counterpart_name ?? a._("Invoice"),
|
|
282
|
+
frequency: v(a, r.frequency)
|
|
283
|
+
}),
|
|
284
|
+
invoiceId: r.invoice_id
|
|
285
|
+
} : void 0, g = X[u] ?? {
|
|
286
|
+
primary: [],
|
|
287
|
+
overflow: ["clone"]
|
|
288
|
+
};
|
|
289
|
+
let p = g.overflow;
|
|
290
|
+
if (i && r)
|
|
291
|
+
switch (r.status) {
|
|
292
|
+
case "active":
|
|
293
|
+
p = ["pauseRecurrence", "cancelRecurrence"];
|
|
294
|
+
break;
|
|
295
|
+
case "paused":
|
|
296
|
+
p = ["resumeRecurrence", "cancelRecurrence"];
|
|
297
|
+
break;
|
|
298
|
+
default:
|
|
299
|
+
p = [];
|
|
300
|
+
}
|
|
301
|
+
const q = e.counterpart_name ?? a._("Invoice");
|
|
302
|
+
return {
|
|
303
|
+
// Series master reads "{customer} - {frequency}"; everything else is the
|
|
304
|
+
// customer name.
|
|
305
|
+
title: i && r ? a._("{name} - {frequency}", {
|
|
306
|
+
name: q,
|
|
307
|
+
frequency: v(a, r.frequency)
|
|
308
|
+
}) : q,
|
|
309
|
+
status: u,
|
|
310
|
+
statusLabel: Q(a, u),
|
|
311
|
+
// Series master reads "Recurring series". Otherwise show the invoice
|
|
312
|
+
// number once issued; a draft has none so shows nothing (EMBD-3835 QA
|
|
313
|
+
// item 2).
|
|
314
|
+
subtitle: i ? a._("Recurring series") : e.document_id ? a._("Invoice: {number}", {
|
|
315
|
+
number: e.document_id
|
|
316
|
+
}) : void 0,
|
|
317
|
+
recurring: x,
|
|
318
|
+
overdueLabel: d && f > 0 ? a._("{days} days overdue", {
|
|
319
|
+
days: f
|
|
320
|
+
}) : void 0,
|
|
321
|
+
amountTone: s,
|
|
322
|
+
amountRows: l,
|
|
323
|
+
invoiceDateLabel: c(e.issue_date ?? e.created_at),
|
|
324
|
+
// No dedicated cancellation timestamp exists on InvoiceResponsePayload;
|
|
325
|
+
// updated_at is the closest proxy for "Cancelled on".
|
|
326
|
+
dueDateLabel: c(b ? e.updated_at : e.due_date),
|
|
327
|
+
dueDateCaption: b ? a._("Cancelled on") : a._("Due date"),
|
|
328
|
+
paymentHistory: B,
|
|
329
|
+
customerContact: m,
|
|
330
|
+
recurringSeries: j,
|
|
331
|
+
seriesLink: E,
|
|
332
|
+
billingItems: R,
|
|
333
|
+
lineItems: $,
|
|
334
|
+
lineItemTotals: O,
|
|
335
|
+
// memo = opening note; footer = closing note (rendered below the line
|
|
336
|
+
// items in the PDF).
|
|
337
|
+
notes: e.memo || e.footer ? {
|
|
338
|
+
opening: e.memo || void 0,
|
|
339
|
+
closing: e.footer || void 0
|
|
340
|
+
} : void 0,
|
|
341
|
+
primaryActions: g.primary,
|
|
342
|
+
overflowActions: p
|
|
343
|
+
};
|
|
344
|
+
}
|
|
267
345
|
export {
|
|
268
|
-
|
|
346
|
+
K as buildInvoiceDetailsView
|
|
269
347
|
};
|
|
@@ -1,27 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { useLingui as r } from "@lingui/react";
|
|
3
|
-
import a from "@mui/icons-material/AttachFile";
|
|
4
|
-
import { Box as t, Typography as n } from "@mui/material";
|
|
5
|
-
const h = () => {
|
|
6
|
-
const {
|
|
7
|
-
i18n: i
|
|
8
|
-
} = r();
|
|
9
|
-
return /* @__PURE__ */ e(t, { className: "Monite-PayableDetailsNoAttachedFile", sx: {
|
|
10
|
-
width: "100%",
|
|
11
|
-
height: "100%",
|
|
12
|
-
display: "flex",
|
|
13
|
-
flexDirection: "column",
|
|
14
|
-
justifyContent: "center",
|
|
15
|
-
textAlign: "center"
|
|
16
|
-
}, children: /* @__PURE__ */ o(t, { sx: {
|
|
17
|
-
margin: "auto"
|
|
18
|
-
}, children: [
|
|
19
|
-
/* @__PURE__ */ e(a, { color: "primary", fontSize: "large", sx: {
|
|
20
|
-
marginBottom: 2
|
|
21
|
-
} }),
|
|
22
|
-
/* @__PURE__ */ e(n, { color: "secondary", children: i._("This invoice doesn’t have a file attached.") })
|
|
23
|
-
] }) });
|
|
24
|
-
};
|
|
1
|
+
const t = (e) => e.preventDefault();
|
|
25
2
|
export {
|
|
26
|
-
|
|
3
|
+
t as preventTooltipFocusOpen
|
|
27
4
|
};
|