@tesouro/embedded-components-react 0.2.20 → 0.2.22
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/index3.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +13 -10
- 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 +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +23 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +35 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +23 -1269
- 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 +1270 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +58 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +398 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +69 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +407 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +101 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +6 -33
- 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 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +210 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +10 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +12 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +57 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +76 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +6 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +9 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +33 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +28 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +12 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +22 -148
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +12 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +12 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +116 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +8 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +10 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +48 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +49 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +12 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +43 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +15 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +152 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +54 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +70 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +29 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +3 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +58 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +82 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +5 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +25 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +92 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +95 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +18 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +12 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +25 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +11 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +18 -247
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +2 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +8 -10
- 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 +17 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +20 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +27 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +106 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +64 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +8 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +12 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +41 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +75 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +53 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +196 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +14 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +26 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +76 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +28 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +40 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +7 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +246 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +182 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +114 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +87 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +109 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +108 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +53 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +57 -363
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +88 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +47 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +34 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +113 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +68 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +184 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +30 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +115 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +54 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +20 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +25 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +12 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +11 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +21 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +5 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +8 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +47 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +370 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +22 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +19 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +12 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +15 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +93 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +99 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +7 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +32 -342
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +36 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +44 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +26 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +5 -267
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +74 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +32 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +143 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +86 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +22 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +183 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +24 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +50 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +63 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +156 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +28 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +28 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +78 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +39 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +59 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +31 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +112 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +22 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +43 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +52 -486
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +20 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +16 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +17 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +170 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +133 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +54 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +158 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +10 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +18 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +61 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +68 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +55 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +8 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +10 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +62 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +24 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +62 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +486 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +162 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +342 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +294 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +96 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +161 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +267 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +25 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +18 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +61 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +43 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +24 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +183 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +101 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +79 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +287 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +49 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +15 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +84 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +218 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +36 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +12 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +22 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +56 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +29 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +60 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +46 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +40 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +32 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +7 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +99 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +21 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +31 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +30 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +57 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +16 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +19 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +23 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +47 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +97 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +42 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +40 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +17 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +60 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +11 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +93 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +120 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +33 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +15 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +13 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +37 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +40 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +149 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +47 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +47 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +73 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +107 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +14 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +75 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +76 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +42 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +41 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +2 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +93 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +96 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +192 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +10 -19
- 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 +19 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +44 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +24 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +127 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +65 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +21 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +18 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +28 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +42 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +59 -61
- 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 +95 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +108 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +84 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +34 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +340 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +2 -290
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +34 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +37 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +14 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +17 -221
- 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 +12 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +30 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +30 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +11 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +255 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +11 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +123 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +16 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +73 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +96 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +38 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +27 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +71 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +66 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +33 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +2 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +66 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +61 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +33 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +32 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +83 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +103 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +107 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +28 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +23 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +37 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +13 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +10 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +23 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +15 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +70 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +94 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +31 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +7 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +51 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +15 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +38 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +56 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +11 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +13 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +15 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +21 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +21 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +26 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +27 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +31 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +4 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +125 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +65 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +28 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +34 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +54 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +35 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +24 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +9 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +17 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +13 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +39 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +29 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +92 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +16 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +75 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +20 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +9 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +54 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +51 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +36 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +44 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +73 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +86 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +53 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +54 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +55 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +54 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +51 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +18 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +49 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +58 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +29 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +30 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +81 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +40 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +36 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +13 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +67 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +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/index60.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/index88.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/scopes.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index10.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index12.js +72 -65
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index2.js +60 -60
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index7.js +16 -16
- package/package.json +1 -1
|
@@ -1,10 +1,129 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
+
}
|
|
8
126
|
export {
|
|
9
|
-
|
|
127
|
+
v as DATE_PRESETS,
|
|
128
|
+
g as resolveDatePreset
|
|
10
129
|
};
|
|
@@ -1,13 +1,69 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsxs as r, jsx as e, Fragment as T } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { MeasureUnitsFormRow as f } from "./index448.js";
|
|
3
|
+
import { ConfirmDeleteMeasureUnitDialog as j } from "./index449.js";
|
|
4
|
+
import { TableActions as z } from "./index450.js";
|
|
5
|
+
import { Table as A, TableHeader as E, TableRow as h, TableHead as l, TableBody as G, TableCell as d } from "./index361.js";
|
|
6
|
+
import { useLingui as I } from "@lingui/react";
|
|
7
|
+
import { Loader2 as b, Search as S } from "lucide-react";
|
|
8
|
+
import { useState as m, useCallback as w } from "react";
|
|
9
|
+
import "./index59.js";
|
|
10
|
+
import "react-hot-toast";
|
|
11
|
+
import { useGetMeasureUnits as _ } from "./index233.js";
|
|
12
|
+
import { useDeleteMeasureUnit as y } from "./index442.js";
|
|
13
|
+
import { InputGroup as F, InputGroupAddon as H, InputGroupInput as k } from "./index103.js";
|
|
14
|
+
import { useDebounceCallback as R } from "./index67.js";
|
|
15
|
+
const at = () => {
|
|
3
16
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
17
|
+
i18n: i
|
|
18
|
+
} = I(), [g, s] = m(null), [a, c] = m(null), x = !!a, [u, N] = m(""), {
|
|
19
|
+
data: C,
|
|
20
|
+
isLoading: M
|
|
21
|
+
} = _(), n = y(a?.name), $ = R((t) => {
|
|
22
|
+
N(t);
|
|
23
|
+
}, 500), D = C?.data?.filter((t) => t.name.toLowerCase().includes(u.toLowerCase()) || t.description && t.description.toLowerCase().includes(u.toLowerCase())) || [], L = w((t) => {
|
|
24
|
+
c(t);
|
|
25
|
+
}, []), o = w(() => {
|
|
26
|
+
c(null);
|
|
27
|
+
}, []), U = w(() => {
|
|
28
|
+
a && n.mutate({
|
|
29
|
+
path: {
|
|
30
|
+
unit_id: a.id
|
|
31
|
+
}
|
|
32
|
+
}, {
|
|
33
|
+
onSuccess: () => o()
|
|
34
|
+
});
|
|
35
|
+
}, [n, a, o]), p = n.isPending, v = () => {
|
|
36
|
+
s(null);
|
|
37
|
+
};
|
|
38
|
+
return /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:h-full ttw:relative", children: [
|
|
39
|
+
M ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:justify-center ttw:items-center ttw:h-full", children: /* @__PURE__ */ e(b, { className: "ttw:size-10 ttw:animate-spin ttw:text-muted-foreground" }) }) : /* @__PURE__ */ r(T, { children: [
|
|
40
|
+
p && /* @__PURE__ */ e("div", { className: "ttw:absolute ttw:inset-0 ttw:bg-white/70 ttw:flex ttw:justify-center ttw:items-center ttw:z-10", children: /* @__PURE__ */ e(b, { className: "ttw:size-10 ttw:animate-spin ttw:text-muted-foreground" }) }),
|
|
41
|
+
/* @__PURE__ */ r(F, { children: [
|
|
42
|
+
/* @__PURE__ */ e(H, { align: "inline-start", children: /* @__PURE__ */ e(S, {}) }),
|
|
43
|
+
/* @__PURE__ */ e(k, { placeholder: i._("Search"), onChange: (t) => $(t.target.value) })
|
|
44
|
+
] }),
|
|
45
|
+
/* @__PURE__ */ r(A, { className: "ttw:table-fixed ttw:border ttw:border-border ttw:rounded-md", children: [
|
|
46
|
+
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(h, { className: "ttw:hover:bg-transparent ttw:border-border", children: [
|
|
47
|
+
/* @__PURE__ */ e(l, { className: "ttw:w-[35%]", children: i._("Unit label") }),
|
|
48
|
+
/* @__PURE__ */ e(l, { className: "ttw:w-[55%]", children: i._("Description (optional)") }),
|
|
49
|
+
/* @__PURE__ */ e(l, { className: "ttw:w-[10%]" })
|
|
50
|
+
] }) }),
|
|
51
|
+
/* @__PURE__ */ r(G, { children: [
|
|
52
|
+
/* @__PURE__ */ e(f, { isEditMode: !1 }),
|
|
53
|
+
D.map((t) => g?.id === t.id ? /* @__PURE__ */ e(f, { isEditMode: !0, initialValues: t, onCancel: v, onEdit: () => s(null), id: t.id }, t.id) : /* @__PURE__ */ r(h, { className: "ttw:border-border", children: [
|
|
54
|
+
/* @__PURE__ */ e(d, { className: "ttw:w-[35%] ttw:text-sm ttw:truncate", children: t.name }),
|
|
55
|
+
/* @__PURE__ */ e(d, { className: "ttw:w-[55%] ttw:text-sm ttw:text-muted-foreground ttw:truncate", children: t.description || "—" }),
|
|
56
|
+
/* @__PURE__ */ e(d, { className: "ttw:w-[10%]", children: /* @__PURE__ */ e(z, { permissions: {
|
|
57
|
+
isUpdateAllowed: !0,
|
|
58
|
+
isDeleteAllowed: !0
|
|
59
|
+
}, onEdit: () => s(t), onDelete: () => L(t) }) })
|
|
60
|
+
] }, t.id))
|
|
61
|
+
] })
|
|
62
|
+
] })
|
|
63
|
+
] }),
|
|
64
|
+
/* @__PURE__ */ e(j, { open: x, id: a?.id, name: a?.name || "", isLoading: p, onClose: o, onDelete: U })
|
|
65
|
+
] });
|
|
10
66
|
};
|
|
11
67
|
export {
|
|
12
|
-
|
|
68
|
+
at as ManageMeasureUnitsForm
|
|
13
69
|
};
|
|
@@ -1,64 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { useMoniteContext as x } from "./index59.js";
|
|
6
|
-
import { useCurrencies as v } from "./index60.js";
|
|
7
|
-
import "react";
|
|
8
|
-
import "./index94.js";
|
|
9
|
-
import { useLingui as b } from "@lingui/react";
|
|
10
|
-
import "react-dom";
|
|
11
|
-
import "@mui/x-data-grid";
|
|
12
|
-
import { useTheme as D, Box as a, Typography as r } from "@mui/material";
|
|
13
|
-
const P = ({
|
|
14
|
-
offers: i = []
|
|
15
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as u } from "./index59.js";
|
|
2
|
+
import { useLingui as n } from "@lingui/react";
|
|
3
|
+
import { toast as o } from "react-hot-toast";
|
|
4
|
+
const p = (r, s) => {
|
|
16
5
|
const {
|
|
17
|
-
|
|
18
|
-
} =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return n._("Financing is blocked due to a violation of the agreed-upon terms. Please, contact the provider for further details.");
|
|
26
|
-
case "CLOSED":
|
|
27
|
-
return n._("Financing is not available for your business anymore. Please, contact the provider for further details.");
|
|
28
|
-
case "LATE":
|
|
29
|
-
return n._("Due to late payment your financing is currently on hold. Please, contact the provider for further details.");
|
|
30
|
-
default:
|
|
31
|
-
return n._("Your amount available for financing additional invoices.");
|
|
6
|
+
i18n: e
|
|
7
|
+
} = n(), {
|
|
8
|
+
api: t,
|
|
9
|
+
queryClient: i
|
|
10
|
+
} = u();
|
|
11
|
+
return t.finops.deleteProductsId.useMutation({
|
|
12
|
+
path: {
|
|
13
|
+
product_id: r
|
|
32
14
|
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
flexDirection: "column",
|
|
42
|
-
gap: 1.25
|
|
43
|
-
}, children: [
|
|
44
|
-
/* @__PURE__ */ e(a, { children: c ? /* @__PURE__ */ t(f, { children: [
|
|
45
|
-
/* @__PURE__ */ e(r, { variant: "body1", children: n._("Remaining limit") }),
|
|
46
|
-
/* @__PURE__ */ t(a, { display: "flex", alignItems: "center", gap: 1, children: [
|
|
47
|
-
/* @__PURE__ */ e(r, { variant: "h2", fontSize: 24, lineHeight: "32px", children: o(l, "USD") }),
|
|
48
|
-
/* @__PURE__ */ t(r, { component: "span", variant: "subtitle1", fontSize: 18, color: u.palette.grey[400], children: [
|
|
49
|
-
"/ ",
|
|
50
|
-
o(s, "USD")
|
|
51
|
-
] })
|
|
52
|
-
] })
|
|
53
|
-
] }) : /* @__PURE__ */ e(r, { variant: "h2", fontSize: 24, children: n._("Not available") }) }),
|
|
54
|
-
/* @__PURE__ */ t(a, { display: "flex", flexDirection: "column", gap: 1.5, children: [
|
|
55
|
-
c && /* @__PURE__ */ e(y, { progress: p }),
|
|
56
|
-
/* @__PURE__ */ e(r, { variant: "body1", fontSize: 14, lineHeight: "22px", fontWeight: 400, children: d() })
|
|
57
|
-
] }),
|
|
58
|
-
m?.financing?.enableFinanceWidgetButton && /* @__PURE__ */ e(g, {})
|
|
59
|
-
] }) })
|
|
60
|
-
] });
|
|
15
|
+
}, {
|
|
16
|
+
onSuccess: async () => {
|
|
17
|
+
await t.finops.getProducts.invalidateQueries(i), o.success(e._("Product was deleted.")), s?.();
|
|
18
|
+
},
|
|
19
|
+
onError: () => {
|
|
20
|
+
o.error(e._("Failed to delete product."));
|
|
21
|
+
}
|
|
22
|
+
});
|
|
61
23
|
};
|
|
62
24
|
export {
|
|
63
|
-
|
|
25
|
+
p as useDeleteProduct
|
|
64
26
|
};
|
|
@@ -1,26 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { useLingui as l } from "@lingui/react";
|
|
6
|
-
import { Stack as p, Button as r } from "@mui/material";
|
|
7
|
-
import { useState as g } from "react";
|
|
8
|
-
const w = () => {
|
|
1
|
+
import { useMoniteContext as n } from "./index59.js";
|
|
2
|
+
import { useLingui as s } from "@lingui/react";
|
|
3
|
+
import { toast as r } from "react-hot-toast";
|
|
4
|
+
const p = () => {
|
|
9
5
|
const {
|
|
10
|
-
i18n:
|
|
11
|
-
} =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
6
|
+
i18n: e
|
|
7
|
+
} = s(), {
|
|
8
|
+
api: t,
|
|
9
|
+
queryClient: o
|
|
10
|
+
} = n();
|
|
11
|
+
return t.finops.deleteCounterpartsId.useMutation(void 0, {
|
|
12
|
+
onSuccess: async () => {
|
|
13
|
+
await t.finops.getCounterparts.invalidateQueries(o), r.success(e._("Counterpart has been deleted."));
|
|
14
|
+
},
|
|
15
|
+
onError: () => {
|
|
16
|
+
r.error(e._("Failed to delete Counterpart."));
|
|
17
|
+
}
|
|
18
|
+
});
|
|
23
19
|
};
|
|
24
20
|
export {
|
|
25
|
-
|
|
21
|
+
p as useDeleteCounterpart
|
|
26
22
|
};
|
|
@@ -1,65 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
const F = ({
|
|
7
|
-
offers: p
|
|
8
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as s } from "./index59.js";
|
|
2
|
+
import { useLingui as i } from "@lingui/react";
|
|
3
|
+
import { toast as a } from "react-hot-toast";
|
|
4
|
+
import { getCounterpartName as p } from "./index7.js";
|
|
5
|
+
const f = () => {
|
|
9
6
|
const {
|
|
10
|
-
i18n:
|
|
11
|
-
} =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
/* @__PURE__ */ e(_, { sx: {
|
|
33
|
-
fontSize: 24,
|
|
34
|
-
color: f(d.palette.primary.main, 0.6)
|
|
35
|
-
} }),
|
|
36
|
-
/* @__PURE__ */ e(n, { variant: "body1", fontWeight: 500, sx: {
|
|
37
|
-
flex: "1 1 0%",
|
|
38
|
-
width: "100%"
|
|
39
|
-
}, children: t._("Financing plan") })
|
|
40
|
-
] }),
|
|
41
|
-
/* @__PURE__ */ e(x, { sx: {
|
|
42
|
-
p: 0
|
|
43
|
-
}, children: /* @__PURE__ */ a(m, { children: [
|
|
44
|
-
/* @__PURE__ */ e(l, { sx: {
|
|
45
|
-
p: 0
|
|
46
|
-
}, children: /* @__PURE__ */ e(n, { variant: "body1", fontWeight: 400, children: t._("{itemAdvance_rate_percentage}% advance rate", {
|
|
47
|
-
itemAdvance_rate_percentage: r.advance_rate_percentage / 100
|
|
48
|
-
}) }) }),
|
|
49
|
-
/* @__PURE__ */ e(l, { sx: {
|
|
50
|
-
p: 0
|
|
51
|
-
}, children: /* @__PURE__ */ e(n, { variant: "body1", fontWeight: 400, children: t._("Pay in {itemRepayment_duration_days} days", {
|
|
52
|
-
itemRepayment_duration_days: r.repayment_duration_days
|
|
53
|
-
}) }) }),
|
|
54
|
-
/* @__PURE__ */ e(l, { sx: {
|
|
55
|
-
p: 0
|
|
56
|
-
}, children: /* @__PURE__ */ e(n, { variant: "body1", fontWeight: 400, children: t._("{itemFee_percentage}% fee", {
|
|
57
|
-
itemFee_percentage: r.fee_percentage / 100
|
|
58
|
-
}) }) })
|
|
59
|
-
] }, r.advance_rate_percentage) })
|
|
60
|
-
] }, `${o.available_amount}-${c}-${o.total_amount}-${s}`))) })
|
|
61
|
-
] });
|
|
7
|
+
i18n: r
|
|
8
|
+
} = i(), {
|
|
9
|
+
api: t,
|
|
10
|
+
queryClient: o
|
|
11
|
+
} = s();
|
|
12
|
+
return t.finops.patchCounterpartsId.useMutation(void 0, {
|
|
13
|
+
onSuccess: async (e) => {
|
|
14
|
+
t.finops.getCounterpartsId.setQueryData({
|
|
15
|
+
path: {
|
|
16
|
+
counterpart_id: e.id
|
|
17
|
+
}
|
|
18
|
+
}, (n) => ({
|
|
19
|
+
...n,
|
|
20
|
+
...e
|
|
21
|
+
}), o), await t.finops.getCounterparts.invalidateQueries(o), a.success(r._("{name} has been updated.", {
|
|
22
|
+
name: p(e)
|
|
23
|
+
}));
|
|
24
|
+
},
|
|
25
|
+
onError: () => {
|
|
26
|
+
a.error(r._("Failed to update counterpart."));
|
|
27
|
+
}
|
|
28
|
+
});
|
|
62
29
|
};
|
|
63
30
|
export {
|
|
64
|
-
|
|
31
|
+
f as useUpdateCounterpart
|
|
65
32
|
};
|
|
@@ -1,16 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}) =>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { useMoniteContext as n } from "./index59.js";
|
|
2
|
+
import { useLingui as i } from "@lingui/react";
|
|
3
|
+
import { toast as p } from "react-hot-toast";
|
|
4
|
+
const m = ({
|
|
5
|
+
counterpartId: e,
|
|
6
|
+
addressId: t
|
|
7
|
+
}) => {
|
|
8
|
+
const {
|
|
9
|
+
i18n: a
|
|
10
|
+
} = i(), {
|
|
11
|
+
api: r,
|
|
12
|
+
queryClient: s
|
|
13
|
+
} = n();
|
|
14
|
+
return r.finops.patchCounterpartsIdAddressesId.useMutation({
|
|
15
|
+
path: {
|
|
16
|
+
counterpart_id: e,
|
|
17
|
+
address_id: t
|
|
18
|
+
}
|
|
19
|
+
}, {
|
|
20
|
+
onSuccess: async (d) => {
|
|
21
|
+
r.finops.getCounterpartsIdAddressesId.setQueryData({
|
|
22
|
+
path: {
|
|
23
|
+
counterpart_id: e,
|
|
24
|
+
address_id: t
|
|
25
|
+
}
|
|
26
|
+
}, (o) => ({
|
|
27
|
+
...o,
|
|
28
|
+
...d
|
|
29
|
+
}), s), await r.finops.getCounterpartsIdAddresses.invalidateQueries({
|
|
30
|
+
parameters: {
|
|
31
|
+
path: {
|
|
32
|
+
counterpart_id: e
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}, s);
|
|
36
|
+
},
|
|
37
|
+
onError: () => {
|
|
38
|
+
p.error(a._("Failed to update address."));
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
};
|
|
14
42
|
export {
|
|
15
|
-
|
|
43
|
+
m as useUpdateCounterpartAddress
|
|
16
44
|
};
|
|
@@ -1,67 +1,65 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsxs as n, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Button as f } from "./index86.js";
|
|
3
|
+
import { Field as m, FieldContent as c, FieldLabel as s, FieldError as u } from "./index171.js";
|
|
4
|
+
import { Input as h } from "./index120.js";
|
|
5
|
+
import { Typography as p } from "./index87.js";
|
|
6
|
+
import { useLingui as g } from "@lingui/react";
|
|
7
|
+
import { useFormContext as y, Controller as w } from "react-hook-form";
|
|
8
|
+
import { twMerge as N } from "tailwind-merge";
|
|
9
|
+
const j = ({
|
|
10
|
+
hasExistingBankAccount: a,
|
|
11
|
+
isLoading: o,
|
|
12
|
+
isStandalone: b,
|
|
13
|
+
handleCancel: v
|
|
9
14
|
}) => {
|
|
10
|
-
const t = o(() => {
|
|
11
|
-
for (const r of Object.values(n))
|
|
12
|
-
if (r) return !0;
|
|
13
|
-
return !1;
|
|
14
|
-
}, [n]);
|
|
15
|
-
return e || t ? /* @__PURE__ */ a(_, { in: !0, sx: {
|
|
16
|
-
":not(.MuiCollapse-hidden)": {
|
|
17
|
-
marginBottom: 1
|
|
18
|
-
}
|
|
19
|
-
}, children: /* @__PURE__ */ g(j, { severity: "error", sx: {
|
|
20
|
-
"& .MuiAlert-icon": {
|
|
21
|
-
alignItems: "center"
|
|
22
|
-
}
|
|
23
|
-
}, children: [
|
|
24
|
-
e && /* @__PURE__ */ a("div", { children: e }),
|
|
25
|
-
t && /* @__PURE__ */ a(v, { dense: !0, disablePadding: !0, sx: {
|
|
26
|
-
mt: e ? 1 : 0
|
|
27
|
-
}, children: Object.entries(n).map(([r, s]) => s ? /* @__PURE__ */ a(L, { disablePadding: !0, children: /* @__PURE__ */ a(A, { primary: s, primaryTypographyProps: {
|
|
28
|
-
sx: {
|
|
29
|
-
color: "inherit"
|
|
30
|
-
}
|
|
31
|
-
} }) }, r) : null) })
|
|
32
|
-
] }) }) : null;
|
|
33
|
-
}, C = (e) => {
|
|
34
15
|
const {
|
|
35
|
-
i18n:
|
|
36
|
-
} =
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
16
|
+
i18n: t
|
|
17
|
+
} = g(), {
|
|
18
|
+
control: d,
|
|
19
|
+
resetField: l
|
|
20
|
+
} = y();
|
|
21
|
+
return /* @__PURE__ */ n("div", { className: N("ttw:flex ttw:flex-col ttw:gap-4 ttw:p-4 ttw:bg-zinc-100", !b && "ttw:border ttw:border-primary ttw:rounded-[10px]"), children: [
|
|
22
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border", children: [
|
|
23
|
+
/* @__PURE__ */ e(p, { variant: "body1", className: "ttw:font-medium", children: a ? t._("Editing ACH bank transfer") : t._("Adding ACH bank transfer") }),
|
|
24
|
+
!a && !b && /* @__PURE__ */ e(f, { type: "button", variant: "ghost", className: "ttw:text-primary ttw:hover:text-primary", onClick: () => {
|
|
25
|
+
l("accountHolderName"), l("accountNumber"), l("routingNumber"), v?.();
|
|
26
|
+
}, children: t._("Cancel") })
|
|
27
|
+
] }),
|
|
28
|
+
/* @__PURE__ */ e(w, { name: "accountHolderName", control: d, render: ({
|
|
29
|
+
field: r,
|
|
30
|
+
fieldState: {
|
|
31
|
+
error: i
|
|
43
32
|
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
33
|
+
}) => /* @__PURE__ */ e(m, { "data-invalid": !!(!r.value && a), children: /* @__PURE__ */ n(c, { children: [
|
|
34
|
+
/* @__PURE__ */ e(s, { htmlFor: r.name, children: t._("Account holder name") }),
|
|
35
|
+
/* @__PURE__ */ e(h, { id: r.name, ...r, className: "ttw:bg-white", disabled: o, "aria-invalid": !!(!r.value && a) || !!i || void 0 }),
|
|
36
|
+
/* @__PURE__ */ e(u, { errors: [i] })
|
|
37
|
+
] }) }) }),
|
|
38
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
39
|
+
/* @__PURE__ */ e(w, { name: "routingNumber", control: d, render: ({
|
|
40
|
+
field: r,
|
|
41
|
+
fieldState: {
|
|
42
|
+
error: i
|
|
43
|
+
}
|
|
44
|
+
}) => /* @__PURE__ */ e(m, { "data-invalid": !!(!r.value && a), children: /* @__PURE__ */ n(c, { children: [
|
|
45
|
+
/* @__PURE__ */ e(s, { htmlFor: r.name, children: t._("Routing number") }),
|
|
46
|
+
/* @__PURE__ */ e(h, { id: r.name, ...r, placeholder: t._("e.g., 123456789"), className: "ttw:bg-white", disabled: o, "aria-invalid": !!(!r.value && a) || !!i || void 0 }),
|
|
47
|
+
/* @__PURE__ */ e(u, { errors: [i] })
|
|
48
|
+
] }) }) }),
|
|
49
|
+
/* @__PURE__ */ e(w, { name: "accountNumber", control: d, render: ({
|
|
50
|
+
field: r,
|
|
51
|
+
fieldState: {
|
|
52
|
+
error: i
|
|
53
|
+
}
|
|
54
|
+
}) => /* @__PURE__ */ e(m, { "data-invalid": !!(!r.value && a), children: /* @__PURE__ */ n(c, { children: [
|
|
55
|
+
/* @__PURE__ */ e(s, { htmlFor: r.name, children: t._("Account number") }),
|
|
56
|
+
/* @__PURE__ */ e(h, { id: r.name, ...r, placeholder: t._("e.g., 12345678"), className: "ttw:bg-white", disabled: o, "aria-invalid": !!(!r.value && a) || !!i || void 0 }),
|
|
57
|
+
/* @__PURE__ */ e(u, { errors: [i] })
|
|
58
|
+
] }) }) })
|
|
59
|
+
] }),
|
|
60
|
+
/* @__PURE__ */ e(p, { color: "muted", variant: "body2", children: t._("Ask your vendor for this — it's usually on their invoice, W-9, or a payment instructions email they send you.") })
|
|
61
|
+
] });
|
|
63
62
|
};
|
|
64
63
|
export {
|
|
65
|
-
|
|
66
|
-
C as useFormErrors
|
|
64
|
+
j as CounterpartBankFormContent
|
|
67
65
|
};
|