@tesouro/embedded-components-react 0.2.205 → 0.2.206
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/ReceivablesWidget.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +23 -23
- 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/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +2 -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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +35 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +1269 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +22 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +7 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +26 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +73 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +6 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +9 -32
- 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 +28 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +32 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +12 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +119 -216
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +217 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +7 -7
- 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 +10 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +12 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +46 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +11 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +150 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +22 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +13 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +18 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +19 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +2 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +20 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +113 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +66 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +11 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +91 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +99 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +15 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +12 -226
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +91 -462
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +57 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +9 -539
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +43 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +74 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +55 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +14 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +80 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +40 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +7 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +225 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +462 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +106 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +536 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +7 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +5 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +488 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +164 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +42 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +59 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +31 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +119 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +23 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +41 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +53 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +142 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +85 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +22 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +183 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +23 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +18 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +32 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +24 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +42 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +50 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +96 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +111 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +88 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +49 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +63 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +56 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +35 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +53 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +28 -360
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +77 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +32 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +10 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +76 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +76 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +42 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +17 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +18 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +167 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +132 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +66 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +158 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +12 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +18 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +62 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +67 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +57 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +6 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +9 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +58 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +59 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +14 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +60 -140
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +22 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +57 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +27 -489
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +55 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +17 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +36 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +81 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +34 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +360 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +117 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +6 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +17 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +10 -299
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +10 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +11 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +11 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +18 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +56 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +19 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +36 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +34 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +15 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +27 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +17 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +107 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +11 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +18 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +36 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +57 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +48 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +30 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +96 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +44 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +145 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +99 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +22 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +149 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +7 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +25 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +122 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +44 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +117 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +108 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +45 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +202 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +68 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +41 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +341 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +303 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +97 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +158 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +261 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +23 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +18 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +26 -200
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +4 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +15 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +31 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +33 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +32 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +12 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +22 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +19 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +40 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +95 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +96 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +208 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +127 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +157 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +28 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +27 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +56 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +34 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +11 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +255 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +122 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +18 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +16 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +16 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +16 -5
- 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 +54 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +33 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +20 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +71 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +16 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +3 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +16 -16
- 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 +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +46 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +12 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +50 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +49 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +16 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +64 -9
- 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 +17 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +20 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +13 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +26 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +45 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +33 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +66 -21
- 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 +21 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +116 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +80 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +7 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +66 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +47 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +25 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +20 -80
- 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 +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +50 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +95 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +35 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +79 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +17 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +83 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +265 -20
- 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 +34 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +65 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +43 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +21 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +139 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +93 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +10 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +7 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +2 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +278 -262
- 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 +47 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +15 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +35 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +40 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +66 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +92 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +11 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +9 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +5 -49
- 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 +28 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +38 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +31 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +4 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +125 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +46 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +36 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +45 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +69 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +80 -48
- 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 +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +53 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +51 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +29 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +54 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +8 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +81 -41
- 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 +38 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +18 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +14 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +32 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +85 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +24 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +103 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +109 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +72 -56
- 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 +68 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +35 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +12 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +41 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +37 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +15 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +52 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +28 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +22 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +37 -14
- 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 +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +51 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +59 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +29 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +26 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +92 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +14 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +75 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +9 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +68 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +39 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +51 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +52 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +19 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +47 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +7 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +39 -7
- 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 +1 -1
- 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/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/package.json +1 -1
|
@@ -1,99 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}, _ = {
|
|
12
|
-
due_date: "Due date",
|
|
13
|
-
created_at: "Created on",
|
|
14
|
-
issued_at: "Issue date"
|
|
15
|
-
}, L = [{
|
|
16
|
-
id: "date",
|
|
17
|
-
label: "Due date",
|
|
18
|
-
activeDateField: "due_date"
|
|
19
|
-
}, {
|
|
20
|
-
id: "date",
|
|
21
|
-
label: "Created on",
|
|
22
|
-
activeDateField: "created_at"
|
|
23
|
-
}, {
|
|
24
|
-
id: "date",
|
|
25
|
-
label: "Issue date",
|
|
26
|
-
activeDateField: "issued_at"
|
|
27
|
-
}, {
|
|
28
|
-
id: "status",
|
|
29
|
-
label: "Status",
|
|
30
|
-
activeDateField: void 0
|
|
31
|
-
}, {
|
|
32
|
-
id: "amount",
|
|
33
|
-
label: "Amount",
|
|
34
|
-
activeDateField: void 0
|
|
35
|
-
}, {
|
|
36
|
-
id: "vendor",
|
|
37
|
-
label: "Vendor",
|
|
38
|
-
activeDateField: void 0
|
|
39
|
-
}, {
|
|
40
|
-
id: "attachment",
|
|
41
|
-
label: "Attachment",
|
|
42
|
-
activeDateField: void 0
|
|
43
|
-
}];
|
|
44
|
-
function H(e) {
|
|
45
|
-
const {
|
|
46
|
-
i18n: i
|
|
47
|
-
} = v(), n = g(), s = n.isMenuOpen || !!n.activePanelId, r = n.activePanelId && A[n.activePanelId] || "ttw:w-52", d = e.allPresets.map((t) => ({
|
|
48
|
-
value: t.value,
|
|
49
|
-
label: t.label,
|
|
50
|
-
group: t.group
|
|
51
|
-
})), c = (t) => {
|
|
52
|
-
t || (n.closeMenu(), n.closePanel());
|
|
53
|
-
}, u = (t, l) => {
|
|
54
|
-
l && e.onActiveDateFieldChange(l), n.openPanel(t);
|
|
55
|
-
}, m = e.hasFile === !0 ? "has" : e.hasFile === !1 ? "no" : "any", h = (t) => {
|
|
56
|
-
t === "any" ? e.onHasFileChange(void 0) : t === "has" ? e.onHasFileChange(!0) : e.onHasFileChange(!1);
|
|
57
|
-
};
|
|
58
|
-
return /* @__PURE__ */ a(C, { className: "ttw:pl-4", searchSlot: /* @__PURE__ */ a(k, { value: e.searchValue, onChange: (t) => e.onSearchChange(t.target.value), placeholder: "Search by number or vendor..." }), menuSlot: /* @__PURE__ */ o(b, { open: s, onOpenChange: c, children: [
|
|
59
|
-
/* @__PURE__ */ a(F, { asChild: !0, children: /* @__PURE__ */ a(f, { activeCount: e.activeFilterCount, onClick: n.toggleMenu }) }),
|
|
60
|
-
/* @__PURE__ */ o(P, { align: "start", className: `ttw:p-0 ${r}`, children: [
|
|
61
|
-
n.isMenuOpen && /* @__PURE__ */ a("div", { className: "ttw:p-1", children: L.map((t, l) => /* @__PURE__ */ o("button", { type: "button", className: "ttw:flex ttw:items-center ttw:gap-2 ttw:w-full ttw:px-2 ttw:py-1.5 ttw:rounded-md ttw:text-xs ttw:font-medium ttw:hover:bg-accent ttw:transition-colors ttw:cursor-pointer", onClick: () => u(t.id, t.activeDateField), children: [
|
|
62
|
-
/* @__PURE__ */ a(p, { className: "ttw:size-4 ttw:text-muted-foreground ttw:shrink-0" }),
|
|
63
|
-
t.label
|
|
64
|
-
] }, `${t.id}-${l}`)) }),
|
|
65
|
-
n.activePanelId === "date" && /* @__PURE__ */ a(D, { from: e.dateFrom, to: e.dateTo, onRangeChange: e.onDateRangeChange, selectedPreset: e.selectedDatePreset, onPresetChange: e.onDatePresetChange, presets: d, fieldLabel: _[e.activeDateField] }),
|
|
66
|
-
n.activePanelId === "status" && /* @__PURE__ */ a(N, { options: e.statusOptions, selectedValues: e.selectedStatus, onSelectionChange: e.onStatusChange }),
|
|
67
|
-
n.activePanelId === "amount" && /* @__PURE__ */ a(M, { mode: e.amountMode, onModeChange: e.onAmountModeChange, min: e.amountMin, max: e.amountMax, onMinChange: e.onAmountMinChange, onMaxChange: e.onAmountMaxChange, showFlowDirection: !1, minLabel: "No less than", maxLabel: "No more than" }),
|
|
68
|
-
n.activePanelId === "vendor" && /* @__PURE__ */ o("div", { className: "ttw:p-3 ttw:flex ttw:flex-col ttw:gap-2", children: [
|
|
69
|
-
/* @__PURE__ */ a("p", { className: "ttw:text-xs ttw:font-medium ttw:text-muted-foreground", children: "Vendor name" }),
|
|
70
|
-
/* @__PURE__ */ a(y, { type: "text", value: e.vendorName, onChange: (t) => e.onVendorNameChange(t.target.value), placeholder: "Search vendors...", className: "ttw:h-8 ttw:text-xs" }),
|
|
71
|
-
/* @__PURE__ */ a("p", { className: "ttw:text-xs ttw:text-muted-foreground", children: i._("Matches names containing your search") })
|
|
72
|
-
] }),
|
|
73
|
-
n.activePanelId === "attachment" && /* @__PURE__ */ a("div", { className: "ttw:p-3", children: /* @__PURE__ */ a(I, { value: m, onValueChange: h, className: "ttw:flex ttw:flex-col ttw:gap-1", children: [{
|
|
74
|
-
value: "any",
|
|
75
|
-
label: "Any"
|
|
76
|
-
}, {
|
|
77
|
-
value: "has",
|
|
78
|
-
label: "Has attachment"
|
|
79
|
-
}, {
|
|
80
|
-
value: "no",
|
|
81
|
-
label: "No attachment"
|
|
82
|
-
}].map(({
|
|
83
|
-
value: t,
|
|
84
|
-
label: l
|
|
85
|
-
}) => /* @__PURE__ */ o("label", { className: "ttw:flex ttw:items-center ttw:gap-2 ttw:cursor-pointer", children: [
|
|
86
|
-
/* @__PURE__ */ a(S, { value: t }),
|
|
87
|
-
/* @__PURE__ */ a("span", { className: "ttw:text-xs ttw:font-medium", children: l })
|
|
88
|
-
] }, t)) }) })
|
|
89
|
-
] })
|
|
90
|
-
] }), activeChipsSlot: /* @__PURE__ */ o(w, { children: [
|
|
91
|
-
e.activeChips.map((t) => /* @__PURE__ */ a(x, { label: t.label, count: t.count, variant: "default", onLabelClick: t.key === "date" ? () => {
|
|
92
|
-
n.openPanel("date");
|
|
93
|
-
} : void 0, onDismiss: () => e.onDismissChip(t.key) }, t.key)),
|
|
94
|
-
e.activeFilterCount > 0 && /* @__PURE__ */ a("button", { type: "button", className: "ttw:text-xs ttw:text-muted-foreground ttw:hover:text-foreground ttw:transition-colors ttw:cursor-pointer ttw:whitespace-nowrap", onClick: e.onClearAll, children: "Clear all" })
|
|
95
|
-
] }) });
|
|
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
|
|
6
|
+
}) {
|
|
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
|
+
] });
|
|
96
11
|
}
|
|
97
12
|
export {
|
|
98
|
-
|
|
13
|
+
i as InvoiceDetailsInfoRow
|
|
99
14
|
};
|
|
@@ -2,9 +2,9 @@ import { jsx as o, jsxs as I, Fragment as y } from "@emotion/react/jsx-runtime";
|
|
|
2
2
|
import { CounterpartDetails as R } from "./index2.js";
|
|
3
3
|
import { CustomersTable as T } from "./index6.js";
|
|
4
4
|
import { VendorsTable as b } from "./index5.js";
|
|
5
|
-
import { CreateCounterpartDialog as k } from "./
|
|
5
|
+
import { CreateCounterpartDialog as k } from "./index157.js";
|
|
6
6
|
import { MoniteScopedProviders as M } from "./index83.js";
|
|
7
|
-
import { useUserPermissions as P } from "./
|
|
7
|
+
import { useUserPermissions as P } from "./index135.js";
|
|
8
8
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
9
9
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
10
10
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
@@ -12,7 +12,7 @@ import "@tanstack/react-query";
|
|
|
12
12
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
13
13
|
import { Scope as l } from "../../shared/data-access/dist/lib/scopes.js";
|
|
14
14
|
import { useState as u, useCallback as c } from "react";
|
|
15
|
-
import { AccessRestriction as j } from "./
|
|
15
|
+
import { AccessRestriction as j } from "./index136.js";
|
|
16
16
|
import { Button as x } from "./index84.js";
|
|
17
17
|
import "clsx";
|
|
18
18
|
import "tailwind-merge";
|
|
@@ -1,215 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
label: "Pending approval"
|
|
19
|
-
}, {
|
|
20
|
-
value: "ready_to_pay",
|
|
21
|
-
label: "Ready to pay"
|
|
22
|
-
}, {
|
|
23
|
-
value: "paid",
|
|
24
|
-
label: "Paid"
|
|
25
|
-
}, {
|
|
26
|
-
value: "cancelled",
|
|
27
|
-
label: "Cancelled"
|
|
28
|
-
}, {
|
|
29
|
-
value: "rejected",
|
|
30
|
-
label: "Rejected"
|
|
31
|
-
}], j = {
|
|
32
|
-
draft: ["draft", "new"],
|
|
33
|
-
pending_approval: ["approve_in_progress"],
|
|
34
|
-
ready_to_pay: ["waiting_to_be_paid", "partially_paid"],
|
|
35
|
-
paid: ["paid"],
|
|
36
|
-
cancelled: ["canceled"],
|
|
37
|
-
rejected: ["rejected"]
|
|
38
|
-
}, R = ["draft", "new", "approve_in_progress", "rejected", "waiting_to_be_paid", "partially_paid", "paid"];
|
|
39
|
-
function h() {
|
|
40
|
-
return {
|
|
41
|
-
search: "",
|
|
42
|
-
activeDateField: "due_date",
|
|
43
|
-
datePreset: void 0,
|
|
44
|
-
dateFrom: void 0,
|
|
45
|
-
dateTo: void 0,
|
|
46
|
-
status: [],
|
|
47
|
-
amountMode: "any",
|
|
48
|
-
amountMin: "",
|
|
49
|
-
amountMax: "",
|
|
50
|
-
vendorName: "",
|
|
51
|
-
hasFile: void 0
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
function Q({
|
|
55
|
-
initialCounterpartId: f
|
|
56
|
-
} = {}) {
|
|
57
|
-
const [e, o] = w(() => ({
|
|
58
|
-
...h(),
|
|
59
|
-
counterpartId: f
|
|
60
|
-
})), {
|
|
61
|
-
formatToMinorUnits: u
|
|
62
|
-
} = x(), {
|
|
63
|
-
componentSettings: F
|
|
64
|
-
} = $(), {
|
|
65
|
-
data: b
|
|
66
|
-
} = A(e.counterpartId), c = I(b), p = F.onboarding.allowedCurrencies?.[0] ?? "USD", y = l(() => {
|
|
67
|
-
const a = {}, t = e.activeDateField;
|
|
68
|
-
if (e.dateFrom && (a[`${t}__gte`] = m(e.dateFrom, {
|
|
69
|
-
representation: "date"
|
|
70
|
-
})), e.dateTo && (a[`${t}__lte`] = m(e.dateTo, {
|
|
71
|
-
representation: "date"
|
|
72
|
-
})), e.status.length ? a.status__in = e.status.flatMap((r) => j[r] ?? [r]) : a.status__in = R, e.vendorName && (a.counterpart_name__icontains = e.vendorName), e.counterpartId && (a.counterpart_id = e.counterpartId), e.hasFile !== void 0 && (a.has_file = e.hasFile), e.search && (a.search_text = e.search), e.amountMode !== "any") {
|
|
73
|
-
const r = parseFloat(e.amountMin), s = parseFloat(e.amountMax), i = (n) => u(n, p) ?? E(n, 2);
|
|
74
|
-
if (e.amountMode === "exact") {
|
|
75
|
-
if (!isNaN(r)) {
|
|
76
|
-
const n = i(r);
|
|
77
|
-
a.total_amount__gte = n, a.total_amount__lte = n;
|
|
78
|
-
}
|
|
79
|
-
} else
|
|
80
|
-
isNaN(r) || (a.total_amount__gte = i(r)), isNaN(s) || (a.total_amount__lte = i(s));
|
|
81
|
-
}
|
|
82
|
-
return a;
|
|
83
|
-
}, [e, p, u]), g = l(() => {
|
|
84
|
-
let a = 0;
|
|
85
|
-
return e.status.length && a++, e.vendorName && a++, e.counterpartId && a++, e.hasFile !== void 0 && a++, e.amountMode !== "any" && a++, e.search && a++, a;
|
|
86
|
-
}, [e]), M = l(() => {
|
|
87
|
-
const a = [];
|
|
88
|
-
if (e.dateFrom || e.dateTo) {
|
|
89
|
-
const t = (e.datePreset ? _.find((s) => s.value === e.datePreset)?.label : void 0) ?? D(e.dateFrom, e.dateTo), r = e.activeDateField === "due_date" ? "Due date" : e.activeDateField === "created_at" ? "Created on" : "Issue date";
|
|
90
|
-
a.push({
|
|
91
|
-
key: "date",
|
|
92
|
-
label: `${r}: ${t}`
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
if (e.status.length) {
|
|
96
|
-
const t = e.status.map((r) => v.find((s) => s.value === r)?.label ?? r);
|
|
97
|
-
a.push({
|
|
98
|
-
key: "status",
|
|
99
|
-
label: `Status: ${C(t)}`
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
return e.vendorName && a.push({
|
|
103
|
-
key: "vendor",
|
|
104
|
-
label: `Vendor: ${e.vendorName}`
|
|
105
|
-
}), e.counterpartId && a.push({
|
|
106
|
-
key: "counterpart",
|
|
107
|
-
label: `Vendor: ${c || e.counterpartId}`
|
|
108
|
-
}), e.hasFile === !0 && a.push({
|
|
109
|
-
key: "attachment",
|
|
110
|
-
label: "Has attachment"
|
|
111
|
-
}), e.hasFile === !1 && a.push({
|
|
112
|
-
key: "attachment",
|
|
113
|
-
label: "No attachment"
|
|
114
|
-
}), e.amountMode !== "any" && a.push({
|
|
115
|
-
key: "amount",
|
|
116
|
-
label: "Amount"
|
|
117
|
-
}), e.search && a.push({
|
|
118
|
-
key: "search",
|
|
119
|
-
label: `Search: ${e.search}`
|
|
120
|
-
}), a;
|
|
121
|
-
}, [e, c]), N = d((a) => {
|
|
122
|
-
const {
|
|
123
|
-
from: t,
|
|
124
|
-
to: r
|
|
125
|
-
} = U(a);
|
|
126
|
-
o((s) => ({
|
|
127
|
-
...s,
|
|
128
|
-
datePreset: a,
|
|
129
|
-
dateFrom: t,
|
|
130
|
-
dateTo: r
|
|
131
|
-
}));
|
|
132
|
-
}, []), P = d((a, t) => {
|
|
133
|
-
o((r) => ({
|
|
134
|
-
...r,
|
|
135
|
-
datePreset: void 0,
|
|
136
|
-
dateFrom: a,
|
|
137
|
-
dateTo: t
|
|
138
|
-
}));
|
|
139
|
-
}, []), S = d((a) => {
|
|
140
|
-
o((t) => ({
|
|
141
|
-
...t,
|
|
142
|
-
activeDateField: a
|
|
143
|
-
}));
|
|
144
|
-
}, []), T = d((a) => {
|
|
145
|
-
switch (a) {
|
|
146
|
-
case "date": {
|
|
147
|
-
o((t) => ({
|
|
148
|
-
...t,
|
|
149
|
-
datePreset: void 0,
|
|
150
|
-
dateFrom: void 0,
|
|
151
|
-
dateTo: void 0,
|
|
152
|
-
activeDateField: "due_date"
|
|
153
|
-
}));
|
|
154
|
-
break;
|
|
155
|
-
}
|
|
156
|
-
case "status":
|
|
157
|
-
o((t) => ({
|
|
158
|
-
...t,
|
|
159
|
-
status: []
|
|
160
|
-
}));
|
|
161
|
-
break;
|
|
162
|
-
case "vendor":
|
|
163
|
-
o((t) => ({
|
|
164
|
-
...t,
|
|
165
|
-
vendorName: ""
|
|
166
|
-
}));
|
|
167
|
-
break;
|
|
168
|
-
case "counterpart":
|
|
169
|
-
o((t) => ({
|
|
170
|
-
...t,
|
|
171
|
-
counterpartId: void 0
|
|
172
|
-
}));
|
|
173
|
-
break;
|
|
174
|
-
case "attachment":
|
|
175
|
-
o((t) => ({
|
|
176
|
-
...t,
|
|
177
|
-
hasFile: void 0
|
|
178
|
-
}));
|
|
179
|
-
break;
|
|
180
|
-
case "amount":
|
|
181
|
-
o((t) => ({
|
|
182
|
-
...t,
|
|
183
|
-
amountMode: "any",
|
|
184
|
-
amountMin: "",
|
|
185
|
-
amountMax: ""
|
|
186
|
-
}));
|
|
187
|
-
break;
|
|
188
|
-
case "search":
|
|
189
|
-
o((t) => ({
|
|
190
|
-
...t,
|
|
191
|
-
search: ""
|
|
192
|
-
}));
|
|
193
|
-
break;
|
|
194
|
-
}
|
|
195
|
-
}, []), k = d(() => o(h()), []);
|
|
196
|
-
return {
|
|
197
|
-
state: e,
|
|
198
|
-
setState: o,
|
|
199
|
-
queryParams: y,
|
|
200
|
-
activeFilterCount: g,
|
|
201
|
-
activeChips: M,
|
|
202
|
-
datePresets: _,
|
|
203
|
-
statusOptions: v,
|
|
204
|
-
setDatePreset: N,
|
|
205
|
-
setDateRange: P,
|
|
206
|
-
setActiveDateField: S,
|
|
207
|
-
clearFilter: T,
|
|
208
|
-
clearAll: k
|
|
209
|
-
};
|
|
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 })
|
|
17
|
+
] });
|
|
210
18
|
}
|
|
211
19
|
export {
|
|
212
|
-
|
|
213
|
-
v as AP_STATUS_OPTIONS,
|
|
214
|
-
Q as usePayablesFilter
|
|
20
|
+
d as InvoiceDetailsCustomerRow
|
|
215
21
|
};
|
|
@@ -1,24 +1,28 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsx as s } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useGetReceivableById as r } from "./index82.js";
|
|
3
|
+
import { useCancelReceivableById as m } from "./index422.js";
|
|
4
|
+
import { ConfirmationModal as d } from "./index231.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
|
+
};
|
|
16
26
|
export {
|
|
17
|
-
|
|
18
|
-
A as APPROVAL_REQUEST_STATUS_TO_MUI_ICON_MAP,
|
|
19
|
-
i as FILTER_TYPE_ADDED_BY,
|
|
20
|
-
d as FILTER_TYPE_CREATED_AT,
|
|
21
|
-
S as FILTER_TYPE_CURRENT_USER,
|
|
22
|
-
R as FILTER_TYPE_STATUS,
|
|
23
|
-
o as ROW_TO_STATUS_MUI_MAP
|
|
27
|
+
v as InvoiceCancelModal
|
|
24
28
|
};
|
|
@@ -1,59 +1,42 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { jsx as p } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useDeleteReceivableById as u } from "./index384.js";
|
|
3
|
+
import { useComponentSettings as f } from "./index67.js";
|
|
4
|
+
import { useUserPermissions as v } from "./index135.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 "./index231.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
|
|
13
21
|
}) => {
|
|
14
22
|
const {
|
|
15
|
-
i18n:
|
|
16
|
-
} =
|
|
17
|
-
|
|
18
|
-
} =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
l(R, e && e.target.value);
|
|
26
|
-
}, children: [{
|
|
27
|
-
label: a._("All invoices"),
|
|
28
|
-
value: "all"
|
|
29
|
-
}, ...Object.values(v).map((e) => ({
|
|
30
|
-
label: S(a)[e],
|
|
31
|
-
value: e
|
|
32
|
-
}))].map(({
|
|
33
|
-
label: e,
|
|
34
|
-
value: o
|
|
35
|
-
}) => /* @__PURE__ */ t(E, { value: o, children: e }, o)) })
|
|
36
|
-
] }),
|
|
37
|
-
/* @__PURE__ */ t(M, { onChange: (e) => l(A, e || null) }),
|
|
38
|
-
/* @__PURE__ */ t(_, { label: a._("Requested on"), className: "Monite-ApprovalRequestedOnFilter Monite-FilterControl Monite-DateFilterControl", onChange: (e, o) => {
|
|
39
|
-
o.validationError || l(C, e);
|
|
40
|
-
}, slotProps: {
|
|
41
|
-
textField: {
|
|
42
|
-
variant: "standard"
|
|
43
|
-
},
|
|
44
|
-
popper: {
|
|
45
|
-
container: r
|
|
46
|
-
},
|
|
47
|
-
dialog: {
|
|
48
|
-
container: r
|
|
49
|
-
},
|
|
50
|
-
actionBar: {
|
|
51
|
-
actions: ["clear", "today"]
|
|
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();
|
|
52
33
|
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
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 });
|
|
56
39
|
};
|
|
57
40
|
export {
|
|
58
|
-
|
|
41
|
+
H as InvoiceDeleteModal
|
|
59
42
|
};
|
|
@@ -1,31 +1,61 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as m, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { InvoiceRecurrenceIterationStatusChip as d } from "./index423.js";
|
|
3
|
+
import { InvoiceStatusChip as c } from "./index55.js";
|
|
4
|
+
import { useMoniteContext as u } from "./index57.js";
|
|
5
|
+
import { useCurrencies as h } from "./index58.js";
|
|
6
|
+
import "react";
|
|
7
|
+
import "./index92.js";
|
|
8
|
+
import { useLingui as p } from "@lingui/react";
|
|
9
|
+
import "react-dom";
|
|
10
|
+
import "@mui/x-data-grid";
|
|
11
|
+
import { useGetReceivableById as x } from "./index82.js";
|
|
12
|
+
import { parseISO as f } from "date-fns";
|
|
13
|
+
import { ChevronRight as _ } from "lucide-react";
|
|
14
|
+
import { twMerge as N } from "tailwind-merge";
|
|
15
|
+
const g = ({
|
|
16
|
+
iteration: r,
|
|
17
|
+
invoice: o,
|
|
18
|
+
i18n: w,
|
|
19
|
+
onRowClick: e
|
|
10
20
|
}) => {
|
|
11
21
|
const {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
locale: n
|
|
23
|
+
} = u(), {
|
|
24
|
+
formatCurrencyToDisplay: s
|
|
25
|
+
} = h(), a = !!r?.issued_invoice_id, {
|
|
26
|
+
data: i
|
|
27
|
+
} = x(r?.issued_invoice_id ?? "", a), l = !!(a && i?.id);
|
|
28
|
+
return /* @__PURE__ */ m("tr", { className: N("ttw:border-t ttw:border-border", l && "ttw:hover:cursor-pointer"), ...l && e && i?.id && {
|
|
29
|
+
onClick: () => e(i.id)
|
|
30
|
+
}, children: [
|
|
31
|
+
/* @__PURE__ */ t("td", { className: "ttw:text-left ttw:h-9 ttw:py-2 ttw:pr-2 ttw:text-sm ttw:leading-5 ttw:font-normal", children: r?.issue_at ? w.date(f(r.issue_at), n.dateFormat) : "-" }),
|
|
32
|
+
/* @__PURE__ */ t("td", { className: "ttw:text-left ttw:h-9 ttw:py-2 ttw:px-2 ttw:text-sm ttw:leading-5 ttw:font-normal", children: a && i ? s(i?.total_amount, i?.currency) : s(o?.total_amount, o?.currency) }),
|
|
33
|
+
/* @__PURE__ */ t("td", { className: "ttw:text-left ttw:h-9 ttw:py-2 ttw:px-2", children: a && i ? /* @__PURE__ */ t(c, { status: i?.status }) : /* @__PURE__ */ t(d, { status: r?.status }) }),
|
|
34
|
+
/* @__PURE__ */ t("td", { className: "ttw:text-left ttw:h-9 ttw:py-2 ttw:px-2 ttw:text-sm ttw:leading-5 ttw:font-normal", children: a ? i?.document_id : "-" }),
|
|
35
|
+
/* @__PURE__ */ t("td", { className: "ttw:text-right ttw:h-9 ttw:w-6 ttw:py-2 ttw:pl-2 ttw:text-muted-foreground", children: l ? /* @__PURE__ */ t(_, { className: "ttw:inline ttw:size-4", "aria-hidden": "true" }) : null })
|
|
36
|
+
] });
|
|
37
|
+
}, B = ({
|
|
38
|
+
invoice: r,
|
|
39
|
+
recurrence: o,
|
|
40
|
+
openInvoiceDetails: w
|
|
41
|
+
}) => {
|
|
42
|
+
const {
|
|
43
|
+
i18n: e
|
|
44
|
+
} = p();
|
|
45
|
+
return /* @__PURE__ */ m("table", { className: "ttw:w-full", children: [
|
|
46
|
+
/* @__PURE__ */ t("thead", { children: /* @__PURE__ */ m("tr", { children: [
|
|
47
|
+
/* @__PURE__ */ t("th", { className: "ttw:text-left ttw:h-10 ttw:pr-2 ttw:text-sm ttw:font-medium ttw:leading-5", children: e._("Issue date") }),
|
|
48
|
+
/* @__PURE__ */ t("th", { className: "ttw:text-left ttw:h-10 ttw:px-2 ttw:text-sm ttw:font-medium ttw:leading-5", children: e._("Amount") }),
|
|
49
|
+
/* @__PURE__ */ t("th", { className: "ttw:text-left ttw:h-10 ttw:px-2 ttw:text-sm ttw:font-medium ttw:leading-5", children: e._("Status") }),
|
|
50
|
+
/* @__PURE__ */ t("th", { className: "ttw:text-left ttw:h-10 ttw:px-2 ttw:text-sm ttw:font-medium ttw:leading-5", children: e._("Number") }),
|
|
51
|
+
/* @__PURE__ */ t("th", { className: "ttw:h-10 ttw:w-6 ttw:pl-2", "aria-hidden": "true" })
|
|
52
|
+
] }) }),
|
|
53
|
+
/* @__PURE__ */ t("tbody", { children: o?.iterations?.map((n, s) => /* @__PURE__ */ t(g, { iteration: n, invoice: r, i18n: e, onRowClick: w }, e._("iteration-{iteration}-{index}", {
|
|
54
|
+
iteration: n?.iteration,
|
|
55
|
+
index: s
|
|
56
|
+
}))) })
|
|
57
|
+
] });
|
|
58
|
+
};
|
|
29
59
|
export {
|
|
30
|
-
|
|
60
|
+
B as InvoiceDetailsTabScheduledInvoices
|
|
31
61
|
};
|