@tesouro/embedded-components-react 0.2.115 → 0.2.117
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/bank-accounts-widget/account-details/feature/dist/index2.js +48 -45
- 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/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/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 +24 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +34 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +25 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +1271 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +23 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +32 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +9 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +46 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +75 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +58 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +194 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +37 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +80 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +9 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +78 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +60 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +38 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +7 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +5 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +118 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +70 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +187 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +30 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +109 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +132 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +20 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +19 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +20 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +24 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +183 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +13 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +19 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +48 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +4 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +5 -197
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +88 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +33 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +6 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +46 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +205 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +420 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +21 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +26 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +13 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +17 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +18 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +9 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +76 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +6 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +27 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +115 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +70 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +33 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +15 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +24 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +90 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +94 -198
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +14 -423
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +12 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +29 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +12 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +12 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +26 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +119 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +46 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +44 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +46 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +145 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +55 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +70 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +3 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +100 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +24 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +5 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +211 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +10 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +36 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +50 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +34 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +66 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +345 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +2 -5
- 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 +18 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +14 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +13 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +14 -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 +21 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +37 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +34 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +17 -20
- 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 +245 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +19 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +38 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +56 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +50 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +98 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +42 -243
- 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 +146 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +108 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +41 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +27 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +5 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +72 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +32 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +18 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +141 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +86 -147
- 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 +22 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +37 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +55 -340
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +29 -301
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +112 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +21 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +41 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +55 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +489 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +168 -10
- 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 +2 -491
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +91 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +96 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +209 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +63 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +43 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +24 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +137 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +109 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +81 -72
- 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 +284 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +48 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +15 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +85 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +222 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +37 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +11 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +9 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +9 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +10 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +1 -1
- 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 +6 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +2 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +149 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +72 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +90 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +17 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +81 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +17 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +50 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +10 -23
- 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 +35 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +62 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +27 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +126 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +44 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +160 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +27 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +27 -223
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +78 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +8 -9
- 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 +19 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +33 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +40 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +347 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +303 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +95 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +160 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +261 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +25 -17
- 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 +19 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +54 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +28 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +60 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +18 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +29 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +40 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +63 -22
- 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 +92 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +110 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +82 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +15 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +16 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +170 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +129 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +153 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +9 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +18 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +62 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +65 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +53 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +6 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +59 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +21 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +60 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +14 -63
- 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 +67 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +19 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +39 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +14 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +77 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +46 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +27 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +34 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +7 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +23 -28
- 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 +17 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +41 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +15 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +72 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +94 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +29 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +9 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +10 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +76 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +43 -9
- 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 +255 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +30 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +9 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +117 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +16 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +67 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +67 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +1 -1
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +28 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +23 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +38 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +31 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +4 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +126 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +30 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +85 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +23 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +105 -85
- 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 +110 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +67 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +64 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +38 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +8 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +19 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +5 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +17 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +21 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +16 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +32 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +10 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +93 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +31 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +23 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +33 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +23 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +7 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +42 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +15 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +53 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +35 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +65 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +43 -36
- 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 +26 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +29 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +67 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +57 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +40 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +18 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +49 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +40 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +44 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +71 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +81 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +51 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +50 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +52 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +29 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +56 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +71 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +20 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +82 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +39 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +93 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +15 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +74 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +19 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +9 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +32 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +43 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +36 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +16 -9
- 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 +18 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +49 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +56 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +29 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +8 -8
- 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 +8 -8
- 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 +10 -10
- 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 +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/expectedApiNotFound.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/interceptor.js +38 -33
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +26 -26
- package/package.json +1 -1
|
@@ -1,16 +1,75 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
function
|
|
11
|
-
|
|
1
|
+
import { jsx as t, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as n } from "./index100.js";
|
|
3
|
+
import * as a from "@radix-ui/react-select";
|
|
4
|
+
import { ChevronDownIcon as i, CheckIcon as w, ChevronUpIcon as d } from "lucide-react";
|
|
5
|
+
function g({
|
|
6
|
+
...e
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ t(a.Root, { "data-slot": "select", ...e });
|
|
9
|
+
}
|
|
10
|
+
function h({
|
|
11
|
+
...e
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ t(a.Value, { "data-slot": "select-value", ...e });
|
|
14
|
+
}
|
|
15
|
+
function v({
|
|
16
|
+
className: e,
|
|
17
|
+
size: s = "default",
|
|
18
|
+
children: o,
|
|
19
|
+
...r
|
|
20
|
+
}) {
|
|
21
|
+
return /* @__PURE__ */ l(a.Trigger, { "data-slot": "select-trigger", "data-size": s, className: n("ttw:border-input ttw:data-[placeholder]:text-muted-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:dark:bg-input/30 ttw:dark:hover:bg-input/50 ttw:flex ttw:w-fit ttw:items-center ttw:justify-between ttw:gap-2 ttw:rounded-md ttw:border ttw:bg-transparent ttw:px-3 ttw:py-2 ttw:text-sm ttw:whitespace-nowrap ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:data-[size=default]:h-9 ttw:data-[size=sm]:h-8 ttw:*:data-[slot=select-value]:line-clamp-1 ttw:*:data-[slot=select-value]:flex ttw:*:data-[slot=select-value]:min-w-0 ttw:*:data-[slot=select-value]:flex-1 ttw:*:data-[slot=select-value]:items-center ttw:*:data-[slot=select-value]:gap-2 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", e), ...r, children: [
|
|
22
|
+
o,
|
|
23
|
+
/* @__PURE__ */ t(a.Icon, { asChild: !0, children: /* @__PURE__ */ t(i, { className: "ttw:size-4 ttw:opacity-50" }) })
|
|
24
|
+
] });
|
|
25
|
+
}
|
|
26
|
+
function x({
|
|
27
|
+
className: e,
|
|
28
|
+
children: s,
|
|
29
|
+
position: o = "popper",
|
|
30
|
+
...r
|
|
31
|
+
}) {
|
|
32
|
+
return /* @__PURE__ */ t(a.Portal, { children: /* @__PURE__ */ l(a.Content, { "data-slot": "select-content", className: n("ttw:bg-popover ttw:text-popover-foreground ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:relative ttw:z-1300 ttw:max-h-(--radix-select-content-available-height) ttw:min-w-[8rem] ttw:origin-(--radix-select-content-transform-origin) ttw:overflow-x-hidden ttw:overflow-y-auto ttw:rounded-md ttw:border-none ttw:shadow-md", o === "popper" && "ttw:data-[side=bottom]:translate-y-1 ttw:data-[side=left]:-translate-x-1 ttw:data-[side=right]:translate-x-1 ttw:data-[side=top]:-translate-y-1", e), position: o, ...r, children: [
|
|
33
|
+
/* @__PURE__ */ t(c, {}),
|
|
34
|
+
/* @__PURE__ */ t(a.Viewport, { className: n("ttw:p-1", o === "popper" && "ttw:h-[var(--radix-select-trigger-height)] ttw:w-full ttw:min-w-[var(--radix-select-trigger-width)] ttw:scroll-my-1"), children: s }),
|
|
35
|
+
/* @__PURE__ */ t(u, {})
|
|
36
|
+
] }) });
|
|
37
|
+
}
|
|
38
|
+
function b({
|
|
39
|
+
className: e,
|
|
40
|
+
children: s,
|
|
41
|
+
...o
|
|
42
|
+
}) {
|
|
43
|
+
return /* @__PURE__ */ l(a.Item, { "data-slot": "select-item", className: n("ttw:focus:bg-accent ttw:focus:text-accent-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:relative ttw:flex ttw:w-full ttw:cursor-default ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:py-1.5 ttw:pr-8 ttw:pl-2 ttw:text-sm ttw:outline-hidden ttw:select-none ttw:data-[disabled]:pointer-events-none ttw:data-[disabled]:opacity-50 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4 ttw:*:[span]:last:flex ttw:*:[span]:last:min-w-0 ttw:*:[span]:last:flex-1 ttw:*:[span]:last:items-center ttw:*:[span]:last:gap-2", e), ...o, children: [
|
|
44
|
+
/* @__PURE__ */ t("span", { className: "ttw:absolute ttw:right-2 ttw:flex ttw:size-3.5 ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(a.ItemIndicator, { children: /* @__PURE__ */ t(w, { className: "ttw:size-4" }) }) }),
|
|
45
|
+
/* @__PURE__ */ t(a.ItemText, { children: s })
|
|
46
|
+
] });
|
|
47
|
+
}
|
|
48
|
+
function N({
|
|
49
|
+
className: e,
|
|
50
|
+
...s
|
|
51
|
+
}) {
|
|
52
|
+
return /* @__PURE__ */ t(a.Separator, { "data-slot": "select-separator", className: n("ttw:bg-border ttw:pointer-events-none ttw:-mx-1 ttw:my-1 ttw:h-px", e), ...s });
|
|
53
|
+
}
|
|
54
|
+
function c({
|
|
55
|
+
className: e,
|
|
56
|
+
...s
|
|
57
|
+
}) {
|
|
58
|
+
return /* @__PURE__ */ t(a.ScrollUpButton, { "data-slot": "select-scroll-up-button", className: n("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e), ...s, children: /* @__PURE__ */ t(d, { className: "ttw:size-4" }) });
|
|
59
|
+
}
|
|
60
|
+
function u({
|
|
61
|
+
className: e,
|
|
62
|
+
...s
|
|
63
|
+
}) {
|
|
64
|
+
return /* @__PURE__ */ t(a.ScrollDownButton, { "data-slot": "select-scroll-down-button", className: n("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e), ...s, children: /* @__PURE__ */ t(i, { className: "ttw:size-4" }) });
|
|
12
65
|
}
|
|
13
66
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
67
|
+
g as Select,
|
|
68
|
+
x as SelectContent,
|
|
69
|
+
b as SelectItem,
|
|
70
|
+
u as SelectScrollDownButton,
|
|
71
|
+
c as SelectScrollUpButton,
|
|
72
|
+
N as SelectSeparator,
|
|
73
|
+
v as SelectTrigger,
|
|
74
|
+
h as SelectValue
|
|
16
75
|
};
|
|
@@ -1,82 +1,98 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
1
|
+
import { jsxs as n, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useForm as y, Controller as i } from "react-hook-form";
|
|
3
|
+
import { prepareBankAccountCreatePayload as k } from "./index415.js";
|
|
3
4
|
import "date-fns";
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
import { getCreateBankAccountSchema as x } from "./index158.js";
|
|
6
|
+
import { safeZodResolver as C } from "./index264.js";
|
|
7
|
+
import { useLingui as S } from "@lingui/react";
|
|
8
|
+
import { Field as d, FieldContent as c, FieldLabel as m, FieldError as u } from "./index218.js";
|
|
9
|
+
import { Input as s } from "./index119.js";
|
|
10
|
+
import { Typography as h } from "./index85.js";
|
|
11
|
+
import { useCreateEntityBankAccount as F } from "./index416.js";
|
|
12
|
+
import { Button as p } from "./index84.js";
|
|
13
|
+
const J = ({
|
|
14
|
+
bankAccountsLength: b,
|
|
15
|
+
onCreate: _,
|
|
16
|
+
onCancel: f
|
|
13
17
|
}) => {
|
|
14
18
|
const {
|
|
15
|
-
i18n:
|
|
16
|
-
} =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} =
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
Promise.all([i.finops.getTags.invalidateQueries(o), i.finops.getTagsId.invalidateQueries({
|
|
32
|
-
parameters: {
|
|
33
|
-
path: {
|
|
34
|
-
tag_id: e.id
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}, o)]), m?.(e);
|
|
38
|
-
},
|
|
39
|
-
onError: (e) => {
|
|
40
|
-
u.error(d(n, e));
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
return {
|
|
44
|
-
tagsWithKeywords: Object.fromEntries(r.map((e) => [e.tag_id, e.keywords])),
|
|
45
|
-
inProgress: g.isPending || _.isPending,
|
|
46
|
-
createTag: (e) => g.mutateAsync({
|
|
47
|
-
...e
|
|
48
|
-
}, {
|
|
49
|
-
onSuccess: (t) => c?.(t)
|
|
50
|
-
}),
|
|
51
|
-
updateTag: (e, t) => _.mutateAsync({
|
|
52
|
-
path: {
|
|
53
|
-
tag_id: e
|
|
54
|
-
},
|
|
55
|
-
body: t
|
|
56
|
-
}),
|
|
57
|
-
updateOcrAutoTagging: (e, t = []) => {
|
|
58
|
-
const s = r.filter((y) => y.tag_id !== e);
|
|
59
|
-
if (s.length === r.length && !t.length)
|
|
60
|
-
return;
|
|
61
|
-
const p = t.length ? [...s, {
|
|
62
|
-
tag_id: e,
|
|
63
|
-
keywords: [...new Set(t)],
|
|
64
|
-
enabled: !0
|
|
65
|
-
}] : s;
|
|
66
|
-
p.length && f({
|
|
67
|
-
tax_mode: a.tax_mode,
|
|
68
|
-
payment_priority: a.payment_priority,
|
|
69
|
-
quote_signature_required: a.quote_signature_required,
|
|
70
|
-
receivable_edit_flow: a.receivable_edit_flow,
|
|
71
|
-
allow_purchase_order_autolinking: a.allow_purchase_order_autolinking,
|
|
72
|
-
generate_paid_invoice_pdf: a.generate_paid_invoice_pdf,
|
|
73
|
-
payables_ocr_auto_tagging: p,
|
|
74
|
-
payables_skip_approval_flow: a.payables_skip_approval_flow,
|
|
75
|
-
tax_inclusive_discount_mode: a.tax_inclusive_discount_mode
|
|
76
|
-
});
|
|
19
|
+
i18n: a
|
|
20
|
+
} = S(), {
|
|
21
|
+
mutate: v,
|
|
22
|
+
isPending: o
|
|
23
|
+
} = F(_), {
|
|
24
|
+
control: l,
|
|
25
|
+
handleSubmit: g
|
|
26
|
+
} = y({
|
|
27
|
+
mode: "onSubmit",
|
|
28
|
+
reValidateMode: "onSubmit",
|
|
29
|
+
resolver: C(x(a)),
|
|
30
|
+
defaultValues: {
|
|
31
|
+
display_name: "",
|
|
32
|
+
account_holder_name: "",
|
|
33
|
+
account_number: "",
|
|
34
|
+
routing_number: ""
|
|
77
35
|
}
|
|
36
|
+
}), w = (t) => {
|
|
37
|
+
v({
|
|
38
|
+
body: k(t)
|
|
39
|
+
});
|
|
78
40
|
};
|
|
41
|
+
return /* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:p-3 ttw:gap-4 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
42
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: /* @__PURE__ */ e(h, { variant: "body2", children: a._("Add a bank account") }) }),
|
|
43
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
44
|
+
/* @__PURE__ */ e(i, { name: "routing_number", control: l, render: ({
|
|
45
|
+
field: t,
|
|
46
|
+
fieldState: {
|
|
47
|
+
error: r
|
|
48
|
+
}
|
|
49
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ n(c, { children: [
|
|
50
|
+
/* @__PURE__ */ e(m, { htmlFor: "routing_number", children: a._("Routing number") }),
|
|
51
|
+
/* @__PURE__ */ e(s, { ...t, id: "routing_number", placeholder: a._("e.g. 123456789"), value: t.value ?? "", disabled: o, "aria-invalid": !!r }),
|
|
52
|
+
/* @__PURE__ */ e(u, { errors: r ? [r] : [] })
|
|
53
|
+
] }) }) }),
|
|
54
|
+
/* @__PURE__ */ e(i, { name: "account_number", control: l, render: ({
|
|
55
|
+
field: t,
|
|
56
|
+
fieldState: {
|
|
57
|
+
error: r
|
|
58
|
+
}
|
|
59
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ n(c, { children: [
|
|
60
|
+
/* @__PURE__ */ e(m, { htmlFor: "account_number", children: a._("Account number") }),
|
|
61
|
+
/* @__PURE__ */ e(s, { ...t, id: "account_number", placeholder: a._("e.g. 123456789"), value: t.value ?? "", disabled: o, "aria-invalid": !!r }),
|
|
62
|
+
/* @__PURE__ */ e(u, { errors: r ? [r] : [] })
|
|
63
|
+
] }) }) })
|
|
64
|
+
] }),
|
|
65
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
66
|
+
/* @__PURE__ */ e(i, { name: "account_holder_name", control: l, render: ({
|
|
67
|
+
field: t,
|
|
68
|
+
fieldState: {
|
|
69
|
+
error: r
|
|
70
|
+
}
|
|
71
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ n(c, { children: [
|
|
72
|
+
/* @__PURE__ */ e(m, { htmlFor: "account_holder_name", children: a._("Account holder name") }),
|
|
73
|
+
/* @__PURE__ */ e(s, { ...t, id: "account_holder_name", placeholder: a._("e.g. James Smith"), value: t.value ?? "", disabled: o, "aria-invalid": !!r }),
|
|
74
|
+
/* @__PURE__ */ e(u, { errors: r ? [r] : [] })
|
|
75
|
+
] }) }) }),
|
|
76
|
+
/* @__PURE__ */ e(i, { name: "display_name", control: l, render: ({
|
|
77
|
+
field: t,
|
|
78
|
+
fieldState: {
|
|
79
|
+
error: r
|
|
80
|
+
}
|
|
81
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ n(c, { children: [
|
|
82
|
+
/* @__PURE__ */ n(m, { htmlFor: "display_name", className: "ttw:gap-1", children: [
|
|
83
|
+
a._("Account nickname"),
|
|
84
|
+
/* @__PURE__ */ e(h, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: a._("(optional)") })
|
|
85
|
+
] }),
|
|
86
|
+
/* @__PURE__ */ e(s, { ...t, id: "display_name", placeholder: a._("e.g. Empire Bank Checking"), value: t.value ?? "", disabled: o, "aria-invalid": !!r }),
|
|
87
|
+
/* @__PURE__ */ e(u, { errors: r ? [r] : [] })
|
|
88
|
+
] }) }) })
|
|
89
|
+
] }),
|
|
90
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
91
|
+
b !== 0 && /* @__PURE__ */ e(p, { type: "button", variant: "outline", className: "ttw:border-border", disabled: o, onClick: f, children: a._("Cancel") }),
|
|
92
|
+
/* @__PURE__ */ e(p, { type: "button", disabled: o, onClick: g(w), children: a._("Save account") })
|
|
93
|
+
] })
|
|
94
|
+
] });
|
|
79
95
|
};
|
|
80
96
|
export {
|
|
81
|
-
|
|
97
|
+
J as BankAccountSectionForm
|
|
82
98
|
};
|
|
@@ -1,79 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}), s = t(r.name, o);
|
|
17
|
-
if (!r)
|
|
18
|
-
throw new Error("useFormField should be used within <FormField>");
|
|
19
|
-
const {
|
|
20
|
-
id: n
|
|
21
|
-
} = e;
|
|
22
|
-
return {
|
|
23
|
-
id: n,
|
|
24
|
-
name: r.name,
|
|
25
|
-
formItemId: `${n}-form-item`,
|
|
26
|
-
formDescriptionId: `${n}-form-item-description`,
|
|
27
|
-
formMessageId: `${n}-form-item-message`,
|
|
28
|
-
...s
|
|
29
|
-
};
|
|
30
|
-
}, c = a.createContext({});
|
|
31
|
-
function N({
|
|
32
|
-
className: r,
|
|
33
|
-
...e
|
|
34
|
-
}) {
|
|
35
|
-
const t = a.useId();
|
|
36
|
-
return /* @__PURE__ */ m(c.Provider, { value: {
|
|
37
|
-
id: t
|
|
38
|
-
}, children: /* @__PURE__ */ m("div", { "data-slot": "form-item", className: i("ttw:grid ttw:gap-2", r), ...e }) });
|
|
39
|
-
}
|
|
40
|
-
function M({
|
|
41
|
-
className: r,
|
|
42
|
-
...e
|
|
43
|
-
}) {
|
|
44
|
-
const {
|
|
45
|
-
error: t,
|
|
46
|
-
formItemId: o
|
|
47
|
-
} = d();
|
|
48
|
-
return /* @__PURE__ */ m(p, { "data-slot": "form-label", "data-error": !!t, className: i("ttw:data-[error=true]:text-destructive", r), htmlFor: o, ...e });
|
|
49
|
-
}
|
|
50
|
-
function S({
|
|
51
|
-
...r
|
|
52
|
-
}) {
|
|
53
|
-
const {
|
|
54
|
-
error: e,
|
|
55
|
-
formItemId: t,
|
|
56
|
-
formDescriptionId: o,
|
|
57
|
-
formMessageId: s
|
|
58
|
-
} = d();
|
|
59
|
-
return /* @__PURE__ */ m(g, { "data-slot": "form-control", id: t, "aria-describedby": e ? `${o} ${s}` : `${o}`, "aria-invalid": !!e, ...r });
|
|
60
|
-
}
|
|
61
|
-
function P({
|
|
62
|
-
className: r,
|
|
63
|
-
...e
|
|
64
|
-
}) {
|
|
65
|
-
const {
|
|
66
|
-
error: t,
|
|
67
|
-
formMessageId: o
|
|
68
|
-
} = d(), s = t ? String(t?.message ?? "") : e.children;
|
|
69
|
-
return s ? /* @__PURE__ */ m("p", { "data-slot": "form-message", id: o, className: i("ttw:text-destructive ttw:text-sm", r), ...e, children: s }) : null;
|
|
70
|
-
}
|
|
1
|
+
const t = (e, n, a) => {
|
|
2
|
+
switch (e) {
|
|
3
|
+
case "INTERNAL":
|
|
4
|
+
return n ? a._("Powered by {embeddedBankName}", {
|
|
5
|
+
embeddedBankName: n
|
|
6
|
+
}) : null;
|
|
7
|
+
case "EXTERNAL":
|
|
8
|
+
return a._("Linked account");
|
|
9
|
+
default:
|
|
10
|
+
return null;
|
|
11
|
+
}
|
|
12
|
+
}, c = (e, n) => {
|
|
13
|
+
const a = e.account_number?.slice(-4) ?? e.account_number_last4;
|
|
14
|
+
return [e.display_name || n._("Bank Account"), a].filter(Boolean).join(" - ");
|
|
15
|
+
};
|
|
71
16
|
export {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
C as FormField,
|
|
75
|
-
N as FormItem,
|
|
76
|
-
M as FormLabel,
|
|
77
|
-
P as FormMessage,
|
|
78
|
-
d as useFormField
|
|
17
|
+
c as getLineLabel,
|
|
18
|
+
t as getSourceLabel
|
|
79
19
|
};
|
|
@@ -1,46 +1,87 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { jsx as t, jsxs as u } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as S, useMemo as p } from "react";
|
|
3
|
+
import { useFormContext as $, Controller as E } from "react-hook-form";
|
|
4
|
+
import { getCounterpartEmail as V, getCounterpartName as I } from "./index7.js";
|
|
5
|
+
import { useRootElements as j } from "./index92.js";
|
|
6
|
+
import "./index57.js";
|
|
7
|
+
import { useCounterpartList as k } from "./index71.js";
|
|
8
|
+
import "react-hot-toast";
|
|
9
|
+
import { useLingui as z } from "@lingui/react";
|
|
10
|
+
import { Combobox as D, ComboboxInput as A, ComboboxContent as q, ComboboxList as B, ComboboxEmpty as G, ComboboxItem as K } from "./index90.js";
|
|
11
|
+
import { Field as M, FieldContent as O, FieldLabel as P, FieldDescription as R, FieldError as T } from "./index218.js";
|
|
12
|
+
import { InputGroupAddon as H } from "./index101.js";
|
|
13
|
+
import { Loader2 as J, Search as Q } from "lucide-react";
|
|
14
|
+
const me = ({
|
|
15
|
+
disabled: _,
|
|
16
|
+
canCreateCounterpart: i = !0
|
|
13
17
|
}) => {
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
const {
|
|
19
|
+
i18n: o
|
|
20
|
+
} = z(), {
|
|
21
|
+
root: g
|
|
22
|
+
} = j(), {
|
|
23
|
+
control: x,
|
|
24
|
+
setValue: s,
|
|
25
|
+
watch: v,
|
|
26
|
+
clearErrors: f
|
|
27
|
+
} = $(), {
|
|
28
|
+
data: d,
|
|
29
|
+
isLoading: L
|
|
30
|
+
} = k({
|
|
31
|
+
query: {
|
|
32
|
+
is_customer: !0
|
|
19
33
|
}
|
|
20
|
-
}, [
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
34
|
+
}), [h, C] = S(!1), m = v("counterpart_name") ?? "", c = p(() => d ? d.data.map((e) => ({
|
|
35
|
+
id: e.id,
|
|
36
|
+
name: I(e),
|
|
37
|
+
email: V(e)
|
|
38
|
+
})) : [], [d]), a = p(() => {
|
|
39
|
+
const e = m.toLowerCase().trim();
|
|
40
|
+
return e ? c.filter((n) => n.name.toLowerCase().includes(e) || n.email.toLowerCase().includes(e)) : c;
|
|
41
|
+
}, [c, m]), y = p(() => a.map((e) => e.id), [a]);
|
|
42
|
+
return /* @__PURE__ */ t(E, { name: "counterpart_id", control: x, render: ({
|
|
43
|
+
field: e,
|
|
44
|
+
fieldState: {
|
|
45
|
+
error: n
|
|
25
46
|
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
47
|
+
}) => {
|
|
48
|
+
const w = (r) => {
|
|
49
|
+
s("counterpart_name", ""), s("counterpart_email", ""), f(["counterpart_id", "counterpart_email"]), e.onChange(r ?? "");
|
|
50
|
+
}, N = (r, l) => {
|
|
51
|
+
if (l.reason !== "input-change") {
|
|
52
|
+
i || s("counterpart_name", "");
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
s("counterpart_name", r), e.value && e.onChange(""), i && r.trim() && f("counterpart_id");
|
|
56
|
+
};
|
|
57
|
+
return /* @__PURE__ */ t(M, { children: /* @__PURE__ */ u(O, { children: [
|
|
58
|
+
/* @__PURE__ */ t(P, { htmlFor: "counterpart_id", children: o._("Name") }),
|
|
59
|
+
/* @__PURE__ */ u(D, { value: e.value || null, onValueChange: w, inputValue: m, onInputValueChange: N, items: y, filter: () => !0, disabled: _, open: h, onOpenChange: C, children: [
|
|
60
|
+
/* @__PURE__ */ t(A, { id: "counterpart_id", placeholder: i ? o._("Search or type to add a customer") : o._("Search for a customer"), "aria-invalid": !!n, onKeyDown: (r) => {
|
|
61
|
+
if (r.key === "Enter") {
|
|
62
|
+
r.preventDefault();
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
if (r.key === "Tab" && h) {
|
|
66
|
+
const l = m.toLowerCase().trim();
|
|
67
|
+
if (!l) return;
|
|
68
|
+
const b = a.find((F) => F.name.toLowerCase() === l) ?? (a.length === 1 ? a[0] : void 0);
|
|
69
|
+
b && (w(b.id), C(!1));
|
|
70
|
+
}
|
|
71
|
+
}, children: /* @__PURE__ */ t(H, { align: "inline-start", children: L ? /* @__PURE__ */ t(J, { className: "ttw:size-4 ttw:animate-spin ttw:text-muted-foreground" }) : /* @__PURE__ */ t(Q, { className: "ttw:size-4 ttw:text-muted-foreground" }) }) }),
|
|
72
|
+
/* @__PURE__ */ t(q, { container: g, children: /* @__PURE__ */ u(B, { children: [
|
|
73
|
+
/* @__PURE__ */ t(G, { children: i ? o._("No customers found - type to add a customer") : o._("No customers found") }),
|
|
74
|
+
a.map((r) => /* @__PURE__ */ t(K, { value: r.id, children: /* @__PURE__ */ u("div", { className: "ttw:flex ttw:w-full ttw:items-center ttw:justify-between ttw:gap-2", children: [
|
|
75
|
+
/* @__PURE__ */ t("span", { children: r.name }),
|
|
76
|
+
/* @__PURE__ */ t("span", { className: "ttw:text-muted-foreground", children: r.email })
|
|
77
|
+
] }) }, r.id))
|
|
78
|
+
] }) })
|
|
79
|
+
] }),
|
|
80
|
+
/* @__PURE__ */ t(R, { children: i ? o._("Search by customer name or email. New customers will be saved when saving the invoice.") : o._("Search by customer name or email.") }),
|
|
81
|
+
/* @__PURE__ */ t(T, { errors: n ? [n] : [] })
|
|
82
|
+
] }) });
|
|
83
|
+
} });
|
|
42
84
|
};
|
|
43
|
-
g.displayName = "InputTags";
|
|
44
85
|
export {
|
|
45
|
-
|
|
86
|
+
me as CounterpartSelector
|
|
46
87
|
};
|
|
@@ -1,67 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
":not(.MuiCollapse-hidden)": {
|
|
17
|
-
marginBottom: 1
|
|
18
|
-
}
|
|
19
|
-
}, children: /* @__PURE__ */ g(j, { severity: "error", sx: {
|
|
20
|
-
"& .MuiAlert-icon": {
|
|
21
|
-
alignItems: "center"
|
|
22
|
-
}
|
|
23
|
-
}, children: [
|
|
24
|
-
e && /* @__PURE__ */ a("div", { children: e }),
|
|
25
|
-
t && /* @__PURE__ */ a(v, { dense: !0, disablePadding: !0, sx: {
|
|
26
|
-
mt: e ? 1 : 0
|
|
27
|
-
}, children: Object.entries(n).map(([r, s]) => s ? /* @__PURE__ */ a(L, { disablePadding: !0, children: /* @__PURE__ */ a(A, { primary: s, primaryTypographyProps: {
|
|
28
|
-
sx: {
|
|
29
|
-
color: "inherit"
|
|
30
|
-
}
|
|
31
|
-
} }) }, r) : null) })
|
|
32
|
-
] }) }) : null;
|
|
33
|
-
}, C = (e) => {
|
|
34
|
-
const {
|
|
35
|
-
i18n: n
|
|
36
|
-
} = E(), t = o(() => Array.isArray(e) ? e : e ? [e] : [], [e]), r = x((i) => {
|
|
37
|
-
for (let u = 0; u < t.length; u++) {
|
|
38
|
-
const f = t[u];
|
|
39
|
-
if (typeof f == "object") {
|
|
40
|
-
const h = b(f, i);
|
|
41
|
-
if (h)
|
|
42
|
-
return h;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
return null;
|
|
46
|
-
}, [t]), s = o(() => r("product.name") ?? r("name"), [r]), l = o(() => r("quantity"), [r]), m = o(() => r("price") ?? r("product.price.value") ?? r("product.price.currency"), [r]), c = o(() => r("tax_rate_value"), [r]), p = o(() => r("product.measure_unit_id") ?? r("product.measure_unit_name") ?? r("measure_unit"), [r]), d = o(() => r("product.type"), [r]), y = o(() => t.length === 0 || (s || l || m || c || p || d) ? void 0 : t.some((i) => {
|
|
47
|
-
if (!i || typeof i != "object") return !1;
|
|
48
|
-
const u = Object.keys(i);
|
|
49
|
-
return u.length > 0 && u.some((f) => i[f] != null);
|
|
50
|
-
}) ? n._("Please check the form for errors") : void 0, [t, s, l, m, c, p, d, n]);
|
|
51
|
-
return {
|
|
52
|
-
generalError: y,
|
|
53
|
-
fieldErrors: {
|
|
54
|
-
name: s,
|
|
55
|
-
quantity: l,
|
|
56
|
-
price: m,
|
|
57
|
-
tax: c,
|
|
58
|
-
measureUnit: p,
|
|
59
|
-
productType: d
|
|
60
|
-
},
|
|
61
|
-
hasErrors: !!(y || s || l || m || c || p || d)
|
|
62
|
-
};
|
|
63
|
-
};
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as l } from "./index100.js";
|
|
3
|
+
import * as r from "@radix-ui/react-avatar";
|
|
4
|
+
function n({
|
|
5
|
+
className: t,
|
|
6
|
+
...a
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(r.Root, { "data-slot": "avatar", className: l("ttw:relative ttw:flex ttw:size-8 ttw:shrink-0 ttw:overflow-hidden ttw:rounded-full", t), ...a });
|
|
9
|
+
}
|
|
10
|
+
function f({
|
|
11
|
+
className: t,
|
|
12
|
+
...a
|
|
13
|
+
}) {
|
|
14
|
+
return /* @__PURE__ */ e(r.Fallback, { "data-slot": "avatar-fallback", className: l("ttw:bg-muted ttw:flex ttw:size-full ttw:items-center ttw:justify-center ttw:rounded-full", t), ...a });
|
|
15
|
+
}
|
|
64
16
|
export {
|
|
65
|
-
|
|
66
|
-
|
|
17
|
+
n as Avatar,
|
|
18
|
+
f as AvatarFallback
|
|
67
19
|
};
|