@tesouro/embedded-components-react 0.2.84 → 0.2.86
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 +25 -0
- package/dist/index.d.ts +34 -1
- package/dist/lib/ReceivablesWidget.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +12 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +9 -2
- 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 +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +75 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +6 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +5 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +33 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +32 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +9 -23
- 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 +119 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +10 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +44 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +15 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +11 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +152 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +24 -150
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +99 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +57 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +43 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +74 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +56 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +197 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +22 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +29 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +38 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +7 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +113 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +70 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +191 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +30 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +110 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +133 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +22 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +29 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +19 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +21 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +183 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +11 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +22 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +48 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +4 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +5 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +86 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +6 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +41 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +45 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +390 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +25 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +20 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +21 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +10 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +22 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +27 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +115 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +66 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +12 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +12 -394
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +7 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +35 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +100 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +7 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +50 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +34 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +54 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +345 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +17 -54
- 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 +14 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +13 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +14 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +20 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +31 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +17 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +247 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +179 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +12 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +19 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +24 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +40 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +58 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +49 -247
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +29 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +97 -11
- 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 +46 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +73 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +44 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +17 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +28 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +42 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +59 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +90 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +111 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +84 -24
- 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 +22 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +57 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +28 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +58 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +39 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +338 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +299 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +93 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +160 -10
- 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 +266 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +23 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +19 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +2 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +94 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +96 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +190 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +40 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +59 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +31 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +108 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +22 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +42 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +57 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +62 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +26 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +125 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +10 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +62 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +22 -110
- 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 +31 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +149 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +19 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +20 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +40 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +76 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +158 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +28 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +27 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +78 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +61 -341
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +43 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +22 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +181 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +105 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +81 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +283 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +45 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +15 -43
- 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 +86 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +220 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +38 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +76 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +44 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +21 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +17 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +19 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +171 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +130 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +159 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +10 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +17 -187
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +61 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +67 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +51 -276
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +6 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +11 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +55 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +21 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +58 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +14 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +9 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +30 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +16 -16
- 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 +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +33 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +53 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +36 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +54 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +94 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +30 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +33 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +32 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +126 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +117 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +18 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -16
- 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 +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +71 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +21 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +65 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +14 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +15 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +7 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +65 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +21 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +9 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +11 -126
- 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 +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +28 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +23 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +37 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +69 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +66 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +39 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +32 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +85 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +23 -27
- 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 +105 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +111 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +22 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +35 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +64 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +43 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +27 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +8 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +17 -71
- 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 +55 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +80 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +54 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +29 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +54 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +37 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +46 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +55 -70
- 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 +72 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +20 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +49 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +17 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +29 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +56 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +39 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +94 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +16 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +73 -32
- 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 +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +9 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +42 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +37 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +13 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +54 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +81 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +39 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +18 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +51 -19
- 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 +55 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +30 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +14 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +1 -1
- 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 +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +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 +21 -21
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +21 -21
- package/dist/pending-feature-style-sources.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,185 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
i18n: n
|
|
29
|
-
} = R(), {
|
|
30
|
-
data: a,
|
|
31
|
-
isLoading: m
|
|
32
|
-
} = ne(), {
|
|
33
|
-
data: o,
|
|
34
|
-
isLoading: b
|
|
35
|
-
} = se(t.invoiceId), {
|
|
36
|
-
entityName: s,
|
|
37
|
-
isLoading: l
|
|
38
|
-
} = ae(), {
|
|
39
|
-
data: g,
|
|
40
|
-
isLoading: i
|
|
41
|
-
} = oe(o?.counterpart_id), {
|
|
42
|
-
data: u
|
|
43
|
-
} = ie(o?.counterpart_id), r = _e(g, u), I = r?.email ?? "", p = r && a ? n._(`Hi {firstName},
|
|
44
|
-
|
|
45
|
-
Please find the invoice attached as discussed.
|
|
46
|
-
|
|
47
|
-
Kind Regards,
|
|
48
|
-
{senderName}`, {
|
|
49
|
-
firstName: r.first_name,
|
|
50
|
-
senderName: a.first_name
|
|
51
|
-
}) : n._(`Please find the invoice attached as discussed.
|
|
52
|
-
|
|
53
|
-
Kind Regards,
|
|
54
|
-
{senderName}`, {
|
|
55
|
-
senderName: a?.first_name ?? ""
|
|
56
|
-
}), _ = o && s ? o.document_id ? n._("Invoice {documentId} from {entityName}", {
|
|
57
|
-
documentId: o.document_id,
|
|
58
|
-
entityName: s
|
|
59
|
-
}) : n._("Invoice from {entityName}", {
|
|
60
|
-
entityName: s
|
|
61
|
-
}) : "";
|
|
62
|
-
return /* @__PURE__ */ e(te, { children: /* @__PURE__ */ e(Pe, { ...t, to: I, body: p, subject: _, isLoading: i || b || m || l, isIssued: o?.status !== "draft", isOpen: t.isOpen }) });
|
|
63
|
-
}, d = {
|
|
64
|
-
Edit: "form",
|
|
65
|
-
Preview: "preview"
|
|
66
|
-
}, Pe = ({
|
|
67
|
-
invoiceId: t,
|
|
68
|
-
subject: n,
|
|
69
|
-
body: a,
|
|
70
|
-
to: m,
|
|
71
|
-
isLoading: o,
|
|
72
|
-
isIssued: b,
|
|
73
|
-
onClose: s,
|
|
74
|
-
onSendEmail: l,
|
|
75
|
-
isOpen: g
|
|
76
|
-
}) => {
|
|
77
|
-
const {
|
|
78
|
-
i18n: i
|
|
79
|
-
} = R(), {
|
|
80
|
-
api: u,
|
|
81
|
-
entityId: r
|
|
82
|
-
} = ee(), {
|
|
83
|
-
control: I,
|
|
84
|
-
handleSubmit: p,
|
|
85
|
-
getValues: _,
|
|
86
|
-
trigger: A,
|
|
87
|
-
reset: S
|
|
88
|
-
} = X({
|
|
89
|
-
resolver: me(be(i)),
|
|
90
|
-
defaultValues: Q(() => ({
|
|
91
|
-
subject: n,
|
|
92
|
-
body: a,
|
|
93
|
-
to: m
|
|
94
|
-
}), [n, a, m])
|
|
95
|
-
}), {
|
|
96
|
-
subject: F,
|
|
97
|
-
body: T
|
|
98
|
-
} = _();
|
|
99
|
-
J(() => {
|
|
100
|
-
S({
|
|
101
|
-
subject: n,
|
|
102
|
-
body: a,
|
|
103
|
-
to: m
|
|
104
|
-
});
|
|
105
|
-
}, [a, S, n, m]);
|
|
106
|
-
const C = xe(t), x = Ce(t), E = u.finops.postPaymentLinks.useMutation({}), {
|
|
107
|
-
data: P
|
|
108
|
-
} = u.finops.getEntitiesIdPaymentMethods.useQuery({
|
|
109
|
-
path: {
|
|
110
|
-
entity_id: r
|
|
111
|
-
}
|
|
112
|
-
}), [f, k] = U(d.Edit), w = `Monite-Form-emailInvoiceDetails-${W()}`, O = Y((L) => {
|
|
113
|
-
L.preventDefault();
|
|
114
|
-
const G = E.mutateAsync, H = x.mutateAsync, K = C.mutate;
|
|
115
|
-
p(async (v) => {
|
|
116
|
-
const M = P ? P.data.filter(({
|
|
117
|
-
status: N,
|
|
118
|
-
direction: q
|
|
119
|
-
}) => N === "active" && q === "receive") : [];
|
|
120
|
-
M.length === 0 ? Z.error(i._("You haven't onboarded for any payment method. Invoice is issued without a payment link.")) : (await H(void 0), await G({
|
|
121
|
-
recipient: {
|
|
122
|
-
id: r,
|
|
123
|
-
type: "entity"
|
|
124
|
-
},
|
|
125
|
-
payment_methods: M.map((N) => N.type),
|
|
126
|
-
object: {
|
|
127
|
-
id: t,
|
|
128
|
-
type: "receivable"
|
|
129
|
-
}
|
|
130
|
-
}));
|
|
131
|
-
const V = {
|
|
132
|
-
body_text: v.body,
|
|
133
|
-
subject_text: v.subject,
|
|
134
|
-
recipients: v.to ? {
|
|
135
|
-
to: [v.to]
|
|
136
|
-
} : void 0
|
|
137
|
-
};
|
|
138
|
-
K(V, {
|
|
139
|
-
onSuccess: () => {
|
|
140
|
-
l?.(t), s();
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
})(L);
|
|
144
|
-
}, [E.mutateAsync, x.mutateAsync, p, i, t, r, s, l, P, C.mutate]), y = x.isPending || C.isPending || E.isPending, B = "Monite-EmailInvoiceDetails", h = f == d.Preview;
|
|
145
|
-
return /* @__PURE__ */ c(ue, { open: g, fullScreen: !0, onClose: s, children: [
|
|
146
|
-
/* @__PURE__ */ e(pe, { className: B + "-Title", children: /* @__PURE__ */ e(fe, { children: /* @__PURE__ */ c(D, { container: !0, children: [
|
|
147
|
-
/* @__PURE__ */ e(D, { item: !0, xs: 6, children: /* @__PURE__ */ c($, { direction: "row", alignItems: "center", spacing: 2, children: [
|
|
148
|
-
f == d.Edit && /* @__PURE__ */ c(z, { children: [
|
|
149
|
-
/* @__PURE__ */ e(j, { variant: "text", color: "primary", onClick: s, startIcon: /* @__PURE__ */ e(ce, {}), disabled: y, "data-testid": "back-button", children: i._("Back") }),
|
|
150
|
-
/* @__PURE__ */ e(ye, { variant: "h3", children: i._("Compose email") })
|
|
151
|
-
] }),
|
|
152
|
-
h && /* @__PURE__ */ e(de, { edge: "start", color: "inherit", onClick: () => {
|
|
153
|
-
k(d.Edit);
|
|
154
|
-
}, "aria-label": i._("Back to edit"), "data-testid": "close-preview-button", children: /* @__PURE__ */ e(le, {}) })
|
|
155
|
-
] }) }),
|
|
156
|
-
/* @__PURE__ */ e(D, { item: !0, xs: 6, children: /* @__PURE__ */ c($, { direction: "row", alignItems: "center", justifyContent: "end", spacing: 2, children: [
|
|
157
|
-
f == d.Edit && /* @__PURE__ */ e(j, { variant: "outlined", color: "primary", type: "button", form: w, disabled: y || o, onClick: async () => {
|
|
158
|
-
await A() && k(d.Preview);
|
|
159
|
-
}, "data-testid": "preview-button", children: i._("Preview email") }),
|
|
160
|
-
/* @__PURE__ */ e(j, { variant: "contained", color: "primary", type: "submit", form: w, disabled: y || o, "data-testid": "issue-and-send-button", children: b ? i._("Send") : i._("Issue and Send") })
|
|
161
|
-
] }) })
|
|
162
|
-
] }) }) }),
|
|
163
|
-
/* @__PURE__ */ e(he, { className: B + "-Content", sx: {
|
|
164
|
-
mt: h ? 0 : 4,
|
|
165
|
-
p: h ? 0 : "0 32px 32px 32px",
|
|
166
|
-
height: "100%",
|
|
167
|
-
width: "100%",
|
|
168
|
-
display: "flex",
|
|
169
|
-
flexDirection: "column"
|
|
170
|
-
}, children: /* @__PURE__ */ c(ge, { formName: w, handleIssueAndSend: O, style: {
|
|
171
|
-
display: "flex",
|
|
172
|
-
flexDirection: "column",
|
|
173
|
-
flex: 1,
|
|
174
|
-
minHeight: 0,
|
|
175
|
-
width: "100%"
|
|
176
|
-
}, children: [
|
|
177
|
-
o ? /* @__PURE__ */ e(re, { className: "Monite-LoadingPage", children: /* @__PURE__ */ e(ve, {}) }) : f == d.Edit && /* @__PURE__ */ e(Ie, { invoiceId: t, control: I, isDisabled: y }),
|
|
178
|
-
h && /* @__PURE__ */ e(Ee, { invoiceId: t, body: T, subject: F })
|
|
179
|
-
] }) })
|
|
1
|
+
import { jsxs as t, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Button as m } from "./index84.js";
|
|
3
|
+
import { DropdownMenu as d, DropdownMenuTrigger as p, DropdownMenuContent as u, DropdownMenuItem as f } from "./index133.js";
|
|
4
|
+
import { Tooltip as h, TooltipTrigger as g, TooltipContent as w } from "./index245.js";
|
|
5
|
+
import { ACTION_ICON as C } from "./index246.js";
|
|
6
|
+
import { preventTooltipFocusOpen as T } from "./index248.js";
|
|
7
|
+
import { MoreVerticalIcon as v } from "lucide-react";
|
|
8
|
+
function x({
|
|
9
|
+
actions: r,
|
|
10
|
+
triggerLabel: i,
|
|
11
|
+
getActionLabel: n,
|
|
12
|
+
onSelect: a,
|
|
13
|
+
isActionDisabled: s,
|
|
14
|
+
className: l
|
|
15
|
+
}) {
|
|
16
|
+
return /* @__PURE__ */ t(d, { children: [
|
|
17
|
+
/* @__PURE__ */ t(h, { children: [
|
|
18
|
+
/* @__PURE__ */ e(g, { asChild: !0, onFocus: T, children: /* @__PURE__ */ e(p, { asChild: !0, children: /* @__PURE__ */ e(m, { variant: "ghost", size: "icon", className: l, "aria-label": i, children: /* @__PURE__ */ e(v, { className: "ttw:size-4" }) }) }) }),
|
|
19
|
+
/* @__PURE__ */ e(w, { children: i })
|
|
20
|
+
] }),
|
|
21
|
+
/* @__PURE__ */ e(u, { align: "end", children: r.map((o) => {
|
|
22
|
+
const c = C[o];
|
|
23
|
+
return /* @__PURE__ */ t(f, { variant: o === "delete" ? "destructive" : "default", disabled: s?.(o), onClick: () => a(o), children: [
|
|
24
|
+
/* @__PURE__ */ e(c, { className: "ttw:size-4" }),
|
|
25
|
+
n(o)
|
|
26
|
+
] }, o);
|
|
27
|
+
}) })
|
|
180
28
|
] });
|
|
181
|
-
}
|
|
29
|
+
}
|
|
182
30
|
export {
|
|
183
|
-
|
|
184
|
-
Pe as EmailInvoiceDetailsBase
|
|
31
|
+
x as InvoiceDetailsOverflowMenu
|
|
185
32
|
};
|
|
@@ -1,14 +1,100 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as o, Fragment as _, jsx as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { ManualPaymentRecordDetails as k } from "./index373.js";
|
|
3
|
+
import { PaymentRecordForm as E } from "./index374.js";
|
|
4
|
+
import { useMoniteContext as $ } from "./index57.js";
|
|
5
|
+
import { useRootElements as B } from "./index92.js";
|
|
6
|
+
import "@tanstack/react-query";
|
|
7
|
+
import { fromMinorUnits as F, toMinorUnits as H } from "./index120.js";
|
|
8
|
+
import "date-fns";
|
|
9
|
+
import { useEntityUserByAuthToken as L } from "./index75.js";
|
|
10
|
+
import { useCreatePaymentRecord as U } from "./index79.js";
|
|
11
|
+
import { useLingui as A } from "@lingui/react";
|
|
12
|
+
import { Dialog as I, DialogContent as Q, DialogActions as W, Button as m, Box as q } from "@mui/material";
|
|
13
|
+
import { useState as l } from "react";
|
|
14
|
+
const g = {
|
|
15
|
+
amount: 0,
|
|
16
|
+
payment_date: /* @__PURE__ */ new Date(),
|
|
17
|
+
payment_time: /* @__PURE__ */ new Date(),
|
|
18
|
+
created_by: ""
|
|
19
|
+
}, ie = ({
|
|
20
|
+
children: b,
|
|
21
|
+
invoice: t
|
|
22
|
+
}) => {
|
|
23
|
+
const [h, c] = l(!1), [C, r] = l(!1), [e, u] = l(g), {
|
|
24
|
+
i18n: s
|
|
25
|
+
} = A(), {
|
|
26
|
+
root: x
|
|
27
|
+
} = B(), v = () => c(!0), n = () => c(!1), {
|
|
28
|
+
api: p,
|
|
29
|
+
queryClient: y
|
|
30
|
+
} = $(), {
|
|
31
|
+
mutate: D,
|
|
32
|
+
isPending: M
|
|
33
|
+
} = U(), {
|
|
34
|
+
data: f,
|
|
35
|
+
isLoading: R
|
|
36
|
+
} = L(), w = (a) => {
|
|
37
|
+
u({
|
|
38
|
+
...a,
|
|
39
|
+
amount: H(a?.amount ?? 0),
|
|
40
|
+
created_by: f?.id ?? ""
|
|
41
|
+
}), r(!0);
|
|
42
|
+
}, P = () => {
|
|
43
|
+
r(!1), u(g);
|
|
44
|
+
}, S = () => {
|
|
45
|
+
const a = new Date(e.payment_date).setHours(e.payment_time.getHours(), e.payment_time.getMinutes()), j = new Date(a);
|
|
46
|
+
D({
|
|
47
|
+
amount: e?.amount ?? 0,
|
|
48
|
+
currency: t.currency,
|
|
49
|
+
paid_at: j.toISOString(),
|
|
50
|
+
object: {
|
|
51
|
+
id: t.id,
|
|
52
|
+
type: "receivable"
|
|
53
|
+
},
|
|
54
|
+
payment_intent_id: t.id,
|
|
55
|
+
entity_user_id: f?.id,
|
|
56
|
+
status: "succeeded"
|
|
57
|
+
}, {
|
|
58
|
+
onSuccess: () => {
|
|
59
|
+
p.finops.getReceivablesId.invalidateQueries({
|
|
60
|
+
parameters: {
|
|
61
|
+
path: {
|
|
62
|
+
receivable_id: t.id
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}, y), p.finops.getReceivables.invalidateQueries(y), n(), P();
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}, d = M || R;
|
|
69
|
+
return ["draft", "paid", "canceled", "deleted", "accepted", "recurring", "expired", "declined", "uncollectible"].includes(t.status) ? null : /* @__PURE__ */ o(_, { children: [
|
|
70
|
+
b({
|
|
71
|
+
openModal: v
|
|
72
|
+
}),
|
|
73
|
+
/* @__PURE__ */ i(I, { open: h, onClose: n, container: x, "aria-labelledby": "dialog-title", fullWidth: !0, maxWidth: "sm", children: C ? /* @__PURE__ */ o(_, { children: [
|
|
74
|
+
/* @__PURE__ */ i(Q, { sx: {
|
|
75
|
+
p: 4
|
|
76
|
+
}, children: /* @__PURE__ */ i(k, { invoice: t, paymentRecords: e }) }),
|
|
77
|
+
/* @__PURE__ */ o(W, { sx: {
|
|
78
|
+
px: 4,
|
|
79
|
+
pb: 4,
|
|
80
|
+
justifyContent: "space-between"
|
|
81
|
+
}, children: [
|
|
82
|
+
/* @__PURE__ */ i(m, { onClick: n, children: s._("Cancel") }),
|
|
83
|
+
/* @__PURE__ */ o(q, { sx: {
|
|
84
|
+
display: "flex",
|
|
85
|
+
gap: 2
|
|
86
|
+
}, children: [
|
|
87
|
+
/* @__PURE__ */ i(m, { variant: "outlined", disabled: d, onClick: () => r(!1), children: s._("Edit record") }),
|
|
88
|
+
/* @__PURE__ */ i(m, { variant: "contained", disabled: d, onClick: S, children: s._("Confirm") })
|
|
89
|
+
] })
|
|
90
|
+
] })
|
|
91
|
+
] }) : /* @__PURE__ */ i(E, { invoice: t, initialValues: {
|
|
92
|
+
amount: e.amount ? F(e.amount) : 0,
|
|
93
|
+
payment_date: e.payment_date,
|
|
94
|
+
payment_time: e.payment_time
|
|
95
|
+
}, isLoading: d, onCancel: n, onSubmit: w }) })
|
|
10
96
|
] });
|
|
11
|
-
}
|
|
97
|
+
};
|
|
12
98
|
export {
|
|
13
|
-
|
|
99
|
+
ie as RecordManualPaymentModal
|
|
14
100
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as s } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as i } from "./
|
|
2
|
+
import { getAPIErrorMessage as i } from "./index121.js";
|
|
3
3
|
import { useLingui as n } from "@lingui/react";
|
|
4
4
|
import { toast as p } from "react-hot-toast";
|
|
5
5
|
const c = (t) => {
|
|
@@ -1,21 +1,49 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { jsxs as f, jsx as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useCancelRecurrence as v } from "./index375.js";
|
|
3
|
+
import { useGetRecurrenceById as _ } from "./index253.js";
|
|
4
|
+
import { useCurrencies as C } from "./index58.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "./index92.js";
|
|
7
|
+
import { useLingui as g, Trans as h } from "@lingui/react";
|
|
8
|
+
import "react-dom";
|
|
9
|
+
import "./index57.js";
|
|
10
|
+
import "@mui/x-data-grid";
|
|
11
|
+
import { ConfirmationModal as b } from "./index234.js";
|
|
12
|
+
import w from "deep-eql";
|
|
13
|
+
import { usePreviousDistinct as y } from "react-use";
|
|
14
|
+
const $ = ({
|
|
15
|
+
invoice: i,
|
|
16
|
+
open: a,
|
|
17
|
+
onClose: r
|
|
18
|
+
}) => {
|
|
19
|
+
const {
|
|
20
|
+
i18n: e
|
|
21
|
+
} = g(), {
|
|
22
|
+
formatCurrencyToDisplay: l
|
|
23
|
+
} = C(), c = i?.recurrence_id ?? "", {
|
|
24
|
+
mutate: m,
|
|
25
|
+
isPending: u
|
|
26
|
+
} = v(c, i.id), {
|
|
27
|
+
data: t
|
|
28
|
+
} = _(c), s = y(t, w), o = (s?.status === "active" && t?.status === "canceled" ? s : t)?.iterations?.filter(({
|
|
29
|
+
status: p
|
|
30
|
+
}) => p === "pending")?.length ?? 0, d = i && o !== void 0 ? l(i.total_amount_with_credit_notes * o, i.currency) : void 0;
|
|
31
|
+
return /* @__PURE__ */ f(b, { open: a && !!i.id, title: e._("Cancel Recurring Invoice"), confirmLabel: e._("Cancel recurrence"), cancelLabel: e._("Close"), onClose: r, onConfirm: () => m(void 0, {
|
|
32
|
+
onSuccess: r
|
|
33
|
+
}), isLoading: u, children: [
|
|
34
|
+
/* @__PURE__ */ n("span", { className: "ttw:inline-block", children: e._("Are you sure you want to cancel this recurring invoice?") }),
|
|
35
|
+
/* @__PURE__ */ n("span", { className: "ttw:inline-block", children: e._("All future iterations of this invoice will be canceled.") }),
|
|
36
|
+
i && o !== void 0 && /* @__PURE__ */ n("span", { className: "ttw:inline-block", children: /* @__PURE__ */ n(h, { id: "ZYrFPL", values: {
|
|
37
|
+
0: o === 1 ? e._("invoice") : e._("invoices"),
|
|
38
|
+
totalPendingInvoices: o,
|
|
39
|
+
pendingInvoicesTotalAmountWithCreditNotes: d
|
|
40
|
+
}, components: {
|
|
41
|
+
0: /* @__PURE__ */ n("strong", {}),
|
|
42
|
+
1: /* @__PURE__ */ n("strong", {})
|
|
43
|
+
} }) }),
|
|
44
|
+
/* @__PURE__ */ n("span", { className: "ttw:inline-block", children: e._("This action can't be undone.") })
|
|
17
45
|
] });
|
|
18
|
-
}
|
|
46
|
+
};
|
|
19
47
|
export {
|
|
20
|
-
|
|
48
|
+
$ as RecurrenceCancelModal
|
|
21
49
|
};
|
|
@@ -1,28 +1,75 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})
|
|
24
|
-
|
|
25
|
-
}
|
|
1
|
+
import { jsx as t, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as n } from "./index100.js";
|
|
3
|
+
import * as a from "@radix-ui/react-select";
|
|
4
|
+
import { ChevronDownIcon as i, CheckIcon as w, ChevronUpIcon as d } from "lucide-react";
|
|
5
|
+
function g({
|
|
6
|
+
...e
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ t(a.Root, { "data-slot": "select", ...e });
|
|
9
|
+
}
|
|
10
|
+
function h({
|
|
11
|
+
...e
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ t(a.Value, { "data-slot": "select-value", ...e });
|
|
14
|
+
}
|
|
15
|
+
function v({
|
|
16
|
+
className: e,
|
|
17
|
+
size: s = "default",
|
|
18
|
+
children: o,
|
|
19
|
+
...r
|
|
20
|
+
}) {
|
|
21
|
+
return /* @__PURE__ */ l(a.Trigger, { "data-slot": "select-trigger", "data-size": s, className: n("ttw:border-input ttw:data-[placeholder]:text-muted-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:dark:bg-input/30 ttw:dark:hover:bg-input/50 ttw:flex ttw:w-fit ttw:items-center ttw:justify-between ttw:gap-2 ttw:rounded-md ttw:border ttw:bg-transparent ttw:px-3 ttw:py-2 ttw:text-sm ttw:whitespace-nowrap ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:data-[size=default]:h-9 ttw:data-[size=sm]:h-8 ttw:*:data-[slot=select-value]:line-clamp-1 ttw:*:data-[slot=select-value]:flex ttw:*:data-[slot=select-value]:min-w-0 ttw:*:data-[slot=select-value]:flex-1 ttw:*:data-[slot=select-value]:items-center ttw:*:data-[slot=select-value]:gap-2 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", e), ...r, children: [
|
|
22
|
+
o,
|
|
23
|
+
/* @__PURE__ */ t(a.Icon, { asChild: !0, children: /* @__PURE__ */ t(i, { className: "ttw:size-4 ttw:opacity-50" }) })
|
|
24
|
+
] });
|
|
25
|
+
}
|
|
26
|
+
function x({
|
|
27
|
+
className: e,
|
|
28
|
+
children: s,
|
|
29
|
+
position: o = "popper",
|
|
30
|
+
...r
|
|
31
|
+
}) {
|
|
32
|
+
return /* @__PURE__ */ t(a.Portal, { children: /* @__PURE__ */ l(a.Content, { "data-slot": "select-content", className: n("ttw:bg-popover ttw:text-popover-foreground ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:relative ttw:z-1300 ttw:max-h-(--radix-select-content-available-height) ttw:min-w-[8rem] ttw:origin-(--radix-select-content-transform-origin) ttw:overflow-x-hidden ttw:overflow-y-auto ttw:rounded-md ttw:border-none ttw:shadow-md", o === "popper" && "ttw:data-[side=bottom]:translate-y-1 ttw:data-[side=left]:-translate-x-1 ttw:data-[side=right]:translate-x-1 ttw:data-[side=top]:-translate-y-1", e), position: o, ...r, children: [
|
|
33
|
+
/* @__PURE__ */ t(c, {}),
|
|
34
|
+
/* @__PURE__ */ t(a.Viewport, { className: n("ttw:p-1", o === "popper" && "ttw:h-[var(--radix-select-trigger-height)] ttw:w-full ttw:min-w-[var(--radix-select-trigger-width)] ttw:scroll-my-1"), children: s }),
|
|
35
|
+
/* @__PURE__ */ t(u, {})
|
|
36
|
+
] }) });
|
|
37
|
+
}
|
|
38
|
+
function b({
|
|
39
|
+
className: e,
|
|
40
|
+
children: s,
|
|
41
|
+
...o
|
|
42
|
+
}) {
|
|
43
|
+
return /* @__PURE__ */ l(a.Item, { "data-slot": "select-item", className: n("ttw:focus:bg-accent ttw:focus:text-accent-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:relative ttw:flex ttw:w-full ttw:cursor-default ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:py-1.5 ttw:pr-8 ttw:pl-2 ttw:text-sm ttw:outline-hidden ttw:select-none ttw:data-[disabled]:pointer-events-none ttw:data-[disabled]:opacity-50 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4 ttw:*:[span]:last:flex ttw:*:[span]:last:min-w-0 ttw:*:[span]:last:flex-1 ttw:*:[span]:last:items-center ttw:*:[span]:last:gap-2", e), ...o, children: [
|
|
44
|
+
/* @__PURE__ */ t("span", { className: "ttw:absolute ttw:right-2 ttw:flex ttw:size-3.5 ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(a.ItemIndicator, { children: /* @__PURE__ */ t(w, { className: "ttw:size-4" }) }) }),
|
|
45
|
+
/* @__PURE__ */ t(a.ItemText, { children: s })
|
|
46
|
+
] });
|
|
47
|
+
}
|
|
48
|
+
function N({
|
|
49
|
+
className: e,
|
|
50
|
+
...s
|
|
51
|
+
}) {
|
|
52
|
+
return /* @__PURE__ */ t(a.Separator, { "data-slot": "select-separator", className: n("ttw:bg-border ttw:pointer-events-none ttw:-mx-1 ttw:my-1 ttw:h-px", e), ...s });
|
|
53
|
+
}
|
|
54
|
+
function c({
|
|
55
|
+
className: e,
|
|
56
|
+
...s
|
|
57
|
+
}) {
|
|
58
|
+
return /* @__PURE__ */ t(a.ScrollUpButton, { "data-slot": "select-scroll-up-button", className: n("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e), ...s, children: /* @__PURE__ */ t(d, { className: "ttw:size-4" }) });
|
|
59
|
+
}
|
|
60
|
+
function u({
|
|
61
|
+
className: e,
|
|
62
|
+
...s
|
|
63
|
+
}) {
|
|
64
|
+
return /* @__PURE__ */ t(a.ScrollDownButton, { "data-slot": "select-scroll-down-button", className: n("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e), ...s, children: /* @__PURE__ */ t(i, { className: "ttw:size-4" }) });
|
|
65
|
+
}
|
|
26
66
|
export {
|
|
27
|
-
|
|
67
|
+
g as Select,
|
|
68
|
+
x as SelectContent,
|
|
69
|
+
b as SelectItem,
|
|
70
|
+
u as SelectScrollDownButton,
|
|
71
|
+
c as SelectScrollUpButton,
|
|
72
|
+
N as SelectSeparator,
|
|
73
|
+
v as SelectTrigger,
|
|
74
|
+
h as SelectValue
|
|
28
75
|
};
|
|
@@ -1,42 +1,46 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
};
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as l } from "./index100.js";
|
|
3
|
+
function r({
|
|
4
|
+
className: t,
|
|
5
|
+
...a
|
|
6
|
+
}) {
|
|
7
|
+
return /* @__PURE__ */ e("div", { "data-slot": "table-container", className: "ttw:flex-1 ttw:relative ttw:w-0 ttw:min-w-full ttw:overflow-x-auto", children: /* @__PURE__ */ e("table", { "data-slot": "table", className: l("ttw:w-full ttw:caption-bottom ttw:text-sm", t), ...a }) });
|
|
8
|
+
}
|
|
9
|
+
function w({
|
|
10
|
+
className: t,
|
|
11
|
+
...a
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ e("thead", { "data-slot": "table-header", className: l("ttw:[&_tr]:border-b", t), ...a });
|
|
14
|
+
}
|
|
15
|
+
function c({
|
|
16
|
+
className: t,
|
|
17
|
+
...a
|
|
18
|
+
}) {
|
|
19
|
+
return /* @__PURE__ */ e("tbody", { "data-slot": "table-body", className: l("ttw:[&_tr:last-child]:border-0", t), ...a });
|
|
20
|
+
}
|
|
21
|
+
function n({
|
|
22
|
+
className: t,
|
|
23
|
+
...a
|
|
24
|
+
}) {
|
|
25
|
+
return /* @__PURE__ */ e("tr", { "data-slot": "table-row", className: l("ttw:border-b ttw:transition-colors ttw:hover:bg-muted/50 ttw:data-[state=selected]:bg-muted", t), ...a });
|
|
26
|
+
}
|
|
27
|
+
function d({
|
|
28
|
+
className: t,
|
|
29
|
+
...a
|
|
30
|
+
}) {
|
|
31
|
+
return /* @__PURE__ */ e("th", { "data-slot": "table-head", className: l("ttw:h-10 ttw:px-2 ttw:text-left ttw:align-middle ttw:font-medium ttw:whitespace-nowrap ttw:text-foreground ttw:[&:has([role=checkbox])]:pr-0 ttw:[&>[role=checkbox]]:translate-y-[2px]", t), ...a });
|
|
32
|
+
}
|
|
33
|
+
function b({
|
|
34
|
+
className: t,
|
|
35
|
+
...a
|
|
36
|
+
}) {
|
|
37
|
+
return /* @__PURE__ */ e("td", { "data-slot": "table-cell", className: l("ttw:p-2 ttw:align-middle ttw:whitespace-nowrap ttw:[&:has([role=checkbox])]:pr-0 ttw:[&>[role=checkbox]]:translate-y-[2px]", t), ...a });
|
|
38
|
+
}
|
|
40
39
|
export {
|
|
41
|
-
|
|
40
|
+
r as Table,
|
|
41
|
+
c as TableBody,
|
|
42
|
+
b as TableCell,
|
|
43
|
+
d as TableHead,
|
|
44
|
+
w as TableHeader,
|
|
45
|
+
n as TableRow
|
|
42
46
|
};
|