@tesouro/embedded-components-react 0.2.127 → 0.2.129
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 +26 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +23 -23
- 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/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/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -2
- 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 +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +22 -23
- 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 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +24 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +60 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +397 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +69 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +2 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +406 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +24 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +7 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +94 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +101 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +15 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +74 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +11 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +14 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +6 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +25 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +22 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +11 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +81 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +36 -115
- 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 +20 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +5 -190
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +10 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +18 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +16 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +27 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +114 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +67 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +33 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +15 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +12 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +12 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +57 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +31 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +23 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +12 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +10 -203
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +113 -427
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +217 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +46 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +47 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +44 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +11 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +150 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +57 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +70 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +29 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +3 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +58 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +99 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +44 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +76 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +55 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +76 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +28 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +41 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +7 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +116 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +68 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +189 -48
- 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 +30 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +105 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +137 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +18 -150
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +19 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +22 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +24 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +183 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +11 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +22 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +49 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +4 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +5 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +88 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +36 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +7 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +40 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +45 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +201 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +432 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +47 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +28 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +4 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +77 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +32 -346
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +144 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +85 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +22 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +34 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +66 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +343 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +18 -28
- 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 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +11 -245
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +14 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +19 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +35 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +35 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +15 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +17 -98
- 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 +243 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +11 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +18 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +23 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +40 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +56 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +45 -484
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +28 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +96 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +43 -58
- 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 +144 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +107 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +16 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +17 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +171 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +129 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +159 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +10 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +18 -19
- 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 +63 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +65 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +59 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +7 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +11 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +61 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +22 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +63 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +21 -78
- 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 +40 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +14 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +76 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +75 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +41 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +73 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +22 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +51 -261
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +28 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +58 -18
- 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 +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +488 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +167 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +40 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +347 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +299 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +95 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +157 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +264 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +25 -43
- 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 +18 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +2 -141
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +90 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +96 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +211 -283
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +63 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +63 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +158 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +27 -224
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +26 -36
- 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 +76 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +44 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +19 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +29 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +42 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +63 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +90 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +111 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +84 -81
- 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 +65 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +43 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +126 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +112 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +81 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +282 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +48 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +15 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +83 -27
- 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 +221 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +34 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +11 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +9 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +9 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +10 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +6 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +149 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +10 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +40 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +60 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +29 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +110 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +21 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +40 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +55 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +95 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +16 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +81 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +17 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +48 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +46 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +32 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +25 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +127 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +255 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +46 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +37 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +21 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +6 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +33 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +17 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +41 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +23 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +72 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +89 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +33 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +9 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +10 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +30 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +68 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +46 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +25 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +96 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +38 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +35 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +7 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +51 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +18 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +30 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +4 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +125 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +53 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +35 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +25 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +8 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +20 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +32 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +72 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +68 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +37 -65
- 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 +2 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +65 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +12 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +67 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +32 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +85 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +22 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +97 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +108 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +28 -38
- 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 +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +38 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +118 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +18 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +16 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +16 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +25 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +71 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +16 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +15 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +15 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +19 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +10 -12
- 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 +21 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +9 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +20 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +29 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +46 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +38 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +91 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +16 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +75 -74
- 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 +20 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +9 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +52 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +67 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +21 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +31 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +14 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +35 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +15 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +15 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +48 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +59 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +33 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +52 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +74 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +84 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +51 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +52 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +29 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +37 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +35 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +80 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +39 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -1
- 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 +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +25 -25
- 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 +26 -26
- package/package.json +6 -3
|
@@ -1,220 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import "react-hot-toast";
|
|
8
|
-
import "@lingui/react";
|
|
9
|
-
import { useCurrencies as P } from "./index58.js";
|
|
10
|
-
import { toMinorUnits as T } from "./index117.js";
|
|
11
|
-
import { formatISO as d } from "date-fns";
|
|
12
|
-
import { DATE_PRESETS as p, resolveDatePreset as A } from "./index337.js";
|
|
13
|
-
const _ = [{
|
|
14
|
-
value: "draft",
|
|
15
|
-
label: "Draft",
|
|
16
|
-
description: "Created but not yet sent"
|
|
17
|
-
}, {
|
|
18
|
-
value: "issued",
|
|
19
|
-
label: "Issued",
|
|
20
|
-
description: ""
|
|
21
|
-
}, {
|
|
22
|
-
value: "overdue",
|
|
23
|
-
label: "Overdue",
|
|
24
|
-
description: "Past due date"
|
|
25
|
-
}, {
|
|
26
|
-
value: "partially_paid",
|
|
27
|
-
label: "Partially paid",
|
|
28
|
-
description: "Some payment received"
|
|
29
|
-
}, {
|
|
30
|
-
value: "paid",
|
|
31
|
-
label: "Paid",
|
|
32
|
-
description: "Fully paid"
|
|
33
|
-
}, {
|
|
34
|
-
value: "uncollectible",
|
|
35
|
-
label: "Uncollectible",
|
|
36
|
-
description: ""
|
|
37
|
-
}, {
|
|
38
|
-
value: "canceled",
|
|
39
|
-
label: "Canceled",
|
|
40
|
-
description: ""
|
|
41
|
-
}, {
|
|
42
|
-
value: "recurring",
|
|
43
|
-
label: "Recurring",
|
|
44
|
-
description: ""
|
|
45
|
-
}], x = ["draft", "issued", "overdue", "partially_paid", "paid", "uncollectible"], U = {
|
|
46
|
-
due_date: "Due date",
|
|
47
|
-
created_at: "Created on",
|
|
48
|
-
issue_date: "Issue date"
|
|
49
|
-
};
|
|
50
|
-
function f() {
|
|
51
|
-
return {
|
|
52
|
-
search: "",
|
|
53
|
-
activeDateFields: {},
|
|
54
|
-
status: [],
|
|
55
|
-
amountMode: "any",
|
|
56
|
-
amountMin: "",
|
|
57
|
-
amountMax: "",
|
|
58
|
-
customerName: ""
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
function H({
|
|
62
|
-
initialCounterpartId: v
|
|
63
|
-
} = {}) {
|
|
64
|
-
const [t, o] = O(() => ({
|
|
65
|
-
...f(),
|
|
66
|
-
customerId: v
|
|
67
|
-
})), {
|
|
68
|
-
formatToMinorUnits: l
|
|
69
|
-
} = P(), {
|
|
70
|
-
componentSettings: b
|
|
71
|
-
} = $(), {
|
|
72
|
-
data: h
|
|
73
|
-
} = k(t.customerId), c = I(h), m = b.onboarding.allowedCurrencies?.[0] ?? "USD", F = n(() => {
|
|
74
|
-
const e = {};
|
|
75
|
-
for (const [a, s] of Object.entries(t.activeDateFields))
|
|
76
|
-
s?.from && (e[`${a}__gte`] = d(s.from, {
|
|
77
|
-
representation: "date"
|
|
78
|
-
})), s?.to && (e[`${a}__lte`] = d(s.to, {
|
|
79
|
-
representation: "date"
|
|
80
|
-
}));
|
|
81
|
-
if (t.status.length ? e.status__in = t.status : e.status__in = x, t.customerName && (e.counterpart_name__icontains = t.customerName), t.customerId && (e.counterpart_id = t.customerId), t.search && (e.search_text = t.search), t.amountMode !== "any") {
|
|
82
|
-
const a = parseFloat(t.amountMin), s = parseFloat(t.amountMax), r = (i) => l(i, m) ?? T(i, 2);
|
|
83
|
-
if (t.amountMode === "exact") {
|
|
84
|
-
if (!isNaN(a)) {
|
|
85
|
-
const i = r(a);
|
|
86
|
-
e.total_amount__gte = i, e.total_amount__lte = i;
|
|
87
|
-
}
|
|
88
|
-
} else
|
|
89
|
-
isNaN(a) || (e.total_amount__gte = r(a)), isNaN(s) || (e.total_amount__lte = r(s));
|
|
90
|
-
}
|
|
91
|
-
return e;
|
|
92
|
-
}, [t, m, l]), y = n(() => {
|
|
93
|
-
let e = 0;
|
|
94
|
-
return Object.values(t.activeDateFields).some((a) => a?.from || a?.to || a?.preset) && e++, t.status.length && e++, t.customerName && e++, t.customerId && e++, t.amountMode !== "any" && e++, t.search && e++, e;
|
|
95
|
-
}, [t]), D = n(() => {
|
|
96
|
-
const e = [];
|
|
97
|
-
for (const [a, s] of Object.entries(t.activeDateFields))
|
|
98
|
-
if (s?.from || s?.to || s?.preset) {
|
|
99
|
-
const r = s.preset ? p.find((i) => i.value === s.preset)?.label ?? "Custom range" : "Custom range";
|
|
100
|
-
e.push({
|
|
101
|
-
key: `date_${a}`,
|
|
102
|
-
label: `${U[a]}: ${r}`
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
if (t.status.length) {
|
|
106
|
-
const a = t.status.map((s) => _.find((r) => r.value === s)?.label ?? s);
|
|
107
|
-
e.push({
|
|
108
|
-
key: "status",
|
|
109
|
-
label: `Status: ${N(a)}`
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
return t.customerName && e.push({
|
|
113
|
-
key: "customer",
|
|
114
|
-
label: `Customer: ${t.customerName}`
|
|
115
|
-
}), t.customerId && e.push({
|
|
116
|
-
key: "counterpart",
|
|
117
|
-
label: `Customer: ${c || t.customerId}`
|
|
118
|
-
}), t.amountMode !== "any" && e.push({
|
|
119
|
-
key: "amount",
|
|
120
|
-
label: "Amount"
|
|
121
|
-
}), t.search && e.push({
|
|
122
|
-
key: "search",
|
|
123
|
-
label: `Search: ${t.search}`
|
|
124
|
-
}), e;
|
|
125
|
-
}, [t, c]), S = u((e, a) => {
|
|
126
|
-
const {
|
|
127
|
-
from: s,
|
|
128
|
-
to: r
|
|
129
|
-
} = A(a);
|
|
130
|
-
o((i) => ({
|
|
131
|
-
...i,
|
|
132
|
-
activeDateFields: {
|
|
133
|
-
...i.activeDateFields,
|
|
134
|
-
[e]: {
|
|
135
|
-
preset: a,
|
|
136
|
-
from: s,
|
|
137
|
-
to: r
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}));
|
|
141
|
-
}, []), C = u((e, a, s) => {
|
|
142
|
-
o((r) => ({
|
|
143
|
-
...r,
|
|
144
|
-
activeDateFields: {
|
|
145
|
-
...r.activeDateFields,
|
|
146
|
-
[e]: {
|
|
147
|
-
preset: void 0,
|
|
148
|
-
from: a,
|
|
149
|
-
to: s
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}));
|
|
153
|
-
}, []), M = u((e) => {
|
|
154
|
-
if (e.startsWith("date_")) {
|
|
155
|
-
const a = e.slice(5);
|
|
156
|
-
o((s) => {
|
|
157
|
-
const r = {
|
|
158
|
-
...s.activeDateFields
|
|
159
|
-
};
|
|
160
|
-
return delete r[a], {
|
|
161
|
-
...s,
|
|
162
|
-
activeDateFields: r
|
|
163
|
-
};
|
|
164
|
-
});
|
|
165
|
-
return;
|
|
166
|
-
}
|
|
167
|
-
switch (e) {
|
|
168
|
-
case "status":
|
|
169
|
-
o((a) => ({
|
|
170
|
-
...a,
|
|
171
|
-
status: []
|
|
172
|
-
}));
|
|
173
|
-
break;
|
|
174
|
-
case "customer":
|
|
175
|
-
o((a) => ({
|
|
176
|
-
...a,
|
|
177
|
-
customerName: ""
|
|
178
|
-
}));
|
|
179
|
-
break;
|
|
180
|
-
case "counterpart":
|
|
181
|
-
o((a) => ({
|
|
182
|
-
...a,
|
|
183
|
-
customerId: void 0
|
|
184
|
-
}));
|
|
185
|
-
break;
|
|
186
|
-
case "amount":
|
|
187
|
-
o((a) => ({
|
|
188
|
-
...a,
|
|
189
|
-
amountMode: "any",
|
|
190
|
-
amountMin: "",
|
|
191
|
-
amountMax: ""
|
|
192
|
-
}));
|
|
193
|
-
break;
|
|
194
|
-
case "search":
|
|
195
|
-
o((a) => ({
|
|
196
|
-
...a,
|
|
197
|
-
search: ""
|
|
198
|
-
}));
|
|
199
|
-
break;
|
|
200
|
-
}
|
|
201
|
-
}, []), g = u(() => o(f()), []);
|
|
202
|
-
return {
|
|
203
|
-
state: t,
|
|
204
|
-
setState: o,
|
|
205
|
-
queryParams: F,
|
|
206
|
-
activeFilterCount: y,
|
|
207
|
-
activeChips: D,
|
|
208
|
-
datePresets: p,
|
|
209
|
-
statusOptions: _,
|
|
210
|
-
setDateFieldPreset: S,
|
|
211
|
-
setDateFieldRange: C,
|
|
212
|
-
clearFilter: M,
|
|
213
|
-
clearAll: g
|
|
214
|
-
};
|
|
1
|
+
import { useMoniteContext as e } from "./index57.js";
|
|
2
|
+
function o() {
|
|
3
|
+
const {
|
|
4
|
+
userPermissions: s
|
|
5
|
+
} = e();
|
|
6
|
+
return s;
|
|
215
7
|
}
|
|
216
8
|
export {
|
|
217
|
-
|
|
218
|
-
_ as AR_STATUS_OPTIONS,
|
|
219
|
-
H as useInvoicesFilter
|
|
9
|
+
o as useUserPermissions
|
|
220
10
|
};
|
|
@@ -1,14 +1,98 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsxs as r, jsx as e, Fragment as O } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as v } from "react";
|
|
3
|
+
import { toast as I } from "react-hot-toast";
|
|
4
|
+
import "./index57.js";
|
|
5
|
+
import { useLingui as $ } from "@lingui/react";
|
|
6
|
+
import "./index92.js";
|
|
7
|
+
import { useFileInput as z, LOGO_SUPPORTED_FORMATS as C, LOGO_MAX_FILE_SIZE_IN_MB as M } from "./index61.js";
|
|
8
|
+
import "react-dom";
|
|
9
|
+
import "@mui/x-data-grid";
|
|
10
|
+
import "@tanstack/react-query";
|
|
11
|
+
import "date-fns";
|
|
12
|
+
import { useMyEntity as P } from "./index78.js";
|
|
13
|
+
import { SquarePen as T, Trash2 as k } from "lucide-react";
|
|
14
|
+
import { Button as x } from "./index84.js";
|
|
15
|
+
import { Typography as l } from "./index85.js";
|
|
16
|
+
import { useUploadEntityLogo as B } from "./index382.js";
|
|
17
|
+
import { useDeleteEntityLogo as U } from "./index383.js";
|
|
18
|
+
import { DragAndDropBox as A } from "./index384.js";
|
|
19
|
+
import { Skeleton as j } from "./index160.js";
|
|
20
|
+
const st = () => {
|
|
3
21
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}, {
|
|
9
|
-
|
|
10
|
-
|
|
22
|
+
i18n: o
|
|
23
|
+
} = $(), {
|
|
24
|
+
data: i,
|
|
25
|
+
isLoading: m
|
|
26
|
+
} = P(), c = i?.id ?? "", {
|
|
27
|
+
FileInput: D,
|
|
28
|
+
openFileInput: d,
|
|
29
|
+
checkFileError: N,
|
|
30
|
+
resetInput: p
|
|
31
|
+
} = z({
|
|
32
|
+
acceptedFormats: C,
|
|
33
|
+
maxFileSizeInMB: M
|
|
34
|
+
}), [f, s] = v(!1), [g, n] = v(""), {
|
|
35
|
+
mutateAsync: _,
|
|
36
|
+
isSuccess: b,
|
|
37
|
+
isError: w,
|
|
38
|
+
isPending: u,
|
|
39
|
+
reset: E
|
|
40
|
+
} = B(), {
|
|
41
|
+
mutate: S,
|
|
42
|
+
isPending: F
|
|
43
|
+
} = U(c);
|
|
44
|
+
async function h(t) {
|
|
45
|
+
if (t) {
|
|
46
|
+
const a = N(t);
|
|
47
|
+
if (a) {
|
|
48
|
+
I.error(a);
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
n(t.name), await _({
|
|
52
|
+
body: {
|
|
53
|
+
file: t
|
|
54
|
+
},
|
|
55
|
+
path: {
|
|
56
|
+
entity_id: c
|
|
57
|
+
}
|
|
58
|
+
}), p(), n("");
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
const L = u || w, y = !!i?.logo && !g && !L && !m;
|
|
62
|
+
return /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
63
|
+
/* @__PURE__ */ r("div", { className: "ttw:pt-5 ttw:pb-2.5 ttw:flex ttw:flex-col ttw:gap-1.5", children: [
|
|
64
|
+
/* @__PURE__ */ e(l, { variant: "h3", children: o._("Branding") }),
|
|
65
|
+
/* @__PURE__ */ e(l, { variant: "body2", color: "muted", children: o._("Control how your invoices will appear to your customers by adding your company's logo. Changes apply to new invoices only.") })
|
|
66
|
+
] }),
|
|
67
|
+
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", onDragEnter: (t) => {
|
|
68
|
+
t.preventDefault(), s(!0);
|
|
69
|
+
}, onDragLeave: (t) => {
|
|
70
|
+
t.preventDefault(), s(!1);
|
|
71
|
+
}, onDragOver: (t) => t.preventDefault(), onDrop: (t) => {
|
|
72
|
+
t.preventDefault(), s(!1);
|
|
73
|
+
const a = t.dataTransfer?.files ? t.dataTransfer?.files?.[0] : null;
|
|
74
|
+
h(a);
|
|
75
|
+
}, children: [
|
|
76
|
+
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
77
|
+
/* @__PURE__ */ e(l, { variant: "body1", className: "ttw:font-medium", children: o._("Upload your company logo") }),
|
|
78
|
+
/* @__PURE__ */ e(l, { variant: "body2", className: "ttw:leading-5", color: "muted", children: o._("Proudly display your logo on all your invoices.") })
|
|
79
|
+
] }),
|
|
80
|
+
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:items-end ttw:gap-2", children: [
|
|
81
|
+
m ? /* @__PURE__ */ e(j, { className: "ttw:w-full ttw:h-38 ttw:bg-zinc-200" }) : /* @__PURE__ */ e(O, { children: y ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:w-full ttw:h-38 ttw:box-border", children: /* @__PURE__ */ e("img", { src: i?.logo?.url, className: "ttw:w-auto ttw:max-w-full ttw:object-contain ttw:max-h-38", alt: o._("Organization logo") }) }) : /* @__PURE__ */ e(A, { isUploading: u, isSuccess: b, isError: w, isDraggingOver: f, fileName: g, resetUpload: () => {
|
|
82
|
+
p(), E(), n("");
|
|
83
|
+
}, onClick: d }) }),
|
|
84
|
+
!f && y && /* @__PURE__ */ r("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
85
|
+
/* @__PURE__ */ e(x, { variant: "ghost", size: "sm", onClick: d, "aria-label": o._("Edit logo"), children: /* @__PURE__ */ e(T, { className: "ttw:size-4 ttw:w-fit" }) }),
|
|
86
|
+
i?.logo && /* @__PURE__ */ e(x, { variant: "ghost", size: "sm", disabled: F, "aria-label": o._("Delete logo"), onClick: () => S(), children: /* @__PURE__ */ e(k, { className: "ttw:size-4" }) })
|
|
87
|
+
] })
|
|
88
|
+
] }),
|
|
89
|
+
/* @__PURE__ */ e(D, { onChange: (t) => {
|
|
90
|
+
const a = t.target.files ? t.target.files[0] : null;
|
|
91
|
+
h(a);
|
|
92
|
+
} })
|
|
93
|
+
] })
|
|
94
|
+
] });
|
|
11
95
|
};
|
|
12
96
|
export {
|
|
13
|
-
|
|
97
|
+
st as LogoSection
|
|
14
98
|
};
|
|
@@ -1,16 +1,103 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { jsx as r, jsxs as x } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Button as h } from "./index84.js";
|
|
3
|
+
import { PDFSettings as q } from "./index234.js";
|
|
4
|
+
import { useForm as S, FormProvider as D } from "react-hook-form";
|
|
5
|
+
import { useLingui as k } from "@lingui/react";
|
|
6
|
+
import { useDiscardChangesContext as N } from "./index135.js";
|
|
7
|
+
import { usePatchEntitySettings as w } from "./index235.js";
|
|
8
|
+
import { safeZodResolver as F } from "./index236.js";
|
|
9
|
+
import { useEffect as P } from "react";
|
|
10
|
+
import { InvoiceNumbering as C } from "./index237.js";
|
|
11
|
+
import { getInvoiceSettingsFormSchema as I } from "./index238.js";
|
|
12
|
+
import { getBankDisplayValue as d, buildDocumentRendering as V } from "./index239.js";
|
|
13
|
+
const Z = ({
|
|
14
|
+
entityId: _,
|
|
15
|
+
entitySettings: e,
|
|
16
|
+
nextNumbers: i,
|
|
17
|
+
isDialog: c
|
|
18
|
+
}) => {
|
|
19
|
+
const {
|
|
20
|
+
i18n: a
|
|
21
|
+
} = k(), {
|
|
22
|
+
handleShowModal: s
|
|
23
|
+
} = N(), {
|
|
24
|
+
mutate: m,
|
|
25
|
+
isPending: p
|
|
26
|
+
} = w(_), o = S({
|
|
27
|
+
resolver: F(I(a, i)),
|
|
28
|
+
defaultValues: {
|
|
29
|
+
credit_note: e?.document_ids?.document_type_prefix?.credit_note ?? "CN",
|
|
30
|
+
credit_note_number: i?.credit_note ?? 1,
|
|
31
|
+
delivery_note: e?.document_ids?.document_type_prefix?.delivery_note ?? "DN",
|
|
32
|
+
delivery_note_number: i?.delivery_note ?? 1,
|
|
33
|
+
invoice: e?.document_ids?.document_type_prefix?.invoice ?? "INV",
|
|
34
|
+
invoice_number: i?.invoice ?? 1,
|
|
35
|
+
purchase_order: e?.document_ids?.document_type_prefix?.purchase_order ?? "PO",
|
|
36
|
+
purchase_order_number: i?.purchase_order ?? 1,
|
|
37
|
+
quote: e?.document_ids?.document_type_prefix?.quote ?? "Q",
|
|
38
|
+
quote_number: i?.quote ?? 1,
|
|
39
|
+
include_date: e?.document_ids?.include_date ?? !1,
|
|
40
|
+
min_digits: e?.document_ids?.min_digits ?? 5,
|
|
41
|
+
prefix: e?.document_ids?.prefix ?? "",
|
|
42
|
+
separator: e?.document_ids?.separator ?? "-",
|
|
43
|
+
invoice_bank_display: d(e?.document_rendering?.invoice, !!(e?.document_rendering?.display_organization_bank_account ?? !1)),
|
|
44
|
+
credit_note_bank_display: d(e?.document_rendering?.credit_note, !!(e?.document_rendering?.display_organization_bank_account ?? !1)),
|
|
45
|
+
quote_bank_display: d(e?.document_rendering?.quote, !!(e?.document_rendering?.display_organization_bank_account ?? !1)),
|
|
46
|
+
update_paid_invoices: e?.generate_paid_invoice_pdf ?? !1,
|
|
47
|
+
quote_signature_display: e?.document_rendering?.quote?.display_signature ?? !1,
|
|
48
|
+
quote_electronic_signature: e?.quote_signature_required ?? !1
|
|
49
|
+
}
|
|
50
|
+
}), {
|
|
51
|
+
control: u,
|
|
52
|
+
handleSubmit: l,
|
|
53
|
+
formState: n,
|
|
54
|
+
reset: g
|
|
55
|
+
} = o, f = (t) => {
|
|
56
|
+
const {
|
|
57
|
+
dirtyFields: y
|
|
58
|
+
} = n, v = V(e?.document_rendering, t), b = y.invoice_number;
|
|
59
|
+
m({
|
|
60
|
+
path: {
|
|
61
|
+
entity_id: _
|
|
62
|
+
},
|
|
63
|
+
body: {
|
|
64
|
+
...e,
|
|
65
|
+
document_ids: {
|
|
66
|
+
document_type_prefix: {
|
|
67
|
+
invoice: t.invoice,
|
|
68
|
+
credit_note: t.credit_note,
|
|
69
|
+
delivery_note: t.delivery_note,
|
|
70
|
+
purchase_order: t.purchase_order,
|
|
71
|
+
quote: t.quote
|
|
72
|
+
},
|
|
73
|
+
...b && {
|
|
74
|
+
next_number: {
|
|
75
|
+
invoice: t.invoice_number
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
min_digits: t.min_digits,
|
|
79
|
+
separator: t.separator,
|
|
80
|
+
include_date: t.include_date,
|
|
81
|
+
prefix: t.prefix || null
|
|
82
|
+
},
|
|
83
|
+
document_rendering: v,
|
|
84
|
+
generate_paid_invoice_pdf: t.update_paid_invoices,
|
|
85
|
+
quote_signature_required: t.quote_electronic_signature === !0 || t.quote_electronic_signature === "true"
|
|
86
|
+
}
|
|
87
|
+
}, {
|
|
88
|
+
onSuccess: () => {
|
|
89
|
+
g(o.getValues());
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
return P(() => {
|
|
94
|
+
s(n?.isDirty);
|
|
95
|
+
}, [n?.isDirty, s]), /* @__PURE__ */ r(D, { ...o, children: /* @__PURE__ */ x("form", { className: "ttw:flex ttw:flex-col ttw:gap-6", onSubmit: l(f), children: [
|
|
96
|
+
/* @__PURE__ */ r(C, { control: u }),
|
|
97
|
+
/* @__PURE__ */ r(q, { control: u, isDialog: c }),
|
|
98
|
+
/* @__PURE__ */ r(h, { type: "submit", className: "ttw:w-fit", disabled: p || !n?.isDirty, children: a._("Save changes") })
|
|
99
|
+
] }) });
|
|
100
|
+
};
|
|
14
101
|
export {
|
|
15
|
-
|
|
102
|
+
Z as TemplateSettingsContent
|
|
16
103
|
};
|
|
@@ -1,41 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
isError: l,
|
|
10
|
-
onCreate: y,
|
|
11
|
-
refetch: m,
|
|
12
|
-
entityName: e,
|
|
13
|
-
noDataTitle: c,
|
|
14
|
-
noDataDescription1: p,
|
|
15
|
-
filterTitle: N,
|
|
16
|
-
filterDescription1: d,
|
|
17
|
-
actionButtonLabel: L,
|
|
18
|
-
actionOptions: u,
|
|
19
|
-
onAction: f,
|
|
20
|
-
type: g
|
|
1
|
+
import { jsxs as t, jsx as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { ConfirmationModal as s } from "./index214.js";
|
|
3
|
+
import { Typography as i } from "./index85.js";
|
|
4
|
+
import { useLingui as l } from "@lingui/react";
|
|
5
|
+
const d = ({
|
|
6
|
+
open: a,
|
|
7
|
+
onClose: e,
|
|
8
|
+
onContinue: r
|
|
21
9
|
}) => {
|
|
22
10
|
const {
|
|
23
|
-
i18n:
|
|
24
|
-
} =
|
|
25
|
-
return
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}), descriptionLine1: p || t._("You don’t have any {entityName} yet.", {
|
|
30
|
-
entityName: e.toLowerCase()
|
|
31
|
-
}), actionOptions: u, actionButtonLabel: L, onAction: (_) => {
|
|
32
|
-
y && y(_ ?? "");
|
|
33
|
-
}, type: g || "no-data" }) : l ? /* @__PURE__ */ i(n, { title: t._("Failed to load {entityName}", {
|
|
34
|
-
entityName: e
|
|
35
|
-
}), descriptionLine1: t._("There was an error loading {entityName}.", {
|
|
36
|
-
entityName: e.toLowerCase()
|
|
37
|
-
}), actionButtonLabel: t._("Reload"), onAction: m, type: "error" }) : null;
|
|
11
|
+
i18n: o
|
|
12
|
+
} = l();
|
|
13
|
+
return /* @__PURE__ */ t(s, { open: a, title: o._("You have unsaved changes"), confirmLabel: o._("Quit without saving"), cancelLabel: o._("Cancel"), onClose: e, onConfirm: r, children: [
|
|
14
|
+
/* @__PURE__ */ n(i, { variant: "body1", children: o._("Any unsaved changes will be lost.") }),
|
|
15
|
+
/* @__PURE__ */ n(i, { variant: "body1", children: o._("Are you sure you want to quit without saving?") })
|
|
16
|
+
] });
|
|
38
17
|
};
|
|
39
18
|
export {
|
|
40
|
-
|
|
19
|
+
d as DiscardChangesModal
|
|
41
20
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as o, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { isPayableInOCRProcessing as S } from "./
|
|
3
|
-
import { SummaryCardsFilters as J } from "./
|
|
4
|
-
import { PayablesFilterBar as X } from "./
|
|
5
|
-
import { usePayablesFilter as Z } from "./
|
|
6
|
-
import { PayableStatusChip as tt } from "./
|
|
2
|
+
import { isPayableInOCRProcessing as S } from "./index311.js";
|
|
3
|
+
import { SummaryCardsFilters as J } from "./index312.js";
|
|
4
|
+
import { PayablesFilterBar as X } from "./index313.js";
|
|
5
|
+
import { usePayablesFilter as Z } from "./index314.js";
|
|
6
|
+
import { PayableStatusChip as tt } from "./index175.js";
|
|
7
7
|
import { useMoniteContext as et } from "./index57.js";
|
|
8
8
|
import { MoniteScopedProviders as at } from "./index83.js";
|
|
9
9
|
import { useCurrencies as ot } from "./index58.js";
|
|
10
10
|
import { usePayablePaymentIntentsAndRecords as rt } from "./index79.js";
|
|
11
|
-
import { useUserPermissions as st } from "./
|
|
11
|
+
import { useUserPermissions as st } from "./index136.js";
|
|
12
12
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
13
13
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
14
14
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
@@ -17,18 +17,18 @@ import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
|
17
17
|
import { Scope as nt } from "../../shared/data-access/dist/lib/scopes.js";
|
|
18
18
|
import { useState as c, useEffect as v, useMemo as P } from "react";
|
|
19
19
|
import { dateStringToLocalDate as it } from "./index96.js";
|
|
20
|
-
import { CounterpartNameCellById as lt } from "./
|
|
21
|
-
import { GetNoRowsOverlay as ct } from "./
|
|
22
|
-
import { DueDateCell as dt } from "./
|
|
23
|
-
import { AccessRestriction as mt } from "./
|
|
20
|
+
import { CounterpartNameCellById as lt } from "./index185.js";
|
|
21
|
+
import { GetNoRowsOverlay as ct } from "./index149.js";
|
|
22
|
+
import { DueDateCell as dt } from "./index192.js";
|
|
23
|
+
import { AccessRestriction as mt } from "./index144.js";
|
|
24
24
|
import { Button as D } from "./index84.js";
|
|
25
25
|
import "clsx";
|
|
26
26
|
import "tailwind-merge";
|
|
27
27
|
import "@radix-ui/react-dialog";
|
|
28
28
|
import { ArrowUp as b, ArrowDown as N, ArrowUpDown as F, Loader2 as ut } from "lucide-react";
|
|
29
29
|
import { useLingui as pt } from "@lingui/react";
|
|
30
|
-
import { DataTable as gt } from "./
|
|
31
|
-
import { hasSelectedText as ht } from "./
|
|
30
|
+
import { DataTable as gt } from "./index148.js";
|
|
31
|
+
import { hasSelectedText as ht } from "./index151.js";
|
|
32
32
|
const Gt = (d) => /* @__PURE__ */ o(at, { children: /* @__PURE__ */ o(ft, { ...d }) }), ft = ({
|
|
33
33
|
initialCounterpartId: d,
|
|
34
34
|
onRowClick: x,
|
|
@@ -1,28 +1,78 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
data: t
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import { jsx as a, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as s } from "./index100.js";
|
|
3
|
+
import * as o from "@radix-ui/react-dialog";
|
|
4
|
+
import { XIcon as d } from "lucide-react";
|
|
5
|
+
function h({
|
|
6
|
+
...t
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ a(o.Root, { "data-slot": "sheet", ...t });
|
|
9
|
+
}
|
|
10
|
+
function g({
|
|
11
|
+
...t
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ a(o.Close, { "data-slot": "sheet-close", ...t });
|
|
14
|
+
}
|
|
15
|
+
function c({
|
|
16
|
+
container: t,
|
|
17
|
+
...e
|
|
18
|
+
}) {
|
|
19
|
+
return /* @__PURE__ */ a(o.Portal, { "data-slot": "sheet-portal", ...e, container: t });
|
|
20
|
+
}
|
|
21
|
+
function u({
|
|
22
|
+
className: t,
|
|
23
|
+
...e
|
|
24
|
+
}) {
|
|
25
|
+
return /* @__PURE__ */ a(o.Overlay, { "data-slot": "sheet-overlay", className: s("ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:fixed ttw:inset-0 ttw:z-1300 ttw:bg-black/50", t), ...e });
|
|
26
|
+
}
|
|
27
|
+
function x({
|
|
28
|
+
className: t,
|
|
29
|
+
children: e,
|
|
30
|
+
side: n = "right",
|
|
31
|
+
container: l = typeof document < "u" ? document.body : null,
|
|
32
|
+
showCloseButton: r = !0,
|
|
33
|
+
...w
|
|
34
|
+
}) {
|
|
35
|
+
return /* @__PURE__ */ i(c, { container: l, children: [
|
|
36
|
+
/* @__PURE__ */ a(u, {}),
|
|
37
|
+
/* @__PURE__ */ i(o.Content, { "data-slot": "sheet-content", className: s("ttw:bg-background ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:fixed ttw:z-1300 ttw:flex ttw:flex-col ttw:gap-4 ttw:shadow-lg ttw:transition ttw:ease-in-out ttw:data-[state=closed]:duration-300 ttw:data-[state=open]:duration-500", n === "right" && "ttw:data-[state=closed]:slide-out-to-right ttw:data-[state=open]:slide-in-from-right ttw:inset-y-0 ttw:right-0 ttw:h-full ttw:w-3/4 ttw:sm:max-w-[600px]", n === "left" && "ttw:data-[state=closed]:slide-out-to-left ttw:data-[state=open]:slide-in-from-left ttw:inset-y-0 ttw:left-0 ttw:h-full ttw:w-3/4 ttw:sm:max-w-[600px]", n === "top" && "ttw:data-[state=closed]:slide-out-to-top ttw:data-[state=open]:slide-in-from-top ttw:inset-x-0 ttw:top-0 ttw:h-auto ttw:border-b", n === "bottom" && "ttw:data-[state=closed]:slide-out-to-bottom ttw:data-[state=open]:slide-in-from-bottom ttw:inset-x-0 ttw:bottom-0 ttw:h-auto ttw:border-t", t), ...w, children: [
|
|
38
|
+
e,
|
|
39
|
+
r && /* @__PURE__ */ i(o.Close, { className: "ttw:p-2 ttw:ring-offset-background ttw:focus:ring-ring ttw:data-[state=open]:bg-neutral ttw:absolute ttw:top-4 ttw:right-4 ttw:rounded-xs ttw:opacity-70 ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:ring-2 ttw:focus:ring-offset-2 ttw:focus:outline-hidden ttw:cursor-pointer ttw:disabled:pointer-events-none", children: [
|
|
40
|
+
/* @__PURE__ */ a(d, { className: "ttw:size-4" }),
|
|
41
|
+
/* @__PURE__ */ a("span", { className: "ttw:sr-only", children: "Close" })
|
|
42
|
+
] })
|
|
23
43
|
] })
|
|
24
44
|
] });
|
|
25
|
-
}
|
|
45
|
+
}
|
|
46
|
+
function b({
|
|
47
|
+
className: t,
|
|
48
|
+
...e
|
|
49
|
+
}) {
|
|
50
|
+
return /* @__PURE__ */ a("div", { "data-slot": "sheet-header", className: s("ttw:flex ttw:flex-col ttw:gap-1.5 ttw:p-4", t), ...e });
|
|
51
|
+
}
|
|
52
|
+
function N({
|
|
53
|
+
className: t,
|
|
54
|
+
...e
|
|
55
|
+
}) {
|
|
56
|
+
return /* @__PURE__ */ a("div", { "data-slot": "sheet-footer", className: s("ttw:mt-auto ttw:flex ttw:flex-col ttw:gap-2 ttw:p-4", t), ...e });
|
|
57
|
+
}
|
|
58
|
+
function y({
|
|
59
|
+
className: t,
|
|
60
|
+
...e
|
|
61
|
+
}) {
|
|
62
|
+
return /* @__PURE__ */ a(o.Title, { "data-slot": "sheet-title", className: s("ttw:text-foreground ttw:font-semibold", t), ...e });
|
|
63
|
+
}
|
|
64
|
+
function S({
|
|
65
|
+
className: t,
|
|
66
|
+
...e
|
|
67
|
+
}) {
|
|
68
|
+
return /* @__PURE__ */ a(o.Description, { "data-slot": "sheet-description", className: s("ttw:text-muted-foreground ttw:text-sm", t), ...e });
|
|
69
|
+
}
|
|
26
70
|
export {
|
|
27
|
-
h as
|
|
71
|
+
h as Sheet,
|
|
72
|
+
g as SheetClose,
|
|
73
|
+
x as SheetContent,
|
|
74
|
+
S as SheetDescription,
|
|
75
|
+
N as SheetFooter,
|
|
76
|
+
b as SheetHeader,
|
|
77
|
+
y as SheetTitle
|
|
28
78
|
};
|