@tesouro/embedded-components-react 0.2.129 → 0.2.131
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/README.md +10 -0
- package/dist/index.d.ts +48 -31
- package/dist/index.js +104 -100
- package/dist/lib/AcceptDisclosuresWidget.d.ts +587 -0
- package/dist/lib/AcceptDisclosuresWidget.js +7 -0
- package/dist/lib/ReceivablesWidget.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index2.js +59 -0
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index3.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/ui/dist/index2.js +15 -0
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/ui/dist/index3.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +25 -25
- 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/index118.js +35 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +1269 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +32 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +23 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +24 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +9 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +9 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +76 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +9 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +33 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +29 -15
- 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 +9 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +22 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +11 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +116 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +217 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +10 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +47 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +49 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +44 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +15 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +11 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +152 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +23 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +55 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +62 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +29 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +3 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +62 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +39 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +81 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +99 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +57 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +44 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +75 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +55 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +14 -218
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +24 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +78 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +27 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +38 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +7 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +111 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +70 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +187 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +30 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +109 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +132 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +20 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +19 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +20 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +183 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +12 -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 +18 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +50 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +4 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +5 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +88 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +35 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +41 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +48 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +201 -186
- 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 +430 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +21 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +24 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +93 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +98 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +10 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +14 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +101 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +6 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +12 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +10 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +213 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +12 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +7 -205
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +32 -432
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +24 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +13 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +20 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +20 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +21 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +20 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +26 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +117 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +70 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +14 -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 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +85 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +26 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +36 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +50 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +34 -20
- 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 +66 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +345 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +20 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +13 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +14 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +13 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +21 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +32 -15
- 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 +31 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +28 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +17 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +245 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +19 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +26 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +36 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +58 -17
- 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 +49 -245
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +97 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +43 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +143 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +101 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +41 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +29 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +5 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +73 -43
- 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 +32 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +17 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +29 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +60 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +92 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +108 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +86 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +66 -18
- 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 +62 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +72 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +44 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +22 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +2 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +92 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +96 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +213 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +54 -18
- 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 +27 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +60 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +14 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +40 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +343 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +301 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +103 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +156 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +264 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +23 -58
- 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 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +25 -488
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +122 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +158 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +27 -346
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +27 -301
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +78 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +61 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +41 -265
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +21 -21
- 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 +139 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +112 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +81 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +282 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +47 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +15 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +85 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +222 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +39 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +11 -29
- 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 +11 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +6 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +12 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +6 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +149 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +82 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +16 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +82 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +17 -88
- 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 +45 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +12 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +48 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +10 -141
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +480 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +166 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +38 -281
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +57 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +31 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +113 -85
- 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 +21 -224
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +41 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +57 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +21 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +170 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +134 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +162 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +61 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +66 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +57 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +7 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +10 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +57 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +21 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +59 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +14 -17
- 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 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +21 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +37 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +74 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +76 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +42 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +32 -125
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +11 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +22 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +50 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +9 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +31 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +53 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +33 -25
- 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 +20 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +69 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +42 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +18 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +96 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +33 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +33 -16
- 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/index401.js +7 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +51 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +28 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +33 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +17 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +62 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +19 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +18 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +20 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +64 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +19 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +2 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +8 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +12 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +9 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +32 -28
- 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 +85 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +24 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +95 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +112 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +75 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +68 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +23 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +37 -36
- 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 +5 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +123 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +71 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +16 -14
- 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 +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +29 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +69 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +30 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +18 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +40 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +37 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +16 -75
- 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 +52 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +19 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +46 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +55 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +33 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +94 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +75 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +21 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +9 -16
- 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 +55 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +69 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +21 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +70 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +67 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +49 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +29 -54
- 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 +39 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +44 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +50 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +38 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +15 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +36 -48
- 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 +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +48 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +20 -48
- 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 +24 -24
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +25 -25
- package/package.json +2 -2
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { useMoniteContext as r } from "./index57.js";
|
|
2
|
+
const u = (t, e = !0) => {
|
|
3
|
+
const {
|
|
4
|
+
api: o
|
|
5
|
+
} = r();
|
|
6
|
+
return o.finops.getProductsId.useQuery({
|
|
7
|
+
path: {
|
|
8
|
+
product_id: t
|
|
9
|
+
}
|
|
10
|
+
}, {
|
|
11
|
+
enabled: e
|
|
12
|
+
});
|
|
13
|
+
};
|
|
7
14
|
export {
|
|
8
|
-
|
|
15
|
+
u as useGetProductById
|
|
9
16
|
};
|
|
@@ -1,37 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
onClick: i = () => {
|
|
13
|
-
},
|
|
14
|
-
onHover: l,
|
|
15
|
-
onFocus: f,
|
|
16
|
-
onBlur: m,
|
|
17
|
-
ariaLabelOverride: s,
|
|
18
|
-
isDynamic: p = !1,
|
|
19
|
-
ref: u,
|
|
20
|
-
...b
|
|
21
|
-
}) => {
|
|
22
|
-
const {
|
|
23
|
-
componentSettings: k
|
|
24
|
-
} = v(), o = k?.general?.iconWrapper, [I, e] = g(o.icon || o.fallbackIcon || /* @__PURE__ */ n(c, {}));
|
|
25
|
-
h(() => {
|
|
26
|
-
e(o.icon || o.fallbackIcon || /* @__PURE__ */ n(c, {}));
|
|
27
|
-
}, [o.icon, o.fallbackIcon]);
|
|
28
|
-
const d = (r) => {
|
|
29
|
-
l?.(r), p && e(/* @__PURE__ */ n(x, {}));
|
|
30
|
-
}, C = () => {
|
|
31
|
-
e(o.icon || o.fallbackIcon || /* @__PURE__ */ n(c, {}));
|
|
32
|
-
}, M = s || "Icon button", a = () => /* @__PURE__ */ n(E, { ref: u, onClick: i, onMouseEnter: d, onMouseLeave: C, onFocus: (r) => f?.(r), onBlur: (r) => m?.(r), "aria-label": M, ...b, children: I });
|
|
33
|
-
return t ? /* @__PURE__ */ n(L, { title: t, children: a() }) : a();
|
|
34
|
-
};
|
|
1
|
+
import { jsxs as i, jsx as r } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Typography as e } from "./index85.js";
|
|
3
|
+
import { twMerge as s } from "tailwind-merge";
|
|
4
|
+
const w = ({
|
|
5
|
+
label: o,
|
|
6
|
+
value: t,
|
|
7
|
+
isLast: a
|
|
8
|
+
}) => /* @__PURE__ */ i("li", { className: s("ttw:flex ttw:gap-4 ttw:py-2.5", !a && "ttw:border-b ttw:border-border"), children: [
|
|
9
|
+
/* @__PURE__ */ r(e, { variant: "body2", color: "muted", className: "ttw:w-35 ttw:min-w-35 ttw:font-medium", children: o }),
|
|
10
|
+
typeof t == "string" ? /* @__PURE__ */ r(e, { variant: "body2", className: "ttw:font-medium", children: t }) : t
|
|
11
|
+
] });
|
|
35
12
|
export {
|
|
36
|
-
|
|
13
|
+
w as ProductDetailLine
|
|
37
14
|
};
|
|
@@ -1,49 +1,148 @@
|
|
|
1
|
-
import { jsxs as a, jsx as
|
|
2
|
-
import {
|
|
1
|
+
import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { FieldLabel as m, Field as h, FieldContent as p, FieldError as f, FieldDescription as _ } from "./index159.js";
|
|
3
|
+
import { Input as b } from "./index128.js";
|
|
4
|
+
import { Label as v } from "./index333.js";
|
|
5
|
+
import { RadioGroup as C, RadioGroupItem as y } from "./index360.js";
|
|
3
6
|
import { Typography as n } from "./index85.js";
|
|
4
|
-
import { useLingui as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
import { useLingui as F } from "@lingui/react";
|
|
8
|
+
import { useRef as S } from "react";
|
|
9
|
+
import { useFormContext as T, Controller as u } from "react-hook-form";
|
|
10
|
+
import { twMerge as c } from "tailwind-merge";
|
|
11
|
+
import { CounterpartBankSection as z } from "./index151.js";
|
|
12
|
+
import { Checkbox as I } from "./index319.js";
|
|
13
|
+
import { CounterpartAddressSection as L } from "./index153.js";
|
|
14
|
+
const $ = ({
|
|
15
|
+
handleChangeCounterpartType: N,
|
|
16
|
+
counterpartType: d,
|
|
17
|
+
isLoading: l,
|
|
18
|
+
customerType: g,
|
|
19
|
+
isEditMode: o
|
|
10
20
|
}) => {
|
|
11
21
|
const {
|
|
12
|
-
i18n:
|
|
13
|
-
} =
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
i18n: r
|
|
23
|
+
} = F(), {
|
|
24
|
+
control: w
|
|
25
|
+
} = T(), x = S(null), s = g === "vendor";
|
|
26
|
+
return /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", ref: x, children: [
|
|
27
|
+
/* @__PURE__ */ a("div", { className: c("ttw:flex ttw:flex-col ttw:gap-1.5", o && "ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border"), children: [
|
|
28
|
+
/* @__PURE__ */ e(n, { variant: "body1", className: "ttw:font-medium", children: o ? r._("Editing {customerType} details", {
|
|
29
|
+
customerType: g
|
|
30
|
+
}) : r._("{customerType} details", {
|
|
31
|
+
customerType: s ? "Vendor" : "Customer"
|
|
32
|
+
}) }),
|
|
33
|
+
!o && /* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: s ? r._("Who are you paying?") : r._("Who are you billing?") })
|
|
21
34
|
] }),
|
|
22
|
-
/* @__PURE__ */ a("div", { className:
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
+
] })
|
|
27
46
|
] }),
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
d("
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
36
|
-
/* @__PURE__ */ t(n, { variant: "body1", className: "ttw:font-medium", children: e._("Update PDF files for paid invoices") }),
|
|
37
|
-
/* @__PURE__ */ t(n, { variant: "body2", color: "muted", children: e._("PDF invoice files will be regenerated to reflect payments made and any remaining amount due. Once a PDF has been updated, you won't be able to revert it.") }),
|
|
38
|
-
/* @__PURE__ */ t(n, { variant: "body2", color: "muted", className: "ttw:font-medium", children: e._("Once updated, you won't be able to revert the PDFs.") })
|
|
39
|
-
] }),
|
|
40
|
-
/* @__PURE__ */ t(w, { name: "update_paid_invoices", control: l, render: ({
|
|
41
|
-
field: o
|
|
42
|
-
}) => /* @__PURE__ */ t(i, { checked: o.value, onCheckedChange: o.onChange, "aria-label": e._("Enable update paid invoices pdf") }) })
|
|
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
|
+
] })
|
|
43
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 })
|
|
44
143
|
] })
|
|
45
144
|
] });
|
|
46
145
|
};
|
|
47
146
|
export {
|
|
48
|
-
|
|
147
|
+
$ as CounterpartFormContent
|
|
49
148
|
};
|
|
@@ -1,31 +1,88 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import { AllowedCountries as l } from "./index368.js";
|
|
2
|
+
import { z as i } from "zod";
|
|
3
|
+
import "./index325.js";
|
|
4
|
+
const m = (e, t) => ({
|
|
5
|
+
line1: i.string().optional().refine((a) => !t || !!a?.trim(), {
|
|
6
|
+
message: e._("Street address is required")
|
|
7
|
+
}),
|
|
8
|
+
line2: i.string().optional(),
|
|
9
|
+
city: i.string().optional().refine((a) => !t || !!a?.trim(), {
|
|
10
|
+
message: e._("City is required")
|
|
11
|
+
}),
|
|
12
|
+
state: i.string().optional().refine((a) => !t || !!a?.trim(), {
|
|
13
|
+
message: e._("State is required")
|
|
14
|
+
}),
|
|
15
|
+
country: i.enum(l).optional().refine((a) => !t || !!a, {
|
|
16
|
+
message: e._("Country is required")
|
|
17
|
+
}),
|
|
18
|
+
postalCode: i.string().optional().refine((a) => !t || !!a?.trim(), {
|
|
19
|
+
message: e._("Postal code is required")
|
|
20
|
+
})
|
|
21
|
+
}), d = (e, t) => e.superRefine((a, s) => {
|
|
22
|
+
const n = a;
|
|
23
|
+
(n.line1?.trim() || n.line2?.trim() || n.city?.trim() || n.state?.trim() || n.postalCode?.trim()) && (n.line1?.trim() || s.addIssue({
|
|
24
|
+
code: "custom",
|
|
25
|
+
message: t._("Street address is required"),
|
|
26
|
+
path: ["line1"]
|
|
27
|
+
}), n.city?.trim() || s.addIssue({
|
|
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"))
|
|
27
58
|
});
|
|
28
|
-
|
|
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()
|
|
82
|
+
});
|
|
29
83
|
export {
|
|
30
|
-
|
|
84
|
+
_ as getAddressValidationSchema,
|
|
85
|
+
u as getCounterpartBankValidationSchema,
|
|
86
|
+
b as getCreateCounterpartValidationSchema,
|
|
87
|
+
q as getUpdateCounterpartValidationSchema
|
|
31
88
|
};
|
|
@@ -1,7 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { useMoniteContext as n } from "./index57.js";
|
|
2
|
+
import { useLingui as a } from "@lingui/react";
|
|
3
|
+
import { toast as s } from "react-hot-toast";
|
|
4
|
+
const c = () => {
|
|
5
|
+
const {
|
|
6
|
+
i18n: r
|
|
7
|
+
} = a(), {
|
|
8
|
+
api: t,
|
|
9
|
+
queryClient: o
|
|
10
|
+
} = n();
|
|
11
|
+
return t.finops.postCounterpartsIdBankAccounts.useMutation(void 0, {
|
|
12
|
+
onSuccess: async (e) => {
|
|
13
|
+
await t.finops.getCounterpartsIdBankAccounts.invalidateQueries({
|
|
14
|
+
parameters: {
|
|
15
|
+
path: {
|
|
16
|
+
counterpart_id: e.counterpart_id
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}, o);
|
|
20
|
+
},
|
|
21
|
+
onError: () => {
|
|
22
|
+
s.error(r._("There was an error setting up the bank account"));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
};
|
|
5
26
|
export {
|
|
6
|
-
|
|
27
|
+
c as useCreateCounterpartBank
|
|
7
28
|
};
|
|
@@ -1,79 +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
|
-
return /* @__PURE__ */
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
] });
|
|
76
|
-
};
|
|
1
|
+
import { jsx as e, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as a } from "./index100.js";
|
|
3
|
+
import * as r from "@radix-ui/react-accordion";
|
|
4
|
+
import { ChevronDownIcon as s } from "lucide-react";
|
|
5
|
+
function l({
|
|
6
|
+
...t
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(r.Root, { "data-slot": "accordion", ...t });
|
|
9
|
+
}
|
|
10
|
+
function m({
|
|
11
|
+
className: t,
|
|
12
|
+
...o
|
|
13
|
+
}) {
|
|
14
|
+
return /* @__PURE__ */ e(r.Item, { "data-slot": "accordion-item", className: a("ttw:border-b ttw:border-border ttw:last:border-b-0", t), ...o });
|
|
15
|
+
}
|
|
16
|
+
function u({
|
|
17
|
+
className: t,
|
|
18
|
+
children: o,
|
|
19
|
+
...n
|
|
20
|
+
}) {
|
|
21
|
+
return /* @__PURE__ */ e(r.Header, { className: "ttw:flex", children: /* @__PURE__ */ i(r.Trigger, { "data-slot": "accordion-trigger", className: a("ttw:group ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:flex ttw:flex-1 ttw:cursor-pointer 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:focus-visible:ring-[3px] ttw:disabled:pointer-events-none ttw:disabled:opacity-50 ttw:[&[data-state=open]>svg]:rotate-180", t), ...n, children: [
|
|
22
|
+
o,
|
|
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 f({
|
|
27
|
+
className: t,
|
|
28
|
+
children: o,
|
|
29
|
+
...n
|
|
30
|
+
}) {
|
|
31
|
+
return /* @__PURE__ */ e(r.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", ...n, children: /* @__PURE__ */ e("div", { className: a("ttw:pt-0 ttw:pb-4", t), children: o }) });
|
|
32
|
+
}
|
|
77
33
|
export {
|
|
78
|
-
|
|
34
|
+
l as Accordion,
|
|
35
|
+
f as AccordionContent,
|
|
36
|
+
m as AccordionItem,
|
|
37
|
+
u as AccordionTrigger
|
|
79
38
|
};
|
|
@@ -1,34 +1,53 @@
|
|
|
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
|
-
update_paid_invoices: e.boolean(),
|
|
29
|
-
quote_signature_display: e.boolean(),
|
|
30
|
-
quote_electronic_signature: e.union([e.boolean(), e.string()])
|
|
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
|
+
}
|
|
31
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
|
+
}
|
|
32
50
|
export {
|
|
33
|
-
|
|
51
|
+
y as Badge,
|
|
52
|
+
g as badgeVariants
|
|
34
53
|
};
|