@tesouro/embedded-components-react 0.2.152 → 0.2.155
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 +6 -0
- package/dist/index.d.ts +10 -1
- package/dist/lib/ReceivablesWidget.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +21 -21
- 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 +13 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +23 -12
- 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 +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +58 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +398 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +69 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +407 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +79 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +33 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +32 -12
- 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 +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +22 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +10 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +119 -216
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +217 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +10 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +10 -47
- 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 +47 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +42 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +46 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +15 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +10 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +152 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +23 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +57 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +70 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +25 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +3 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +64 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +37 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +74 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +5 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +96 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +57 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +25 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +2 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +27 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +117 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +62 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +12 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +96 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +98 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +17 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +11 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +42 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +75 -28
- 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 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +25 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +71 -460
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +28 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +38 -533
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +7 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +220 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +467 -396
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +109 -68
- 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 +537 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +25 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +101 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +26 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +5 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +11 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +214 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +35 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +32 -141
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +53 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +25 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +5 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +74 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +32 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +19 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +142 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +86 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +23 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +183 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +24 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +2 -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/index243.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +3 -3
- 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 +22 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +52 -342
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +27 -301
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +56 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +15 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +37 -263
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +345 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +303 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +103 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +162 -2
- 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 +263 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +22 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +20 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +2 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +94 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +96 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +210 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +20 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +16 -60
- 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 +17 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +167 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +133 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +158 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +10 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +62 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +68 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +59 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +6 -158
- 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 +10 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +59 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +24 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +61 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +14 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +18 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +39 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +14 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +75 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +39 -85
- 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 +60 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +113 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +21 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +41 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +51 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +488 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +167 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +63 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +72 -67
- 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 +44 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +22 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +29 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +17 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +28 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +39 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +63 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +92 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +112 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +88 -25
- 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 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +41 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +62 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +24 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +127 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +149 -205
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +10 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +19 -491
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +6 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +25 -21
- 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 +122 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +49 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +113 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +110 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +47 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +205 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +69 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +158 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +27 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +29 -4
- 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 +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +29 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +4 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +31 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +29 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +27 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +48 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +11 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +11 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +6 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +255 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +32 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +14 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +45 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +31 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +4 -36
- 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 +127 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +53 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +96 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +33 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +33 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +123 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +16 -24
- 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 +16 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +16 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +73 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +29 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +53 -37
- 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 +34 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +24 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +69 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +47 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +27 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +22 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +84 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +85 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +262 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +39 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +61 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +41 -267
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +21 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +136 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +111 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +81 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +91 -136
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +9 -80
- 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 +8 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +2 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +282 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +48 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +4 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +45 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +35 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +21 -27
- 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 +42 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +23 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +72 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +94 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +33 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +9 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +10 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +25 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +16 -15
- 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 +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +47 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +46 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +64 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +21 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +18 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +12 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +65 -26
- 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 +21 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +9 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +20 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +31 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +85 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +24 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +105 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +110 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +72 -31
- 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 +66 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +7 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +29 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +23 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +38 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +82 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +33 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +93 -34
- 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 +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +75 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +21 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +9 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +55 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +70 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +21 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +40 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +34 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +13 -50
- 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 +18 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +49 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +59 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +29 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +32 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +70 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +81 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +55 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +50 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +54 -28
- 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 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +39 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +44 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +55 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +48 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +13 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +39 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +48 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +64 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +37 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +51 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +35 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +17 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.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 +1 -1
- 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/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 +22 -22
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +23 -23
- package/dist/pending-feature-style-sources.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,51 +1,46 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
isPaymentTermsLoading: s,
|
|
14
|
-
showPurchaseOrder: d = !0,
|
|
15
|
-
lockRecurrenceSchedule: m = !1
|
|
1
|
+
import { jsxs as l, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import * as w from "react";
|
|
3
|
+
import { Badge as d } from "./index228.js";
|
|
4
|
+
import { Button as m } from "./index84.js";
|
|
5
|
+
import { cn as p } from "./index100.js";
|
|
6
|
+
import { XIcon as h } from "lucide-react";
|
|
7
|
+
const g = ({
|
|
8
|
+
className: i,
|
|
9
|
+
value: e,
|
|
10
|
+
onChange: a,
|
|
11
|
+
ref: c,
|
|
12
|
+
...f
|
|
16
13
|
}) => {
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
] }),
|
|
45
|
-
/* @__PURE__ */ e(v, { disabled: a })
|
|
46
|
-
] })
|
|
14
|
+
const [r, n] = w.useState("");
|
|
15
|
+
w.useEffect(() => {
|
|
16
|
+
if (r.includes(",")) {
|
|
17
|
+
const t = /* @__PURE__ */ new Set([...e, ...r.split(",").map((s) => s.trim())]);
|
|
18
|
+
a(Array.from(t)), n("");
|
|
19
|
+
}
|
|
20
|
+
}, [r, a, e]);
|
|
21
|
+
const u = () => {
|
|
22
|
+
if (r) {
|
|
23
|
+
const t = /* @__PURE__ */ new Set([...e, r]);
|
|
24
|
+
a(Array.from(t)), n("");
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
return /* @__PURE__ */ l("div", { className: p(
|
|
28
|
+
// caveat: :has() variant requires tailwind v3.4 or above: https://tailwindcss.com/blog/tailwindcss-v3-4#new-has-variant
|
|
29
|
+
"ttw:has-[:focus-visible]:ttw:outline-none ttw:has-[:focus-visible]:ttw:ring-2 ttw:has-[:focus-visible]:ttw:ring-neutral-950 ttw:has-[:focus-visible]:ttw:ring-offset-2 dark:ttw:has-[:focus-visible]:ttw:ring-neutral-300 ttw:min-h-10 ttw:flex ttw:w-full ttw:flex-wrap ttw:gap-2 ttw:rounded-md ttw:border ttw:border-neutral-200 ttw:bg-white ttw:px-3 ttw:py-2 ttw:text-sm ttw:ring-offset-white ttw:disabled:ttw:cursor-not-allowed ttw:disabled:ttw:opacity-50 dark:ttw:border-neutral-800 dark:ttw:bg-neutral-950 dark:ttw:ring-offset-neutral-950",
|
|
30
|
+
i
|
|
31
|
+
), children: [
|
|
32
|
+
e.map((t) => /* @__PURE__ */ l(d, { variant: "secondary", children: [
|
|
33
|
+
t,
|
|
34
|
+
/* @__PURE__ */ o(m, { variant: "ghost", size: "icon", className: "ttw:ml-2 ttw:h-3 ttw:w-3", onClick: () => {
|
|
35
|
+
a(e.filter((s) => s !== t));
|
|
36
|
+
}, children: /* @__PURE__ */ o(h, { className: "ttw:w-3" }) })
|
|
37
|
+
] }, t)),
|
|
38
|
+
/* @__PURE__ */ o("input", { className: "ttw:flex-1 ttw:outline-none ttw:placeholder:ttw:text-neutral-500 dark:ttw:placeholder:ttw:text-neutral-400", value: r, onChange: (t) => n(t.target.value), onKeyDown: (t) => {
|
|
39
|
+
t.key === "Enter" || t.key === "," ? (t.preventDefault(), u()) : t.key === "Backspace" && r.length === 0 && e.length > 0 && (t.preventDefault(), a(e.slice(0, -1)));
|
|
40
|
+
}, ...f, ref: c })
|
|
47
41
|
] });
|
|
48
42
|
};
|
|
43
|
+
g.displayName = "InputTags";
|
|
49
44
|
export {
|
|
50
|
-
|
|
45
|
+
g as InputTags
|
|
51
46
|
};
|
|
@@ -1,120 +1,65 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
name: o,
|
|
61
|
-
id: null
|
|
62
|
-
})) : (s || a) && (r(`line_items.${t}.product.measure_unit_id`, s || a), r(`line_items.${t}.product.measure_unit_name`, void 0), r(`line_items.${t}.measure_unit`, void 0));
|
|
63
|
-
}, [r]), V = h((t, e, a) => {
|
|
64
|
-
const s = e.label ?? "";
|
|
65
|
-
r(`line_items.${t}.product.name`, s), s.trim() && x(`line_items.${t}.product.name`);
|
|
66
|
-
const o = e.id !== "" && e.id !== z && a;
|
|
67
|
-
if (r(`line_items.${t}.product_id`, o ? e.id : ""), o) {
|
|
68
|
-
r(`line_items.${t}.product.price.value`, e.price?.value ?? 0), r(`line_items.${t}.product.price.currency`, d);
|
|
69
|
-
const f = c(`line_items.${t}.product.measure_unit_id`);
|
|
70
|
-
I(t, e, f), r(`line_items.${t}.quantity`, e.smallestAmount ?? 1), r(`line_items.${t}.product.smallest_amount`, e.smallestAmount), r(`line_items.${t}.product.type`, "product"), r(`line_items.${t}.product.description`, e.description ?? ""), v(`line_items.${t}`);
|
|
71
|
-
}
|
|
72
|
-
}, [d, c, r, I, v, x]);
|
|
73
|
-
return /* @__PURE__ */ l("div", { ref: $, className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
74
|
-
/* @__PURE__ */ l("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4", children: [
|
|
75
|
-
/* @__PURE__ */ i(m, { variant: "h4", children: n._("Products and services") }),
|
|
76
|
-
/* @__PURE__ */ i(m, { variant: "body2", color: "muted", className: "ttw:font-medium", children: n._("Add the products and services on this invoice. You'll have the option to save new items to your inventory.") })
|
|
77
|
-
] }),
|
|
78
|
-
/* @__PURE__ */ i(D, { generalError: g?.errors?.line_items?.root?.message ?? S, fieldErrors: A }),
|
|
79
|
-
/* @__PURE__ */ l("ul", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
80
|
-
/* @__PURE__ */ l("li", { className: "ttw:flex ttw:items-center ttw:gap-2.5 ttw:h-5", children: [
|
|
81
|
-
/* @__PURE__ */ i(m, { variant: "body2", className: "ttw:font-medium ttw:leading-5 ttw:min-w-30 ttw:whitespace-nowrap ttw:inline-flex ttw:flex-1", children: n._("Item name") }),
|
|
82
|
-
/* @__PURE__ */ i(m, { variant: "body2", className: "ttw:font-medium ttw:leading-5 ttw:w-24 ttw:min-w-24", children: n._("Quantity") }),
|
|
83
|
-
/* @__PURE__ */ i(m, { variant: "body2", className: "ttw:font-medium ttw:leading-5 ttw:w-20.5 ttw:min-w-20.5", children: n._("Units") }),
|
|
84
|
-
/* @__PURE__ */ i(m, { variant: "body2", className: "ttw:font-medium ttw:leading-5 ttw:max-w-41 ttw:w-full ttw:min-w-29", children: n._("Price") }),
|
|
85
|
-
/* @__PURE__ */ i(m, { variant: "body2", className: "ttw:font-medium ttw:leading-5 ttw:w-12 ttw:min-w-12", children: n._("Taxable") }),
|
|
86
|
-
w.length > 1 && /* @__PURE__ */ i("div", { className: "ttw:w-10 ttw:min-w-10" })
|
|
87
|
-
] }),
|
|
88
|
-
L ? /* @__PURE__ */ i("li", { className: "ttw:flex ttw:items-center ttw:justify-center ttw:h-9", children: /* @__PURE__ */ i(et, { className: "ttw:w-5 ttw:h-5" }) }) : w.map((t, e) => {
|
|
89
|
-
const a = (o) => c(`line_items.${e}.${o}`), s = (o, f, j) => {
|
|
90
|
-
const G = `line_items.${e}.${o}`;
|
|
91
|
-
p(G, f, j);
|
|
92
|
-
};
|
|
93
|
-
return /* @__PURE__ */ i(k, { field: t, index: e, control: _, errors: g.errors, defaultCurrency: d, measureUnitsData: C, onRequestLineItemValue: a, onLineItemValueChange: s, canRemove: w.length > 1, onUpdateItem: V, onRemoveItem: T, container: $ }, t.id);
|
|
94
|
-
})
|
|
95
|
-
] }),
|
|
96
|
-
/* @__PURE__ */ l(O, { type: "button", variant: "ghost", onClick: R, className: "ttw:text-primary ttw:hover:text-primary ttw:w-fit", children: [
|
|
97
|
-
/* @__PURE__ */ i(J, { className: "ttw:size-5 ttw:text-primary" }),
|
|
98
|
-
n._("Add item")
|
|
99
|
-
] }),
|
|
100
|
-
/* @__PURE__ */ i(tt, { name: "tax_rate", control: _, render: ({
|
|
101
|
-
field: t
|
|
102
|
-
}) => /* @__PURE__ */ i(Q, { children: /* @__PURE__ */ l(Y, { className: "ttw:flex-row ttw:justify-end", children: [
|
|
103
|
-
/* @__PURE__ */ i(H, { htmlFor: t.name, children: n._("Tax rate") }),
|
|
104
|
-
/* @__PURE__ */ l(rt, { className: "ttw:w-28 ttw:has-[>[data-align=inline-end]]:[&>input]:pr-0", children: [
|
|
105
|
-
/* @__PURE__ */ i(nt, { ...t, value: t.value ?? "", id: t.name, className: "ttw:text-right", placeholder: n._("e.g. 6.25"), type: "text", inputMode: "decimal", onChange: (e) => {
|
|
106
|
-
t.onChange(ot(e.target.value));
|
|
107
|
-
}, onBlur: (e) => {
|
|
108
|
-
const a = e.target.value;
|
|
109
|
-
t.onChange(a.endsWith(".") ? a.slice(0, -1) : a), t.onBlur();
|
|
110
|
-
} }),
|
|
111
|
-
/* @__PURE__ */ i(at, { align: "inline-end", children: "%" })
|
|
112
|
-
] })
|
|
113
|
-
] }) }) }),
|
|
114
|
-
/* @__PURE__ */ i(st, {}),
|
|
115
|
-
/* @__PURE__ */ i(q, { subtotalPrice: E, totalTaxes: U, totalPrice: F })
|
|
116
|
-
] });
|
|
1
|
+
const t = (e, r) => {
|
|
2
|
+
switch (r) {
|
|
3
|
+
case "draft":
|
|
4
|
+
return e._("Draft");
|
|
5
|
+
case "issued":
|
|
6
|
+
return e._("Issued");
|
|
7
|
+
case "accepted":
|
|
8
|
+
return e._("Accepted");
|
|
9
|
+
case "expired":
|
|
10
|
+
return e._("Expired");
|
|
11
|
+
case "declined":
|
|
12
|
+
return e._("Declined");
|
|
13
|
+
case "recurring":
|
|
14
|
+
return e._("Recurring");
|
|
15
|
+
case "partially_paid":
|
|
16
|
+
return e._("Partially paid");
|
|
17
|
+
case "paid":
|
|
18
|
+
return e._("Paid");
|
|
19
|
+
case "overdue":
|
|
20
|
+
return e._("Overdue");
|
|
21
|
+
case "uncollectible":
|
|
22
|
+
return e._("Uncollectible");
|
|
23
|
+
case "canceled":
|
|
24
|
+
return e._("Canceled");
|
|
25
|
+
case "deleted":
|
|
26
|
+
return e._("Deleted");
|
|
27
|
+
default:
|
|
28
|
+
throw new Error(`Unknown status ${JSON.stringify(r)}`);
|
|
29
|
+
}
|
|
30
|
+
}, a = (e, r) => {
|
|
31
|
+
switch (r) {
|
|
32
|
+
case "active":
|
|
33
|
+
return e._("Active");
|
|
34
|
+
case "paused":
|
|
35
|
+
return e._("Paused");
|
|
36
|
+
case "canceled":
|
|
37
|
+
return e._("Cancelled");
|
|
38
|
+
case "completed":
|
|
39
|
+
return e._("Complete");
|
|
40
|
+
default:
|
|
41
|
+
throw new Error(`Unknown status ${JSON.stringify(r)}`);
|
|
42
|
+
}
|
|
43
|
+
}, n = (e, r) => {
|
|
44
|
+
switch (r) {
|
|
45
|
+
case "pending":
|
|
46
|
+
return e._("Scheduled");
|
|
47
|
+
case "skipped":
|
|
48
|
+
return e._("Skipped");
|
|
49
|
+
case "canceled":
|
|
50
|
+
return e._("Cancelled");
|
|
51
|
+
case "issue_failed":
|
|
52
|
+
return e._("Issue failed");
|
|
53
|
+
case "send_failed":
|
|
54
|
+
return e._("Send failed");
|
|
55
|
+
case "completed":
|
|
56
|
+
return e._("Complete");
|
|
57
|
+
default:
|
|
58
|
+
throw new Error(`Unknown status ${JSON.stringify(r)}`);
|
|
59
|
+
}
|
|
117
60
|
};
|
|
118
61
|
export {
|
|
119
|
-
|
|
62
|
+
n as getCommonRecurrenceIterationStatusLabel,
|
|
63
|
+
a as getCommonRecurrenceStatusLabel,
|
|
64
|
+
t as getCommonStatusLabel
|
|
120
65
|
};
|
|
@@ -1,113 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import "react-hot-toast";
|
|
14
|
-
import "./index57.js";
|
|
15
|
-
import { useSelectableBankAccounts as I } from "./index345.js";
|
|
16
|
-
import "date-fns";
|
|
17
|
-
import "clsx";
|
|
18
|
-
import "tailwind-merge";
|
|
19
|
-
import "@radix-ui/react-dropdown-menu";
|
|
20
|
-
import "./index84.js";
|
|
21
|
-
import "./index92.js";
|
|
22
|
-
import "react-dom";
|
|
23
|
-
import "@mui/x-data-grid";
|
|
24
|
-
import { Badge as W } from "./index228.js";
|
|
25
|
-
import { Field as q, FieldContent as z, FieldError as K } from "./index156.js";
|
|
26
|
-
import { Select as O, SelectTrigger as R, SelectValue as U, SelectContent as G, SelectItem as y, SelectSeparator as H } from "./index286.js";
|
|
27
|
-
import { Typography as d } from "./index85.js";
|
|
28
|
-
import { BankAccountSectionForm as J } from "./index400.js";
|
|
29
|
-
import { Alert as M, AlertTitle as Q, AlertDescription as X } from "./index155.js";
|
|
30
|
-
import { Skeleton as Y } from "./index136.js";
|
|
31
|
-
import { getSourceLabel as g, getLineLabel as x } from "./index401.js";
|
|
32
|
-
const $t = ({
|
|
33
|
-
disabled: v,
|
|
34
|
-
embeddedBankName: p
|
|
1
|
+
import { jsx as t, jsxs as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useLingui as m } from "@lingui/react";
|
|
3
|
+
import { twMerge as d } from "tailwind-merge";
|
|
4
|
+
const p = ({
|
|
5
|
+
isAllStatus: s,
|
|
6
|
+
data: w,
|
|
7
|
+
amountOfItems: i,
|
|
8
|
+
selected: l,
|
|
9
|
+
onClick: n,
|
|
10
|
+
formatAmount: a,
|
|
11
|
+
statusChip: r,
|
|
12
|
+
allItemsText: o
|
|
35
13
|
}) => {
|
|
36
14
|
const {
|
|
37
|
-
i18n:
|
|
38
|
-
} =
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} = I(), b = S("bank_account_id");
|
|
47
|
-
return $(() => {
|
|
48
|
-
if (o.length === 1 && !l && !w.current) {
|
|
49
|
-
const r = o[0];
|
|
50
|
-
i("bank_account_id", r.id), i("bank_account_type", r.bank_account_type), w.current = !0;
|
|
51
|
-
}
|
|
52
|
-
}, [i, o, l]), /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
53
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4", children: [
|
|
54
|
-
/* @__PURE__ */ t(d, { variant: "h4", children: e._("Payment instructions") }),
|
|
55
|
-
/* @__PURE__ */ t(d, { variant: "body2", color: "muted", className: "ttw:font-medium", children: e._("Tells the customer how they can pay you. We'll include the selected info on the invoice") })
|
|
15
|
+
i18n: c
|
|
16
|
+
} = m();
|
|
17
|
+
return /* @__PURE__ */ t("button", { onClick: n, type: "button", className: d("ttw:flex ttw:flex-col ttw:gap-2 ttw:px-4 ttw:py-2 ttw:rounded-xl ttw:border ttw:w-42 ttw:shrink-0 ttw:text-left ttw:cursor-pointer ttw:transition-colors ttw:bg-white", l ? "ttw:border-indigo-700" : "ttw:border-white ttw:hover:border-indigo-700"), children: s ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-2", children: [
|
|
18
|
+
/* @__PURE__ */ t("span", { className: "ttw:text-xs ttw:font-medium ttw:text-zinc-950", children: o ?? c._("All items") }),
|
|
19
|
+
/* @__PURE__ */ t("span", { className: "ttw:text-2xl ttw:font-medium ttw:text-zinc-950 ttw:leading-8 ttw:tabular-nums", children: w })
|
|
20
|
+
] }) : /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
21
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-2", children: [
|
|
22
|
+
r,
|
|
23
|
+
/* @__PURE__ */ t("span", { className: "ttw:text-xs ttw:font-medium ttw:leading-4.5 ttw:text-zinc-950 ttw:tabular-nums", children: i ?? 0 })
|
|
56
24
|
] }),
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
/* @__PURE__ */ t(d, { variant: "body2", children: e._("Bank account") }),
|
|
60
|
-
/* @__PURE__ */ t(d, { variant: "caption", color: "muted", children: e._("Display your bank account number and routing number") })
|
|
61
|
-
] }),
|
|
62
|
-
l ? /* @__PURE__ */ t(Y, { className: "ttw:w-full ttw:h-9 ttw:rounded-md" }) : /* @__PURE__ */ t(L, { name: "bank_account_id", control: N, render: ({
|
|
63
|
-
field: r,
|
|
64
|
-
fieldState: {
|
|
65
|
-
error: u
|
|
66
|
-
}
|
|
67
|
-
}) => {
|
|
68
|
-
const s = o.find((n) => n.id === r.value), _ = s ? g(s.bank_account_type, p, e) : null;
|
|
69
|
-
return /* @__PURE__ */ t(q, { children: /* @__PURE__ */ a(z, { children: [
|
|
70
|
-
/* @__PURE__ */ t("div", { className: "ttw:relative", children: /* @__PURE__ */ a(O, { ...r, disabled: v, value: r.value, onValueChange: (n) => {
|
|
71
|
-
if (n === "add_new")
|
|
72
|
-
m(!0);
|
|
73
|
-
else {
|
|
74
|
-
r.onChange(n);
|
|
75
|
-
const c = o.find((C) => C.id === n);
|
|
76
|
-
c && i("bank_account_type", c.bank_account_type), b?.invalid && f("bank_account_id");
|
|
77
|
-
}
|
|
78
|
-
}, children: [
|
|
79
|
-
/* @__PURE__ */ t(R, { id: "bank_account_id", className: "ttw:w-full", "aria-label": e._("Bank account selector"), "aria-invalid": !!u, children: /* @__PURE__ */ t(U, { placeholder: e._("Select bank account"), children: s && /* @__PURE__ */ a("span", { className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:justify-between ttw:gap-2", children: [
|
|
80
|
-
/* @__PURE__ */ t("span", { className: "ttw:truncate", children: x(s, e) }),
|
|
81
|
-
_ && /* @__PURE__ */ t(W, { variant: "secondary", className: "ttw:shrink-0", children: _ })
|
|
82
|
-
] }) }) }),
|
|
83
|
-
/* @__PURE__ */ a(G, { children: [
|
|
84
|
-
o.map((n) => {
|
|
85
|
-
const c = g(n.bank_account_type, p, e);
|
|
86
|
-
return /* @__PURE__ */ t(y, { value: n.id, children: /* @__PURE__ */ a("span", { className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:justify-between ttw:gap-2", children: [
|
|
87
|
-
/* @__PURE__ */ t("span", { className: "ttw:truncate", children: x(n, e) }),
|
|
88
|
-
c && /* @__PURE__ */ t("span", { className: "ttw:shrink-0 ttw:text-muted-foreground", children: c })
|
|
89
|
-
] }) }, n.id);
|
|
90
|
-
}),
|
|
91
|
-
h && /* @__PURE__ */ a(k, { children: [
|
|
92
|
-
/* @__PURE__ */ t(H, {}),
|
|
93
|
-
/* @__PURE__ */ a(y, { value: "add_new", className: "ttw:text-primary ttw:hover:text-primary ttw:font-semibold ttw:focus:text-primary", children: [
|
|
94
|
-
/* @__PURE__ */ t(P, { className: "ttw:text-primary ttw:hover:text-primary ttw:font-semibold ttw:focus:text-primary" }),
|
|
95
|
-
e._("Add a new account")
|
|
96
|
-
] })
|
|
97
|
-
] })
|
|
98
|
-
] })
|
|
99
|
-
] }) }),
|
|
100
|
-
/* @__PURE__ */ t(K, { errors: u ? [u] : [] })
|
|
101
|
-
] }) });
|
|
102
|
-
} })
|
|
103
|
-
] }) : /* @__PURE__ */ t(k, { children: h ? /* @__PURE__ */ t(J, { bankAccountsLength: o.length, onCreate: (r) => {
|
|
104
|
-
m(!1), i("bank_account_id", r), i("bank_account_type", "BANK_DETAILS"), b?.invalid && f("bank_account_id");
|
|
105
|
-
}, onCancel: () => m(!1) }) : /* @__PURE__ */ a(M, { enableClose: !1, variant: "warning", icon: /* @__PURE__ */ t(V, {}), children: [
|
|
106
|
-
/* @__PURE__ */ t(Q, { children: e._("There are no bank accounts on file for this account") }),
|
|
107
|
-
/* @__PURE__ */ t(X, { children: e._("A bank account is required in order to issue invoices. Contact your company admin to set one up.") })
|
|
108
|
-
] }) })
|
|
109
|
-
] });
|
|
25
|
+
/* @__PURE__ */ t("span", { className: "ttw:text-2xl ttw:font-medium ttw:text-zinc-950 ttw:leading-8 ttw:tabular-nums ttw:overflow-hidden ttw:whitespace-nowrap ttw:text-ellipsis", children: a(w) })
|
|
26
|
+
] }) });
|
|
110
27
|
};
|
|
111
28
|
export {
|
|
112
|
-
|
|
29
|
+
p as StatusCard
|
|
113
30
|
};
|
|
@@ -1,52 +1,129 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
1
|
+
import { startOfDay as c, startOfYear as r, subYears as m, endOfYear as s, startOfQuarter as o, subQuarters as b, endOfQuarter as u, subDays as a, startOfMonth as l, subMonths as d, endOfMonth as n, startOfWeek as _, subWeeks as i, endOfWeek as f, endOfDay as y } from "date-fns";
|
|
2
|
+
const v = [{
|
|
3
|
+
value: "today",
|
|
4
|
+
label: "Today",
|
|
5
|
+
group: "Current"
|
|
6
|
+
}, {
|
|
7
|
+
value: "this_week",
|
|
8
|
+
label: "This week",
|
|
9
|
+
group: "Current"
|
|
10
|
+
}, {
|
|
11
|
+
value: "this_month",
|
|
12
|
+
label: "This month",
|
|
13
|
+
group: "Current"
|
|
14
|
+
}, {
|
|
15
|
+
value: "this_quarter",
|
|
16
|
+
label: "This quarter",
|
|
17
|
+
group: "Current"
|
|
18
|
+
}, {
|
|
19
|
+
value: "this_year",
|
|
20
|
+
label: "This year",
|
|
21
|
+
group: "Current"
|
|
22
|
+
}, {
|
|
23
|
+
value: "yesterday",
|
|
24
|
+
label: "Yesterday",
|
|
25
|
+
group: "Past"
|
|
26
|
+
}, {
|
|
27
|
+
value: "last_week",
|
|
28
|
+
label: "Last week",
|
|
29
|
+
group: "Past"
|
|
30
|
+
}, {
|
|
31
|
+
value: "last_month",
|
|
32
|
+
label: "Last month",
|
|
33
|
+
group: "Past"
|
|
34
|
+
}, {
|
|
35
|
+
value: "last_30_days",
|
|
36
|
+
label: "Last 30 days",
|
|
37
|
+
group: "Past"
|
|
38
|
+
}, {
|
|
39
|
+
value: "last_90_days",
|
|
40
|
+
label: "Last 90 days",
|
|
41
|
+
group: "Past"
|
|
42
|
+
}, {
|
|
43
|
+
value: "last_quarter",
|
|
44
|
+
label: "Last quarter",
|
|
45
|
+
group: "Past"
|
|
46
|
+
}, {
|
|
47
|
+
value: "last_year",
|
|
48
|
+
label: "Last year",
|
|
49
|
+
group: "Past"
|
|
50
|
+
}];
|
|
51
|
+
function g(h) {
|
|
52
|
+
const e = c(/* @__PURE__ */ new Date());
|
|
53
|
+
switch (h) {
|
|
54
|
+
case "today":
|
|
55
|
+
return {
|
|
56
|
+
from: e,
|
|
57
|
+
to: y(e)
|
|
58
|
+
};
|
|
59
|
+
case "this_week":
|
|
60
|
+
return {
|
|
61
|
+
from: _(e),
|
|
62
|
+
to: f(e)
|
|
63
|
+
};
|
|
64
|
+
case "this_month":
|
|
65
|
+
return {
|
|
66
|
+
from: l(e),
|
|
67
|
+
to: n(e)
|
|
68
|
+
};
|
|
69
|
+
case "this_quarter":
|
|
70
|
+
return {
|
|
71
|
+
from: o(e),
|
|
72
|
+
to: u(e)
|
|
73
|
+
};
|
|
74
|
+
case "this_year":
|
|
75
|
+
return {
|
|
76
|
+
from: r(e),
|
|
77
|
+
to: s(e)
|
|
78
|
+
};
|
|
79
|
+
case "yesterday": {
|
|
80
|
+
const t = a(e, 1);
|
|
81
|
+
return {
|
|
82
|
+
from: t,
|
|
83
|
+
to: y(t)
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
case "last_week": {
|
|
87
|
+
const t = _(i(e, 1));
|
|
88
|
+
return {
|
|
89
|
+
from: t,
|
|
90
|
+
to: f(t)
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
case "last_month": {
|
|
94
|
+
const t = l(d(e, 1));
|
|
95
|
+
return {
|
|
96
|
+
from: t,
|
|
97
|
+
to: n(t)
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
case "last_30_days":
|
|
101
|
+
return {
|
|
102
|
+
from: a(e, 30),
|
|
103
|
+
to: e
|
|
104
|
+
};
|
|
105
|
+
case "last_90_days":
|
|
106
|
+
return {
|
|
107
|
+
from: a(e, 90),
|
|
108
|
+
to: e
|
|
109
|
+
};
|
|
110
|
+
case "last_quarter": {
|
|
111
|
+
const t = o(b(e, 1));
|
|
112
|
+
return {
|
|
113
|
+
from: t,
|
|
114
|
+
to: u(t)
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
case "last_year": {
|
|
118
|
+
const t = r(m(e, 1));
|
|
119
|
+
return {
|
|
120
|
+
from: t,
|
|
121
|
+
to: s(t)
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
50
126
|
export {
|
|
51
|
-
|
|
127
|
+
v as DATE_PRESETS,
|
|
128
|
+
g as resolveDatePreset
|
|
52
129
|
};
|