@tesouro/embedded-components-react 0.2.125 → 0.2.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/ReceivablesWidget.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +9 -23
- 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 +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +76 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +6 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +9 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +31 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +26 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +12 -9
- 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 +121 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +7 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +217 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +12 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +45 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +15 -12
- 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 +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +149 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +23 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +55 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +70 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +29 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +3 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +56 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +37 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +79 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +99 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +57 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +9 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +44 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +75 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +55 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +14 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +75 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +27 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +39 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +7 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +115 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +67 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +189 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +31 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +108 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +137 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +27 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +183 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +12 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +50 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +5 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +87 -75
- 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 +34 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +8 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +42 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +44 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +204 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +423 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +24 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +24 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +11 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +19 -189
- 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 +20 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +2 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +10 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +27 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +114 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +70 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +13 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +25 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +96 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +101 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +17 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +12 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +59 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +397 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +66 -202
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +2 -427
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +406 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +7 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +35 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +100 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +7 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +137 -482
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +85 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +23 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +44 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +28 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +5 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +76 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +32 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +19 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +50 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +34 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +66 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +345 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +13 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +8 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +12 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +12 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +12 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +19 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +35 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +36 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +13 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +17 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +245 -26
- 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 +11 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +18 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +26 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +58 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +51 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +30 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +96 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +47 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +144 -17
- 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 +106 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +38 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +76 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +76 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +41 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +71 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +482 -239
- 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 +167 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +41 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +17 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +28 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +39 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +58 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +96 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +109 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +84 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +2 -147
- 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 +93 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +96 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +212 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +39 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +340 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +301 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +98 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +154 -339
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +259 -295
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +15 -93
- 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 +18 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +39 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +60 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +30 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +114 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +21 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +43 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +56 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +62 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +156 -39
- 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 +28 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +26 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +76 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +26 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +127 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +22 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +53 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +29 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +60 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +18 -22
- 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 +21 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +18 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +17 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +168 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +132 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +159 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +18 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +58 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +62 -156
- 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 +58 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +7 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +9 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +54 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +21 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +61 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +21 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +32 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +62 -60
- 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 +43 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +23 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +136 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +111 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +81 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +276 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +42 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +14 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +80 -279
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +222 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +39 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +11 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +8 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +9 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +2 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +149 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +19 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +96 -2
- 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 +16 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +84 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +17 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +50 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +9 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +47 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +63 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +11 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +31 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +36 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +24 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +255 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +34 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +46 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +40 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +24 -24
- 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 +7 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +33 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +23 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +43 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +72 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +92 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +37 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +9 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +10 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +32 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +4 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +125 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +89 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +36 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +27 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +119 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +18 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -74
- 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 +16 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +16 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +72 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +11 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +9 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +19 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +64 -16
- 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 +15 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +18 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +13 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +13 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +66 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +21 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +5 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +72 -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 +68 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +37 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +49 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +18 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +8 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +66 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +44 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +28 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +20 -31
- 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 +12 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +32 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +85 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +22 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +99 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +107 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +28 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +37 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +27 -67
- 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 +35 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +70 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +82 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +52 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +49 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +49 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +29 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +52 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +36 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +47 -30
- 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 +54 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +70 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +21 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +52 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +33 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +95 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +16 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +75 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +21 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +9 -41
- 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 +52 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +40 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +37 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +16 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +51 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +56 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +28 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +29 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +18 -52
- 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 +40 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +81 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +14 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +67 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +19 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +48 -35
- 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 +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +26 -26
- package/package.json +1 -1
|
@@ -1,24 +1,79 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsxs as n, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFormContext as $, Controller as d } from "react-hook-form";
|
|
3
|
+
import { useLingui as F } from "@lingui/react";
|
|
4
|
+
import { Typography as c } from "./index85.js";
|
|
5
|
+
import { Field as m, FieldContent as s, FieldLabel as w, FieldError as u } from "./index154.js";
|
|
6
|
+
import { Input as g } from "./index118.js";
|
|
7
|
+
import { Checkbox as S } from "./index351.js";
|
|
8
|
+
const E = ({
|
|
9
|
+
control: o
|
|
10
|
+
}) => {
|
|
11
|
+
const {
|
|
12
|
+
i18n: i
|
|
13
|
+
} = F(), {
|
|
14
|
+
setValue: v,
|
|
15
|
+
watch: a
|
|
16
|
+
} = $(), p = a("min_digits"), f = a("prefix"), h = a("separator"), b = a("include_date"), x = a("invoice"), N = a("invoice_number");
|
|
17
|
+
function y() {
|
|
18
|
+
return `${x}${h}${f ? `${f}${h}` : ""}${b ? `${(/* @__PURE__ */ new Date()).getFullYear()}${h}` : ""}${N.toString().padStart(p, "0")}`;
|
|
19
|
+
}
|
|
20
|
+
const _ = y();
|
|
21
|
+
return /* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
22
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-5 ttw:pb-2.5", children: [
|
|
23
|
+
/* @__PURE__ */ e(c, { variant: "h3", children: i._("Invoice numbering") }),
|
|
24
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "muted", children: i._("Specify how you want your invoices to be numbered. Changes apply to new invoices only. Existing invoice numbers won't be updated.") })
|
|
25
|
+
] }),
|
|
26
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:w-94 ttw:gap-0.5 ttw:p-4 ttw:bg-neutral-200 ttw:rounded-xl", children: [
|
|
27
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "muted", children: i._("Preview") }),
|
|
28
|
+
/* @__PURE__ */ e(c, { variant: "h4", className: "ttw:font-medium", children: _ })
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:w-min ttw:gap-2 ttw:p-2", children: [
|
|
31
|
+
/* @__PURE__ */ e(d, { name: "invoice", control: o, render: ({
|
|
32
|
+
field: t,
|
|
33
|
+
fieldState: {
|
|
34
|
+
error: r
|
|
35
|
+
}
|
|
36
|
+
}) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ n(s, { className: "ttw:grow-0", children: [
|
|
37
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, children: i._("Invoice prefix") }),
|
|
38
|
+
/* @__PURE__ */ e(g, { ...t, id: t.name, maxLength: 25, "aria-invalid": !!r || void 0, className: "ttw:w-29 ttw:min-w-29 ttw:bg-white" }),
|
|
39
|
+
/* @__PURE__ */ e(u, { errors: [r] })
|
|
40
|
+
] }) }) }),
|
|
41
|
+
/* @__PURE__ */ e(d, { name: "invoice_number", control: o, render: ({
|
|
42
|
+
field: t,
|
|
43
|
+
fieldState: {
|
|
44
|
+
error: r
|
|
45
|
+
}
|
|
46
|
+
}) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ n(s, { className: "ttw:grow-0", children: [
|
|
47
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, children: i._("Starting number") }),
|
|
48
|
+
/* @__PURE__ */ e(g, { ...t, id: t.name, type: "number", "aria-invalid": !!r || void 0, onChange: (l) => {
|
|
49
|
+
const C = l.target.value.replace(/^0+(?=\d)/, "");
|
|
50
|
+
t.onChange(Number(C));
|
|
51
|
+
}, value: t.value.toString().padStart(p, "0"), className: "ttw:w-29 ttw:min-w-29 ttw:bg-white" }),
|
|
52
|
+
/* @__PURE__ */ e(u, { errors: [r] })
|
|
53
|
+
] }) }) }),
|
|
54
|
+
/* @__PURE__ */ e(d, { name: "min_digits", control: o, render: ({
|
|
55
|
+
field: t,
|
|
56
|
+
fieldState: {
|
|
57
|
+
error: r
|
|
58
|
+
}
|
|
59
|
+
}) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ n(s, { className: "ttw:grow-0", children: [
|
|
60
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, children: i._("Digit count") }),
|
|
61
|
+
/* @__PURE__ */ e(g, { ...t, id: t.name, type: "number", className: "ttw:bg-white ttw:w-29 ttw:max-w-29", onChange: (l) => {
|
|
62
|
+
+l.target.value > 20 ? v("min_digits", 20, {
|
|
63
|
+
shouldDirty: !0
|
|
64
|
+
}) : t.onChange(l);
|
|
65
|
+
}, "aria-invalid": !!r || void 0 }),
|
|
66
|
+
/* @__PURE__ */ e(u, { errors: [r] })
|
|
67
|
+
] }) }) })
|
|
68
|
+
] }),
|
|
69
|
+
/* @__PURE__ */ e("div", { className: "ttw:bg-transparent ttw:w-full ttw:p-2", children: /* @__PURE__ */ e(d, { name: "include_date", control: o, render: ({
|
|
70
|
+
field: t
|
|
71
|
+
}) => /* @__PURE__ */ e(m, { orientation: "horizontal", children: /* @__PURE__ */ n(s, { className: "ttw:flex-row ttw:items-center", children: [
|
|
72
|
+
/* @__PURE__ */ e(S, { id: t.name, ref: t.ref, checked: t.value ?? !1, onCheckedChange: t.onChange, onBlur: t.onBlur, className: "ttw:bg-white" }),
|
|
73
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, className: "ttw:font-normal", children: i._("Include the current year in the invoice number prefix") })
|
|
74
|
+
] }) }) }) })
|
|
75
|
+
] });
|
|
16
76
|
};
|
|
17
77
|
export {
|
|
18
|
-
|
|
19
|
-
s as FILTER_TYPE_CREATED_AT,
|
|
20
|
-
A as FILTER_TYPE_CREATED_BY,
|
|
21
|
-
i as FILTER_TYPE_SEARCH,
|
|
22
|
-
E as ROW_TO_STATUS_MUI_MAP,
|
|
23
|
-
n as getRowToStatusTextMap
|
|
78
|
+
E as InvoiceNumbering
|
|
24
79
|
};
|
|
@@ -1,46 +1,34 @@
|
|
|
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
|
-
e(r)
|
|
33
|
-
] }, r);
|
|
34
|
-
case "tags":
|
|
35
|
-
return /* @__PURE__ */ t("li", { children: [
|
|
36
|
-
/* @__PURE__ */ i(c, { width: 18 }),
|
|
37
|
-
e(r)
|
|
38
|
-
] }, r);
|
|
39
|
-
default:
|
|
40
|
-
return null;
|
|
41
|
-
}
|
|
42
|
-
}) }) : null;
|
|
43
|
-
};
|
|
1
|
+
import { z as e } from "zod";
|
|
2
|
+
const i = (n, t) => e.object({
|
|
3
|
+
min_digits: e.coerce.number().int().min(1, n._("Can't be less than 1")).max(20, n._("Can't be greater than 20")),
|
|
4
|
+
credit_note: e.string().min(1),
|
|
5
|
+
credit_note_number: e.coerce.number().int().min(t.credit_note, n._("Can't be less than {nextNumbersCredit_note}", {
|
|
6
|
+
nextNumbersCredit_note: t.credit_note
|
|
7
|
+
})),
|
|
8
|
+
delivery_note: e.string().min(1),
|
|
9
|
+
delivery_note_number: e.coerce.number().int().min(t.delivery_note, n._("Can't be less than {nextNumbersDelivery_note}", {
|
|
10
|
+
nextNumbersDelivery_note: t.delivery_note
|
|
11
|
+
})),
|
|
12
|
+
quote: e.string().min(1),
|
|
13
|
+
quote_number: e.coerce.number().int().min(t.quote, n._("Can't be less than {nextNumbersQuote}", {
|
|
14
|
+
nextNumbersQuote: t.quote
|
|
15
|
+
})),
|
|
16
|
+
invoice: e.string().min(1, n._("Invoice prefix is required")).max(25, n._("Invoice prefix should have at most 25 characters")),
|
|
17
|
+
invoice_number: e.coerce.number().int().min(t.invoice, n._("Can't be less than {nextNumbersInvoice}", {
|
|
18
|
+
nextNumbersInvoice: t.invoice
|
|
19
|
+
})),
|
|
20
|
+
purchase_order: e.string().min(1),
|
|
21
|
+
purchase_order_number: e.coerce.number().int().min(t.purchase_order, n._("Can't be less than {nextNumbersPurchase_order}", {
|
|
22
|
+
nextNumbersPurchase_order: t.purchase_order
|
|
23
|
+
})),
|
|
24
|
+
include_date: e.boolean(),
|
|
25
|
+
prefix: e.string().max(25, n._("Prefix should have at most 25 characters")),
|
|
26
|
+
separator: e.enum(["/", "-", "|", ".", ""]),
|
|
27
|
+
invoice_bank_display: e.boolean(),
|
|
28
|
+
update_paid_invoices: e.boolean(),
|
|
29
|
+
quote_signature_display: e.boolean(),
|
|
30
|
+
quote_electronic_signature: e.union([e.boolean(), e.string()])
|
|
31
|
+
});
|
|
44
32
|
export {
|
|
45
|
-
|
|
33
|
+
i as getInvoiceSettingsFormSchema
|
|
46
34
|
};
|
|
@@ -1,59 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
i18n: e
|
|
18
|
-
} = v(), {
|
|
19
|
-
api: n
|
|
20
|
-
} = y(), [r, l] = c(null), [m, a] = c(""), b = N(m, C), {
|
|
21
|
-
data: w
|
|
22
|
-
} = n.finops.getEntityUsers.useQuery({
|
|
23
|
-
query: {
|
|
24
|
-
name__istartswith: b || void 0
|
|
25
|
-
}
|
|
26
|
-
}), d = u(() => w?.data ?? [], [w]), i = u(() => d.map((o) => ({
|
|
27
|
-
value: o.id,
|
|
28
|
-
label: F(o)
|
|
29
|
-
})), [d]), p = u(() => !r || i.some((o) => o.value === r.value) ? i : [r, ...i], [i, r]);
|
|
30
|
-
return /* @__PURE__ */ s($, { items: p, value: r?.value ?? "", placeholder: e._("Added by"), emptyMessage: e._("No users found"), clearAriaLabel: e._("Clear selection"), onQueryChange: a, onValueChange: (o) => {
|
|
31
|
-
const h = Array.isArray(o) ? o[0] ?? "" : o ?? "";
|
|
32
|
-
l(p.find((g) => g.value === h) ?? null), t(h || void 0);
|
|
33
|
-
} });
|
|
34
|
-
}, q = ({
|
|
35
|
-
onChangeFilter: t
|
|
36
|
-
}) => {
|
|
37
|
-
const {
|
|
38
|
-
i18n: e
|
|
39
|
-
} = v(), {
|
|
40
|
-
root: n
|
|
41
|
-
} = E(), [r, l] = c(void 0), m = x((a) => {
|
|
42
|
-
t(k, a.trim() ? a : null);
|
|
43
|
-
}, C);
|
|
44
|
-
return /* @__PURE__ */ f("div", { className: "ttw:flex ttw:items-center ttw:gap-3 ttw:px-2 ttw:py-2", children: [
|
|
45
|
-
/* @__PURE__ */ s("div", { className: "ttw:flex-1", children: /* @__PURE__ */ s(A, { placeholder: e._("Search"), className: "ttw:h-9 ttw:w-full", onChange: (a) => m(a.target.value) }) }),
|
|
46
|
-
/* @__PURE__ */ s("div", { className: "ttw:w-48 ttw:shrink-0", children: /* @__PURE__ */ s(L, { onChange: (a) => t(D, a ?? null) }) }),
|
|
47
|
-
/* @__PURE__ */ f("div", { className: "ttw:relative ttw:w-44 ttw:shrink-0", children: [
|
|
48
|
-
/* @__PURE__ */ s(R, { value: r, placeholder: e._("Created at"), className: `ttw:h-9 ttw:border-border${r ? " ttw:pr-8" : ""}`, container: n, onChange: (a) => {
|
|
49
|
-
l(a), t(_, a ?? null);
|
|
50
|
-
} }),
|
|
51
|
-
r ? /* @__PURE__ */ s("button", { type: "button", "aria-label": e._("Clear created at filter"), className: "ttw:absolute ttw:right-2 ttw:top-1/2 ttw:inline-flex ttw:size-4 ttw:-translate-y-1/2 ttw:cursor-pointer ttw:items-center ttw:justify-center ttw:rounded-sm ttw:text-muted-foreground ttw:opacity-70 hover:ttw:opacity-100", onClick: () => {
|
|
52
|
-
l(void 0), t(_, null);
|
|
53
|
-
}, children: /* @__PURE__ */ s(T, { className: "ttw:size-3.5" }) }) : null
|
|
54
|
-
] })
|
|
55
|
-
] });
|
|
1
|
+
const a = (n) => !!n && typeof n == "object" && "display_organization_bank_account" in n, t = (n, i) => a(n) ? !!(n.display_organization_bank_account ?? i) : i, _ = (n, i) => {
|
|
2
|
+
const o = a(n?.invoice);
|
|
3
|
+
return {
|
|
4
|
+
...n,
|
|
5
|
+
display_organization_bank_account: i.invoice_bank_display,
|
|
6
|
+
quote: {
|
|
7
|
+
...n?.quote,
|
|
8
|
+
display_signature: i.quote_signature_display
|
|
9
|
+
},
|
|
10
|
+
...o ? {
|
|
11
|
+
invoice: {
|
|
12
|
+
...n?.invoice,
|
|
13
|
+
display_organization_bank_account: i.invoice_bank_display
|
|
14
|
+
}
|
|
15
|
+
} : {}
|
|
16
|
+
};
|
|
56
17
|
};
|
|
57
18
|
export {
|
|
58
|
-
|
|
19
|
+
_ as buildDocumentRendering,
|
|
20
|
+
t as getBankDisplayValue,
|
|
21
|
+
a as hasBankDisplay
|
|
59
22
|
};
|
|
@@ -1,148 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
!o && /* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: s ? r._("Who are you paying?") : r._("Who are you billing?") })
|
|
34
|
-
] }),
|
|
35
|
-
!o && /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: [
|
|
36
|
-
/* @__PURE__ */ e(m, { children: r._("{customerType} type", {
|
|
37
|
-
customerType: s ? "Vendor" : "Customer"
|
|
38
|
-
}) }),
|
|
39
|
-
/* @__PURE__ */ a(C, { className: "ttw:flex", value: d, disabled: l, onValueChange: (t) => N?.(t), children: [
|
|
40
|
-
/* @__PURE__ */ a("div", { className: c("ttw:flex ttw:p-4 ttw:flex-1 ttw:gap-2 ttw:border ttw:rounded-xl ttw:border-border ttw:hover:bg-primary/10 ttw:hover:border-primary/30", d === "organization" && "ttw:bg-primary/10 ttw:border-primary/30"), children: [
|
|
41
|
-
/* @__PURE__ */ e(y, { value: "organization", id: "organization", className: c(d === "organization" ? "ttw:bg-primary" : "ttw:bg-white"), dotClassName: c(d === "organization" && "ttw:fill-white"), disabled: l }),
|
|
42
|
-
/* @__PURE__ */ a(v, { htmlFor: "organization", className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5", children: [
|
|
43
|
-
/* @__PURE__ */ e(n, { variant: "body2", className: "ttw:leading-3.5", children: r._("Business") }),
|
|
44
|
-
/* @__PURE__ */ e(n, { variant: "caption", color: "muted", children: r._("A company or organization") })
|
|
45
|
-
] })
|
|
46
|
-
] }),
|
|
47
|
-
/* @__PURE__ */ a("div", { className: c("ttw:flex ttw:p-4 ttw:flex-1 ttw:gap-2 ttw:border ttw:rounded-xl ttw:border-border ttw:hover:bg-primary/10 ttw:hover:border-primary/30", d === "individual" && "ttw:bg-primary/10 ttw:border-primary/30"), children: [
|
|
48
|
-
/* @__PURE__ */ e(y, { value: "individual", id: "individual", className: c(d === "individual" ? "ttw:bg-primary" : "ttw:bg-white"), dotClassName: c(d === "individual" && "ttw:fill-white"), disabled: l }),
|
|
49
|
-
/* @__PURE__ */ a(v, { htmlFor: "individual", className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5", children: [
|
|
50
|
-
/* @__PURE__ */ e(n, { variant: "body2", className: "ttw:leading-3.5", children: r._("Person") }),
|
|
51
|
-
/* @__PURE__ */ e(n, { variant: "caption", color: "muted", children: r._("An individual or contractor") })
|
|
52
|
-
] })
|
|
53
|
-
] })
|
|
54
|
-
] })
|
|
55
|
-
] }),
|
|
56
|
-
d === "individual" ? /* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
57
|
-
/* @__PURE__ */ e(u, { name: "firstName", control: w, render: ({
|
|
58
|
-
field: t,
|
|
59
|
-
fieldState: {
|
|
60
|
-
error: i
|
|
61
|
-
}
|
|
62
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
63
|
-
/* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("First name") }),
|
|
64
|
-
/* @__PURE__ */ e(b, { className: o ? "ttw:bg-white" : "", id: t.name, ...t, disabled: l, "aria-invalid": !!i || void 0 }),
|
|
65
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
66
|
-
] }) }) }),
|
|
67
|
-
/* @__PURE__ */ e(u, { name: "lastName", control: w, render: ({
|
|
68
|
-
field: t,
|
|
69
|
-
fieldState: {
|
|
70
|
-
error: i
|
|
71
|
-
}
|
|
72
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
73
|
-
/* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("Last name") }),
|
|
74
|
-
/* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
|
|
75
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
76
|
-
] }) }) })
|
|
77
|
-
] }) : /* @__PURE__ */ e(u, { name: "companyName", control: w, render: ({
|
|
78
|
-
field: t,
|
|
79
|
-
fieldState: {
|
|
80
|
-
error: i
|
|
81
|
-
}
|
|
82
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
83
|
-
/* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("Business name") }),
|
|
84
|
-
/* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
|
|
85
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
86
|
-
] }) }) }),
|
|
87
|
-
/* @__PURE__ */ a("div", { className: c("ttw:flex ttw:gap-4", s ? "ttw:flex-row" : "ttw:flex-col"), children: [
|
|
88
|
-
/* @__PURE__ */ e(u, { name: "email", control: w, render: ({
|
|
89
|
-
field: t,
|
|
90
|
-
fieldState: {
|
|
91
|
-
error: i
|
|
92
|
-
}
|
|
93
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
94
|
-
/* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("Email") }),
|
|
95
|
-
/* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
|
|
96
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
97
|
-
] }) }) }),
|
|
98
|
-
!s && /* @__PURE__ */ e(u, { name: "remindersEnabled", control: w, render: ({
|
|
99
|
-
field: t
|
|
100
|
-
}) => /* @__PURE__ */ e(h, { orientation: "horizontal", children: /* @__PURE__ */ a(p, { className: "ttw:flex-row", children: [
|
|
101
|
-
/* @__PURE__ */ e(I, { id: t.name, ref: t.ref, checked: t.value, onCheckedChange: t.onChange, onBlur: t.onBlur, disabled: l }),
|
|
102
|
-
/* @__PURE__ */ e(m, { htmlFor: t.name, className: "ttw:font-normal ttw:leading-4", children: r._("Send reminders to this email when an invoice is approaching its due date") })
|
|
103
|
-
] }) }) }),
|
|
104
|
-
/* @__PURE__ */ e(u, { name: "phone", control: w, render: ({
|
|
105
|
-
field: t,
|
|
106
|
-
fieldState: {
|
|
107
|
-
error: i
|
|
108
|
-
}
|
|
109
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
110
|
-
/* @__PURE__ */ a(m, { htmlFor: t.name, className: "ttw:gap-1", children: [
|
|
111
|
-
r._("Phone"),
|
|
112
|
-
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: r._("(optional)") })
|
|
113
|
-
] }),
|
|
114
|
-
/* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
|
|
115
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
116
|
-
] }) }) })
|
|
117
|
-
] }),
|
|
118
|
-
/* @__PURE__ */ e(u, { name: "tax_id", control: w, render: ({
|
|
119
|
-
field: t,
|
|
120
|
-
fieldState: {
|
|
121
|
-
error: i
|
|
122
|
-
}
|
|
123
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
124
|
-
/* @__PURE__ */ a(m, { htmlFor: t.name, className: "ttw:gap-1", children: [
|
|
125
|
-
r._("Tax ID / {documentType}", {
|
|
126
|
-
documentType: d === "individual" ? "SSN" : "EIN"
|
|
127
|
-
}),
|
|
128
|
-
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: r._("(optional)") })
|
|
129
|
-
] }),
|
|
130
|
-
/* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", placeholder: r._("e.g., {example}", {
|
|
131
|
-
example: d === "individual" ? "034-56-78890" : "12-3456789"
|
|
132
|
-
}), disabled: l, "aria-invalid": !!i || void 0 }),
|
|
133
|
-
/* @__PURE__ */ e(_, { children: s ? r._("Required only if you'll file a 1099 IRS form for this vendor at year-end.") : r._("Required only if you'll issue a 1099 IRS form at year-end.") }),
|
|
134
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
135
|
-
] }) }) }),
|
|
136
|
-
(s || !o) && /* @__PURE__ */ e(L, { isLoading: l, customerType: g, isStandalone: !1 }),
|
|
137
|
-
s && !o && /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
138
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-6 ttw:pb-7", children: [
|
|
139
|
-
/* @__PURE__ */ e(n, { variant: "body1", className: "ttw:font-medium", children: r._("Accepted payment methods") }),
|
|
140
|
-
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: r._("How and where will the money be sent. Don't have these yet? No problem. You can save this vendor and add their payment details later - you just won't be able to send payments until you do.") })
|
|
141
|
-
] }),
|
|
142
|
-
/* @__PURE__ */ e(z, { isLoading: l, isStandalone: !1 })
|
|
143
|
-
] })
|
|
144
|
-
] });
|
|
145
|
-
};
|
|
1
|
+
import { jsx as e, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as a } from "./index100.js";
|
|
3
|
+
import * as o from "@radix-ui/react-accordion";
|
|
4
|
+
import { ChevronDownIcon as s } from "lucide-react";
|
|
5
|
+
function l({
|
|
6
|
+
...t
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(o.Root, { "data-slot": "accordion", ...t });
|
|
9
|
+
}
|
|
10
|
+
function m({
|
|
11
|
+
className: t,
|
|
12
|
+
...n
|
|
13
|
+
}) {
|
|
14
|
+
return /* @__PURE__ */ e(o.Item, { "data-slot": "accordion-item", className: a("ttw:border-b ttw:last:border-b-0", t), ...n });
|
|
15
|
+
}
|
|
16
|
+
function f({
|
|
17
|
+
className: t,
|
|
18
|
+
children: n,
|
|
19
|
+
...r
|
|
20
|
+
}) {
|
|
21
|
+
return /* @__PURE__ */ e(o.Header, { className: "ttw:flex", children: /* @__PURE__ */ i(o.Trigger, { "data-slot": "accordion-trigger", className: a("ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:flex ttw:flex-1 ttw:items-start ttw:justify-between ttw:gap-4 ttw:rounded-md ttw:py-4 ttw:text-left ttw:text-sm ttw:font-medium ttw:transition-all ttw:outline-none ttw:hover:underline ttw:focus-visible:ring-[3px] ttw:disabled:pointer-events-none ttw:disabled:opacity-50 ttw:[&[data-state=open]>svg]:rotate-180", t), ...r, children: [
|
|
22
|
+
n,
|
|
23
|
+
/* @__PURE__ */ e(s, { className: "ttw:text-muted-foreground ttw:pointer-events-none ttw:size-4 ttw:shrink-0 ttw:translate-y-0.5 ttw:transition-transform ttw:duration-200" })
|
|
24
|
+
] }) });
|
|
25
|
+
}
|
|
26
|
+
function u({
|
|
27
|
+
className: t,
|
|
28
|
+
children: n,
|
|
29
|
+
...r
|
|
30
|
+
}) {
|
|
31
|
+
return /* @__PURE__ */ e(o.Content, { "data-slot": "accordion-content", className: "ttw:data-[state=closed]:animate-accordion-up ttw:data-[state=open]:animate-accordion-down ttw:overflow-hidden ttw:text-sm", ...r, children: /* @__PURE__ */ e("div", { className: a("ttw:pt-0 ttw:pb-4", t), children: n }) });
|
|
32
|
+
}
|
|
146
33
|
export {
|
|
147
|
-
|
|
34
|
+
l as Accordion,
|
|
35
|
+
u as AccordionContent,
|
|
36
|
+
m as AccordionItem,
|
|
37
|
+
f as AccordionTrigger
|
|
148
38
|
};
|
|
@@ -1,88 +1,53 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
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
|
-
code: "custom",
|
|
29
|
-
message: t._("City is required"),
|
|
30
|
-
path: ["city"]
|
|
31
|
-
}), n.state?.trim() || s.addIssue({
|
|
32
|
-
code: "custom",
|
|
33
|
-
message: t._("State is required"),
|
|
34
|
-
path: ["state"]
|
|
35
|
-
}), n.postalCode?.trim() || s.addIssue({
|
|
36
|
-
code: "custom",
|
|
37
|
-
message: t._("Postal code is required"),
|
|
38
|
-
path: ["postalCode"]
|
|
39
|
-
}));
|
|
40
|
-
}), _ = (e, t) => {
|
|
41
|
-
const a = i.object(m(e, t));
|
|
42
|
-
return t ? a : d(a, e);
|
|
43
|
-
}, b = (e, t, a) => {
|
|
44
|
-
const s = a === "vendor", n = i.object({
|
|
45
|
-
tax_id: i.string().optional(),
|
|
46
|
-
remindersEnabled: i.boolean(),
|
|
47
|
-
email: i.email(e._("Email must be a valid email")).min(1, e._("Email is required")),
|
|
48
|
-
phone: i.string().optional(),
|
|
49
|
-
isVendor: i.boolean(),
|
|
50
|
-
isCustomer: i.boolean(),
|
|
51
|
-
...u(e).shape,
|
|
52
|
-
...m(e, s)
|
|
53
|
-
}), r = n.extend({
|
|
54
|
-
firstName: i.string().min(1, e._("First name is required")),
|
|
55
|
-
lastName: i.string().min(1, e._("Last name is required"))
|
|
56
|
-
}), o = n.extend({
|
|
57
|
-
companyName: i.string().min(1, e._("Company name is required"))
|
|
58
|
-
});
|
|
59
|
-
return s ? t === "individual" ? r : o : d(t === "individual" ? r : o, e);
|
|
60
|
-
}, q = (e, t, a) => {
|
|
61
|
-
const s = a === "vendor", n = i.object({
|
|
62
|
-
tax_id: i.string().optional(),
|
|
63
|
-
remindersEnabled: i.boolean(),
|
|
64
|
-
email: i.email(e._("Email must be a valid email")).min(1, e._("Email is required")),
|
|
65
|
-
phone: i.string().optional(),
|
|
66
|
-
...m(e, s)
|
|
67
|
-
}), r = n.extend({
|
|
68
|
-
firstName: i.string().min(1, e._("First name is required")),
|
|
69
|
-
lastName: i.string().min(1, e._("Last name is required"))
|
|
70
|
-
}), o = n.extend({
|
|
71
|
-
companyName: i.string().min(1, e._("Company name is required"))
|
|
72
|
-
});
|
|
73
|
-
return s ? t === "individual" ? r : o : d(t === "individual" ? r : o, e);
|
|
74
|
-
}, u = (e) => i.object({
|
|
75
|
-
accountHolderName: i.string().optional(),
|
|
76
|
-
routingNumber: i.string().refine((t) => !t || t.length === 9, {
|
|
77
|
-
message: e._("Routing number must be 9 digits")
|
|
78
|
-
}).optional(),
|
|
79
|
-
accountNumber: i.string().refine((t) => !t || t.length >= 9 && t.length <= 12, {
|
|
80
|
-
message: e._("Account number must be between 9 and 12 digits")
|
|
81
|
-
}).optional()
|
|
1
|
+
import { jsxs as u, jsx as v } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as t } from "./index100.js";
|
|
3
|
+
import { Slot as b } from "@radix-ui/react-slot";
|
|
4
|
+
import { cva as r } from "class-variance-authority";
|
|
5
|
+
const g = r("ttw:inline-flex ttw:items-center ttw:justify-center ttw:rounded-md ttw:border ttw:px-2 ttw:py-0.5 ttw:text-xs ttw:font-medium ttw:w-fit ttw:whitespace-nowrap ttw:shrink-0 ttw:[&>svg]:size-3 ttw:gap-1 ttw:[&>svg]:pointer-events-none ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:focus-visible:ring-[3px] ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:transition-[color,box-shadow] ttw:overflow-hidden", {
|
|
6
|
+
variants: {
|
|
7
|
+
variant: {
|
|
8
|
+
default: "ttw:border-transparent ttw:bg-primary ttw:text-primary-foreground ttw:[a&]:hover:bg-primary/90",
|
|
9
|
+
secondary: "ttw:border-transparent ttw:bg-secondary ttw:text-neutral ttw:[a&]:hover:bg-secondary/90",
|
|
10
|
+
destructive: "ttw:border-transparent ttw:bg-destructive ttw:text-white ttw:[a&]:hover:bg-destructive/90 ttw:focus-visible:ring-destructive/20 ttw:dark:focus-visible:ring-destructive/40 ttw:dark:bg-destructive/60",
|
|
11
|
+
outline: "ttw:text-foreground ttw:[a&]:hover:bg-accent ttw:[a&]:hover:text-accent-foreground"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
defaultVariants: {
|
|
15
|
+
variant: "default"
|
|
16
|
+
}
|
|
17
|
+
}), f = r("ttw:rounded-full ttw:box-content! ttw:inline-block", {
|
|
18
|
+
variants: {
|
|
19
|
+
dotSize: {
|
|
20
|
+
small: "ttw:w-1.5 ttw:h-1.5 ttw:border-2",
|
|
21
|
+
medium: "ttw:w-2 ttw:h-2 ttw:border-[3px]",
|
|
22
|
+
large: "ttw:w-2.5 ttw:h-2.5 ttw:border-4"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: {
|
|
26
|
+
dotSize: "medium"
|
|
27
|
+
}
|
|
82
28
|
});
|
|
29
|
+
function y({
|
|
30
|
+
className: e,
|
|
31
|
+
variant: a,
|
|
32
|
+
showBadgeBackground: i = !0,
|
|
33
|
+
asChild: n = !1,
|
|
34
|
+
dotSize: o,
|
|
35
|
+
showDot: w = !1,
|
|
36
|
+
showDotBorder: s,
|
|
37
|
+
dotClassName: d,
|
|
38
|
+
children: c,
|
|
39
|
+
...l
|
|
40
|
+
}) {
|
|
41
|
+
return /* @__PURE__ */ u(n ? b : "span", { "data-slot": "badge", className: t(g({
|
|
42
|
+
variant: a
|
|
43
|
+
}), !i && "ttw:bg-transparent! ttw:border-transparent! ttw:p-0!", e), ...l, children: [
|
|
44
|
+
w && /* @__PURE__ */ v("span", { className: t(f({
|
|
45
|
+
dotSize: o
|
|
46
|
+
}), !s && "ttw:border-none", d) }),
|
|
47
|
+
c
|
|
48
|
+
] });
|
|
49
|
+
}
|
|
83
50
|
export {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
b as getCreateCounterpartValidationSchema,
|
|
87
|
-
q as getUpdateCounterpartValidationSchema
|
|
51
|
+
y as Badge,
|
|
52
|
+
g as badgeVariants
|
|
88
53
|
};
|