@tesouro/embedded-components-react 0.2.21 → 0.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/ReceivablesWidget.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +12 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +23 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +35 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +23 -1269
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +1270 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +32 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +60 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +398 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +69 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +406 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +101 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +6 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +9 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +214 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +12 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +57 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +76 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +6 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +32 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +29 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +12 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +25 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +12 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +115 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +7 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +10 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +46 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +49 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +13 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +45 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +15 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +11 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +151 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +24 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +55 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +70 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +28 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +3 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +59 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +36 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +82 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +5 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +25 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +89 -243
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +96 -178
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +12 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +12 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +23 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +10 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +17 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +16 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +2 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +12 -48
- 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 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +19 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +27 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +116 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +70 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +11 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +12 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +43 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +75 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +56 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +195 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +23 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +80 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +29 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +41 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +7 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +240 -360
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +179 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +114 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +85 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +106 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +105 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +55 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +61 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +88 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +46 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +37 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +114 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +68 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +185 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +31 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +114 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +55 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +29 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +20 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +13 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +12 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +4 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +5 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +7 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +370 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +22 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +18 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +13 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +88 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +96 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +7 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +32 -141
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +47 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +25 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +5 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +74 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +32 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +20 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +146 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +86 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +21 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +183 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +18 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +62 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +155 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +27 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +28 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +76 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +42 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +62 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +29 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +113 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +21 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +44 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +54 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +20 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +16 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +17 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +168 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +134 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +54 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +162 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +11 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +19 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +63 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +65 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +58 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +4 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +9 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +59 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +21 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +60 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +14 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +486 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +159 -336
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +39 -301
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +339 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +298 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +99 -263
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +160 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +264 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +18 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +63 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +42 -190
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +25 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +187 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +106 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +81 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +284 -165
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +44 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +15 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +84 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +220 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +35 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +12 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +22 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +55 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +28 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +56 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +18 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +45 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +40 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +30 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +8 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +100 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +19 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +30 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +32 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +55 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +19 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +20 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +23 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +36 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +52 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +92 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +46 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +39 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +17 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +61 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +12 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +92 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +121 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +36 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +10 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +38 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +41 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +149 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +45 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +50 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +72 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +97 -175
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +14 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +77 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +75 -288
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +42 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +38 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +2 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +93 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +94 -488
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +182 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +10 -149
- 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 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +44 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +25 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +127 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +64 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +14 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +18 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +27 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +42 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +59 -31
- 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 +90 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +110 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +88 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +34 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +342 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +2 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +34 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +37 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +15 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +17 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +28 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +11 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +255 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +4 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +16 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +14 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +48 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +11 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +114 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +18 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +14 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +16 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +71 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +94 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +29 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +69 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +67 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +39 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +66 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +12 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +67 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +32 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +85 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +22 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +104 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +112 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +26 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +23 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +37 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +9 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +35 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +74 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +97 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +35 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +38 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +55 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +12 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +9 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +16 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +14 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +21 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +26 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +38 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +32 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +4 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +127 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +65 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +43 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +27 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +32 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +53 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +34 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +24 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +20 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +14 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +39 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +29 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +94 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +74 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +21 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +9 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +53 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +68 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +21 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +52 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +38 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +47 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +69 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +83 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +55 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +52 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +53 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +54 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +52 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +19 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +50 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +59 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +29 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +29 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +17 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +81 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +41 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +35 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +13 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +64 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +37 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +35 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +17 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +48 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +26 -26
- package/package.json +1 -1
|
@@ -1,78 +1,58 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
customer: "ttw:w-64"
|
|
1
|
+
import { jsxs as m, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as c } from "react";
|
|
3
|
+
import { Button as f } from "./index86.js";
|
|
4
|
+
import { cn as l } from "./index102.js";
|
|
5
|
+
import { cva as g } from "class-variance-authority";
|
|
6
|
+
import { X as p } from "lucide-react";
|
|
7
|
+
const u = g("ttw:relative ttw:w-full ttw:rounded-lg ttw:pl-4 ttw:pt-3 ttw:pr-3 ttw:pb-4 ttw:flex ttw:items-start ttw:gap-4", {
|
|
8
|
+
variants: {
|
|
9
|
+
variant: {
|
|
10
|
+
default: "ttw:bg-background ttw:text-foreground",
|
|
11
|
+
info: "ttw:bg-blue-50 ttw:text-blue-900 ttw:dark:bg-blue-950 ttw:dark:text-blue-100",
|
|
12
|
+
warning: "ttw:bg-yellow-50 ttw:text-yellow-900 ttw:dark:bg-yellow-950 ttw:dark:text-yellow-100",
|
|
13
|
+
error: "ttw:bg-red-50 ttw:text-red-900 ttw:dark:bg-red-950 ttw:dark:text-red-100",
|
|
14
|
+
success: "ttw:bg-green-50 ttw:text-green-900 ttw:dark:bg-green-950 ttw:dark:text-green-100"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
defaultVariants: {
|
|
18
|
+
variant: "default"
|
|
19
|
+
}
|
|
20
|
+
}), b = ({
|
|
21
|
+
className: r,
|
|
22
|
+
variant: a,
|
|
23
|
+
icon: t,
|
|
24
|
+
children: w,
|
|
25
|
+
ref: n,
|
|
26
|
+
onClose: s,
|
|
27
|
+
...i
|
|
28
|
+
}) => {
|
|
29
|
+
const [o, d] = c(!1);
|
|
30
|
+
return o ? null : /* @__PURE__ */ m("div", { ref: n, role: "alert", className: l(u({
|
|
31
|
+
variant: a
|
|
32
|
+
}), r), ...i, children: [
|
|
33
|
+
t && /* @__PURE__ */ e("div", { className: "ttw:shrink-0 ttw:h-8 ttw:w-8 ttw:mt-1", children: t }),
|
|
34
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex-1", children: w }),
|
|
35
|
+
/* @__PURE__ */ e(f, { variant: "ghost", size: "icon", className: "ttw:h-8 ttw:w-8 ttw:rounded-md ttw:bg-transparent ttw:opacity-70 ttw:hover:opacity-100", onClick: () => {
|
|
36
|
+
s && s(), d(!0);
|
|
37
|
+
}, "aria-label": "Close alert", children: /* @__PURE__ */ e(p, {}) })
|
|
38
|
+
] });
|
|
40
39
|
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
/* @__PURE__ */ n(x, { asChild: !0, children: /* @__PURE__ */ n(P, { activeCount: t.activeFilterCount, onClick: a.toggleMenu }) }),
|
|
55
|
-
/* @__PURE__ */ o(b, { align: "start", className: `ttw:p-0 ${d}`, children: [
|
|
56
|
-
a.isMenuOpen && /* @__PURE__ */ n("div", { className: "ttw:p-1", children: s.map((e) => /* @__PURE__ */ o("button", { type: "button", className: "ttw:flex ttw:items-center ttw:gap-2 ttw:w-full ttw:px-2 ttw:py-1.5 ttw:rounded-md ttw:text-xs ttw:font-medium ttw:hover:bg-accent ttw:transition-colors ttw:cursor-pointer", onClick: () => m(e.id), children: [
|
|
57
|
-
/* @__PURE__ */ n(p, { className: "ttw:size-4 ttw:text-muted-foreground ttw:shrink-0" }),
|
|
58
|
-
e.label
|
|
59
|
-
] }, e.id)) }),
|
|
60
|
-
s.filter((e) => e.field !== void 0).map((e) => a.activePanelId === e.id && e.field && /* @__PURE__ */ n(_, { from: t.activeDateFields[e.field]?.from, to: t.activeDateFields[e.field]?.to, onRangeChange: (l) => t.onDateFieldRangeChange(e.field, l), selectedPreset: t.activeDateFields[e.field]?.preset, onPresetChange: (l) => t.onDateFieldPresetChange(e.field, l), presets: u, fieldLabel: I[e.field] }, e.id)),
|
|
61
|
-
a.activePanelId === "status" && /* @__PURE__ */ n(F, { options: t.statusOptions, selectedValues: t.selectedStatus, onSelectionChange: t.onStatusChange }),
|
|
62
|
-
a.activePanelId === "amount" && /* @__PURE__ */ n(S, { mode: t.amountMode, onModeChange: t.onAmountModeChange, min: t.amountMin, max: t.amountMax, onMinChange: t.onAmountMinChange, onMaxChange: t.onAmountMaxChange, showFlowDirection: !1, minLabel: "No less than", maxLabel: "No more than" }),
|
|
63
|
-
a.activePanelId === "customer" && /* @__PURE__ */ o("div", { className: "ttw:p-3 ttw:flex ttw:flex-col ttw:gap-2", children: [
|
|
64
|
-
/* @__PURE__ */ n("p", { className: "ttw:text-xs ttw:font-medium ttw:text-muted-foreground", children: "Customer name" }),
|
|
65
|
-
/* @__PURE__ */ n(M, { type: "text", value: t.customerName, onChange: (e) => t.onCustomerNameChange(e.target.value), placeholder: "Search customers...", className: "ttw:h-8 ttw:text-xs" }),
|
|
66
|
-
/* @__PURE__ */ n("p", { className: "ttw:text-xs ttw:text-muted-foreground", children: i._("Matches names containing your search") })
|
|
67
|
-
] })
|
|
68
|
-
] })
|
|
69
|
-
] }), activeChipsSlot: /* @__PURE__ */ o(w, { children: [
|
|
70
|
-
t.activeChips.map((e) => /* @__PURE__ */ n(C, { label: e.label, count: e.count, variant: "default", onLabelClick: e.key === "date" ? () => {
|
|
71
|
-
a.openPanel("date");
|
|
72
|
-
} : void 0, onDismiss: () => t.onDismissChip(e.key) }, e.key)),
|
|
73
|
-
t.activeFilterCount > 0 && /* @__PURE__ */ n("button", { type: "button", className: "ttw:text-xs ttw:text-muted-foreground ttw:hover:text-foreground ttw:transition-colors ttw:cursor-pointer ttw:whitespace-nowrap", onClick: t.onClearAll, children: "Clear all" })
|
|
74
|
-
] }) });
|
|
75
|
-
}
|
|
40
|
+
b.displayName = "Alert";
|
|
41
|
+
const x = ({
|
|
42
|
+
className: r,
|
|
43
|
+
ref: a,
|
|
44
|
+
...t
|
|
45
|
+
}) => /* @__PURE__ */ e("h3", { ref: a, className: l("ttw:mb-1 ttw:font-medium ttw:leading-none ttw:tracking-tight", r), ...t });
|
|
46
|
+
x.displayName = "AlertTitle";
|
|
47
|
+
const k = ({
|
|
48
|
+
className: r,
|
|
49
|
+
ref: a,
|
|
50
|
+
...t
|
|
51
|
+
}) => /* @__PURE__ */ e("p", { ref: a, className: l("ttw:text-sm ttw:[&_p]:leading-relaxed ttw:font-normal", r), ...t });
|
|
52
|
+
k.displayName = "AlertDescription";
|
|
76
53
|
export {
|
|
77
|
-
|
|
54
|
+
b as Alert,
|
|
55
|
+
k as AlertDescription,
|
|
56
|
+
x as AlertTitle,
|
|
57
|
+
u as alertVariants
|
|
78
58
|
};
|
|
@@ -1,60 +1,73 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
statuses: [],
|
|
44
|
-
totalCount: 0
|
|
45
|
-
}, x = f(() => new Map(r?.data?.map((t) => [t.dimension_value, t.metric_value]) ?? []), [r]);
|
|
46
|
-
if (C || h)
|
|
47
|
-
return /* @__PURE__ */ s("div", { className: "ttw:flex ttw:gap-2", children: Array.from({
|
|
48
|
-
length: 6
|
|
49
|
-
}).map((t, a) => /* @__PURE__ */ s(A, { className: "ttw:h-16.5 ttw:w-42 ttw:rounded-xl ttw:animate-pulse" }, a)) });
|
|
50
|
-
const u = (t) => {
|
|
51
|
-
w(t === "all" ? void 0 : t);
|
|
52
|
-
}, l = (t) => v(t, "USD") ?? "—";
|
|
53
|
-
return /* @__PURE__ */ _("div", { className: "ttw:flex ttw:gap-2 ttw:mb-6 ttw:overflow-x-auto ttw:[scrollbar-width:none] ttw:[&::-webkit-scrollbar]:hidden", children: [
|
|
54
|
-
/* @__PURE__ */ s(d, { isAllStatus: !0, data: n.totalCount, selected: o === null, onClick: () => u("all"), formatAmount: l, allItemsText: g._("All invoices") }),
|
|
55
|
-
[...n.statuses].sort((t, a) => (p.indexOf(t.status) + 1 || 1 / 0) - (p.indexOf(a.status) + 1 || 1 / 0)).map((t) => /* @__PURE__ */ s(d, { isAllStatus: !1, data: x.get(t.status) ?? 0, amountOfItems: t.count, selected: o === t.status, onClick: () => u(t.status), formatAmount: l, statusChip: /* @__PURE__ */ s(y, { status: t.status }) }, t.status))
|
|
1
|
+
import { jsx as l, jsxs as f } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMemo as c } from "react";
|
|
3
|
+
import { cva as w } from "class-variance-authority";
|
|
4
|
+
import { cn as o } from "./index102.js";
|
|
5
|
+
import { Label as m } from "./index359.js";
|
|
6
|
+
import "radix-ui";
|
|
7
|
+
const u = w("ttw:group/field ttw:flex ttw:w-full ttw:gap-3 ttw:data-[invalid=true]:text-destructive", {
|
|
8
|
+
variants: {
|
|
9
|
+
orientation: {
|
|
10
|
+
vertical: ["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],
|
|
11
|
+
horizontal: ["flex-row items-center", "[&>[data-slot=field-label]]:flex-auto", "has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"],
|
|
12
|
+
responsive: ["flex-col @md/field-group:flex-row @md/field-group:items-center [&>*]:w-full @md/field-group:[&>*]:w-auto [&>.sr-only]:w-auto", "@md/field-group:[&>[data-slot=field-label]]:flex-auto", "@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"]
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
defaultVariants: {
|
|
16
|
+
orientation: "vertical"
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
function N({
|
|
20
|
+
className: e,
|
|
21
|
+
orientation: t = "vertical",
|
|
22
|
+
...a
|
|
23
|
+
}) {
|
|
24
|
+
return /* @__PURE__ */ l("div", { role: "group", "data-slot": "field", "data-orientation": t, className: o(u({
|
|
25
|
+
orientation: t
|
|
26
|
+
}), e), ...a });
|
|
27
|
+
}
|
|
28
|
+
function k({
|
|
29
|
+
className: e,
|
|
30
|
+
...t
|
|
31
|
+
}) {
|
|
32
|
+
return /* @__PURE__ */ l("div", { "data-slot": "field-content", className: o("ttw:group/field-content ttw:flex ttw:flex-1 ttw:flex-col ttw:gap-1.5 ttw:leading-snug", e), ...t });
|
|
33
|
+
}
|
|
34
|
+
function y({
|
|
35
|
+
className: e,
|
|
36
|
+
required: t,
|
|
37
|
+
children: a,
|
|
38
|
+
...i
|
|
39
|
+
}) {
|
|
40
|
+
return /* @__PURE__ */ f(m, { "data-slot": "field-label", className: o("ttw:group/field-label ttw:peer/field-label ttw:flex ttw:w-fit ttw:items-center ttw:gap-2 ttw:leading-snug ttw:group-data-[disabled=true]/field:opacity-50", "ttw:has-[>[data-slot=field]]:w-full ttw:has-[>[data-slot=field]]:flex-col ttw:has-[>[data-slot=field]]:rounded-md ttw:has-[>[data-slot=field]]:border ttw:[&>*]:data-[slot=field]:p-4", "ttw:has-data-[state=checked]:border-primary ttw:has-data-[state=checked]:bg-primary/5 ttw:dark:has-data-[state=checked]:bg-primary/10", e), ...i, children: [
|
|
41
|
+
a,
|
|
42
|
+
t && /* @__PURE__ */ l("span", { "aria-hidden": "true", className: "ttw:size-2 ttw:-ml-1 ttw:block ttw:-mt-1 ttw:rounded-full ttw:bg-destructive ttw:shrink-0" })
|
|
56
43
|
] });
|
|
57
|
-
}
|
|
44
|
+
}
|
|
45
|
+
function F({
|
|
46
|
+
className: e,
|
|
47
|
+
...t
|
|
48
|
+
}) {
|
|
49
|
+
return /* @__PURE__ */ l("p", { "data-slot": "field-description", className: o("ttw:text-sm ttw:leading-normal ttw:font-normal ttw:text-muted-foreground ttw:group-has-[[data-orientation=horizontal]]/field:text-balance", "ttw:last:mt-0 ttw:nth-last-2:-mt-1 ttw:[[data-variant=legend]+&]:-mt-1.5", "ttw:[&>a]:underline ttw:[&>a]:underline-offset-4 ttw:[&>a:hover]:text-primary", e), ...t });
|
|
50
|
+
}
|
|
51
|
+
function z({
|
|
52
|
+
className: e,
|
|
53
|
+
children: t,
|
|
54
|
+
errors: a,
|
|
55
|
+
...i
|
|
56
|
+
}) {
|
|
57
|
+
const d = c(() => {
|
|
58
|
+
if (t)
|
|
59
|
+
return t;
|
|
60
|
+
if (!a?.length)
|
|
61
|
+
return null;
|
|
62
|
+
const s = [...new Map(a.map((r) => [r?.message, r])).values()];
|
|
63
|
+
return s?.length == 1 ? s[0]?.message : /* @__PURE__ */ l("ul", { className: "ttw:ml-4 ttw:flex ttw:list-disc ttw:flex-col ttw:gap-1", children: s.map((r, n) => r?.message && /* @__PURE__ */ l("li", { children: r.message }, n)) });
|
|
64
|
+
}, [t, a]);
|
|
65
|
+
return d ? /* @__PURE__ */ l("div", { role: "alert", "data-slot": "field-error", className: o("ttw:text-sm ttw:font-normal ttw:text-destructive", e), ...i, children: d }) : null;
|
|
66
|
+
}
|
|
58
67
|
export {
|
|
59
|
-
|
|
68
|
+
N as Field,
|
|
69
|
+
k as FieldContent,
|
|
70
|
+
F as FieldDescription,
|
|
71
|
+
z as FieldError,
|
|
72
|
+
y as FieldLabel
|
|
60
73
|
};
|
|
@@ -1,199 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}, {
|
|
29
|
-
value: "uncollectible",
|
|
30
|
-
label: "Uncollectible",
|
|
31
|
-
description: ""
|
|
32
|
-
}, {
|
|
33
|
-
value: "canceled",
|
|
34
|
-
label: "Canceled",
|
|
35
|
-
description: ""
|
|
36
|
-
}, {
|
|
37
|
-
value: "recurring",
|
|
38
|
-
label: "Recurring",
|
|
39
|
-
description: ""
|
|
40
|
-
}], P = ["draft", "issued", "overdue", "partially_paid", "paid", "uncollectible"], T = {
|
|
41
|
-
due_date: "Due date",
|
|
42
|
-
created_at: "Created on",
|
|
43
|
-
issue_date: "Issue date"
|
|
1
|
+
import { jsxs as l, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Select as s, SelectTrigger as o, SelectValue as c, SelectContent as m, SelectItem as i } from "./index347.js";
|
|
3
|
+
import { Input as d } from "./index120.js";
|
|
4
|
+
import { useLingui as u } from "@lingui/react";
|
|
5
|
+
import { FILTER_TYPE_SEARCH as w, FILTER_TYPE_TYPE as h } from "./index173.js";
|
|
6
|
+
const T = ({
|
|
7
|
+
onChangeFilter: r,
|
|
8
|
+
isDisabled: n
|
|
9
|
+
}) => {
|
|
10
|
+
const {
|
|
11
|
+
i18n: t
|
|
12
|
+
} = u();
|
|
13
|
+
return /* @__PURE__ */ l("div", { className: "ttw:flex ttw:justify-between ttw:items-center ttw:gap-4 ttw:px-4", children: [
|
|
14
|
+
/* @__PURE__ */ e(d, { className: "ttw:max-w-100 ttw:w-full", placeholder: t._("Search by name"), onChange: (a) => {
|
|
15
|
+
r(w, a.target.value);
|
|
16
|
+
}, disabled: n }),
|
|
17
|
+
/* @__PURE__ */ l(s, { defaultValue: "all", onValueChange: (a) => {
|
|
18
|
+
r(h, a);
|
|
19
|
+
}, children: [
|
|
20
|
+
/* @__PURE__ */ e(o, { className: "ttw:max-w-40 ttw:w-full", children: /* @__PURE__ */ e(c, {}) }),
|
|
21
|
+
/* @__PURE__ */ l(m, { children: [
|
|
22
|
+
/* @__PURE__ */ e(i, { value: "all", children: t._("All types") }),
|
|
23
|
+
/* @__PURE__ */ e(i, { value: "individual", children: t._("Individuals") }),
|
|
24
|
+
/* @__PURE__ */ e(i, { value: "organization", children: t._("Companies") })
|
|
25
|
+
] })
|
|
26
|
+
] })
|
|
27
|
+
] });
|
|
44
28
|
};
|
|
45
|
-
function _() {
|
|
46
|
-
return {
|
|
47
|
-
search: "",
|
|
48
|
-
activeDateFields: {},
|
|
49
|
-
status: [],
|
|
50
|
-
amountMode: "any",
|
|
51
|
-
amountMin: "",
|
|
52
|
-
amountMax: "",
|
|
53
|
-
customerName: ""
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
function j() {
|
|
57
|
-
const [a, i] = $(_), {
|
|
58
|
-
formatToMinorUnits: u
|
|
59
|
-
} = N(), {
|
|
60
|
-
componentSettings: f
|
|
61
|
-
} = g(), c = f.onboarding.allowedCurrencies?.[0] ?? "USD", v = l(() => {
|
|
62
|
-
const e = {};
|
|
63
|
-
for (const [t, s] of Object.entries(a.activeDateFields))
|
|
64
|
-
s?.from && (e[`${t}__gte`] = m(s.from, {
|
|
65
|
-
representation: "date"
|
|
66
|
-
})), s?.to && (e[`${t}__lte`] = m(s.to, {
|
|
67
|
-
representation: "date"
|
|
68
|
-
}));
|
|
69
|
-
if (a.status.length ? e.status__in = a.status : e.status__in = P, a.customerName && (e.counterpart_name__icontains = a.customerName), a.search && (e.search_text = a.search), a.amountMode !== "any") {
|
|
70
|
-
const t = parseFloat(a.amountMin), s = parseFloat(a.amountMax), o = (r) => u(r, c) ?? C(r, 2);
|
|
71
|
-
if (a.amountMode === "exact") {
|
|
72
|
-
if (!isNaN(t)) {
|
|
73
|
-
const r = o(t);
|
|
74
|
-
e.total_amount__gte = r, e.total_amount__lte = r;
|
|
75
|
-
}
|
|
76
|
-
} else
|
|
77
|
-
isNaN(t) || (e.total_amount__gte = o(t)), isNaN(s) || (e.total_amount__lte = o(s));
|
|
78
|
-
}
|
|
79
|
-
return e;
|
|
80
|
-
}, [a, c, u]), b = l(() => {
|
|
81
|
-
let e = 0;
|
|
82
|
-
return Object.values(a.activeDateFields).some((t) => t?.from || t?.to || t?.preset) && e++, a.status.length && e++, a.customerName && e++, a.amountMode !== "any" && e++, a.search && e++, e;
|
|
83
|
-
}, [a]), h = l(() => {
|
|
84
|
-
const e = [];
|
|
85
|
-
for (const [t, s] of Object.entries(a.activeDateFields))
|
|
86
|
-
if (s?.from || s?.to || s?.preset) {
|
|
87
|
-
const o = s.preset ? d.find((r) => r.value === s.preset)?.label ?? "Custom range" : "Custom range";
|
|
88
|
-
e.push({
|
|
89
|
-
key: `date_${t}`,
|
|
90
|
-
label: `${T[t]}: ${o}`
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
if (a.status.length) {
|
|
94
|
-
const t = a.status.map((s) => p.find((o) => o.value === s)?.label ?? s);
|
|
95
|
-
e.push({
|
|
96
|
-
key: "status",
|
|
97
|
-
label: `Status: ${y(t)}`
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
return a.customerName && e.push({
|
|
101
|
-
key: "customer",
|
|
102
|
-
label: `Customer: ${a.customerName}`
|
|
103
|
-
}), a.amountMode !== "any" && e.push({
|
|
104
|
-
key: "amount",
|
|
105
|
-
label: "Amount"
|
|
106
|
-
}), a.search && e.push({
|
|
107
|
-
key: "search",
|
|
108
|
-
label: `Search: ${a.search}`
|
|
109
|
-
}), e;
|
|
110
|
-
}, [a]), F = n((e, t) => {
|
|
111
|
-
const {
|
|
112
|
-
from: s,
|
|
113
|
-
to: o
|
|
114
|
-
} = k(t);
|
|
115
|
-
i((r) => ({
|
|
116
|
-
...r,
|
|
117
|
-
activeDateFields: {
|
|
118
|
-
...r.activeDateFields,
|
|
119
|
-
[e]: {
|
|
120
|
-
preset: t,
|
|
121
|
-
from: s,
|
|
122
|
-
to: o
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}));
|
|
126
|
-
}, []), D = n((e, t, s) => {
|
|
127
|
-
i((o) => ({
|
|
128
|
-
...o,
|
|
129
|
-
activeDateFields: {
|
|
130
|
-
...o.activeDateFields,
|
|
131
|
-
[e]: {
|
|
132
|
-
preset: void 0,
|
|
133
|
-
from: t,
|
|
134
|
-
to: s
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}));
|
|
138
|
-
}, []), S = n((e) => {
|
|
139
|
-
if (e.startsWith("date_")) {
|
|
140
|
-
const t = e.slice(5);
|
|
141
|
-
i((s) => {
|
|
142
|
-
const o = {
|
|
143
|
-
...s.activeDateFields
|
|
144
|
-
};
|
|
145
|
-
return delete o[t], {
|
|
146
|
-
...s,
|
|
147
|
-
activeDateFields: o
|
|
148
|
-
};
|
|
149
|
-
});
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
switch (e) {
|
|
153
|
-
case "status":
|
|
154
|
-
i((t) => ({
|
|
155
|
-
...t,
|
|
156
|
-
status: []
|
|
157
|
-
}));
|
|
158
|
-
break;
|
|
159
|
-
case "customer":
|
|
160
|
-
i((t) => ({
|
|
161
|
-
...t,
|
|
162
|
-
customerName: ""
|
|
163
|
-
}));
|
|
164
|
-
break;
|
|
165
|
-
case "amount":
|
|
166
|
-
i((t) => ({
|
|
167
|
-
...t,
|
|
168
|
-
amountMode: "any",
|
|
169
|
-
amountMin: "",
|
|
170
|
-
amountMax: ""
|
|
171
|
-
}));
|
|
172
|
-
break;
|
|
173
|
-
case "search":
|
|
174
|
-
i((t) => ({
|
|
175
|
-
...t,
|
|
176
|
-
search: ""
|
|
177
|
-
}));
|
|
178
|
-
break;
|
|
179
|
-
}
|
|
180
|
-
}, []), M = n(() => i(_()), []);
|
|
181
|
-
return {
|
|
182
|
-
state: a,
|
|
183
|
-
setState: i,
|
|
184
|
-
queryParams: v,
|
|
185
|
-
activeFilterCount: b,
|
|
186
|
-
activeChips: h,
|
|
187
|
-
datePresets: d,
|
|
188
|
-
statusOptions: p,
|
|
189
|
-
setDateFieldPreset: F,
|
|
190
|
-
setDateFieldRange: D,
|
|
191
|
-
clearFilter: S,
|
|
192
|
-
clearAll: M
|
|
193
|
-
};
|
|
194
|
-
}
|
|
195
29
|
export {
|
|
196
|
-
|
|
197
|
-
p as AR_STATUS_OPTIONS,
|
|
198
|
-
j as useInvoicesFilter
|
|
30
|
+
T as CounterpartTableFilters
|
|
199
31
|
};
|
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
const
|
|
2
|
-
counterpart_name: "counterpart_name",
|
|
3
|
-
counterpart_id: "counterpart_id",
|
|
4
|
-
amount: "amount",
|
|
5
|
-
status: "status",
|
|
6
|
-
due_date: "due_date",
|
|
7
|
-
issue_date: "issue_date",
|
|
8
|
-
document_id: "document_id",
|
|
9
|
-
created_at: "created_at",
|
|
10
|
-
project_id: "project_id",
|
|
11
|
-
total_amount: "total_amount",
|
|
12
|
-
discounted_subtotal: "discounted_subtotal"
|
|
13
|
-
}, e = Object.values(t);
|
|
1
|
+
const E = "search", T = "type";
|
|
14
2
|
export {
|
|
15
|
-
|
|
3
|
+
E as FILTER_TYPE_SEARCH,
|
|
4
|
+
T as FILTER_TYPE_TYPE
|
|
16
5
|
};
|
|
@@ -1,28 +1,66 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { getCounterpartName as m } from "./index7.js";
|
|
3
|
+
import { useCounterpartById as p } from "./index72.js";
|
|
4
|
+
import "@tanstack/react-query";
|
|
5
|
+
import "./index59.js";
|
|
6
|
+
import "react";
|
|
7
|
+
import "react-hot-toast";
|
|
8
|
+
import { useLingui as u } from "@lingui/react";
|
|
9
|
+
import { Skeleton as s, Stack as c, Avatar as f, Typography as d } from "@mui/material";
|
|
10
|
+
const x = (e) => {
|
|
11
|
+
let t = 0;
|
|
12
|
+
for (let r = e.length - 1; r >= 0; r--)
|
|
13
|
+
t += e.charCodeAt(r);
|
|
14
|
+
return t % 5;
|
|
15
|
+
}, k = ({
|
|
16
|
+
name: e,
|
|
17
|
+
country: t,
|
|
18
|
+
city: r,
|
|
19
|
+
isLoading: i
|
|
9
20
|
}) => {
|
|
10
21
|
const {
|
|
11
|
-
i18n:
|
|
12
|
-
} =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
i18n: h
|
|
23
|
+
} = u();
|
|
24
|
+
!e && !i && (e = h._("Unspecified"));
|
|
25
|
+
const n = e.split(" "), l = (n.length >= 2 ? n[0][0] + n[n.length - 1][0] : e[0] || "").toUpperCase();
|
|
26
|
+
return /* @__PURE__ */ o(c, { className: "Monite-CounterpartCell", direction: "row", alignItems: "center", spacing: 1.5, justifyContent: "stretch", sx: {
|
|
27
|
+
maxWidth: "100%",
|
|
28
|
+
overflow: "hidden"
|
|
29
|
+
}, children: [
|
|
30
|
+
i ? /* @__PURE__ */ a(s, { animation: "wave", variant: "circular", width: 40, height: 40, sx: {
|
|
31
|
+
flexShrink: 0
|
|
32
|
+
} }) : /* @__PURE__ */ a(f, { className: "MuiAvatar-colored MuiAvatar-" + x(l), children: l }),
|
|
33
|
+
i || !e ? /* @__PURE__ */ a(s, { animation: "wave", height: 10, width: "100%", sx: {
|
|
34
|
+
flexShrink: 0,
|
|
35
|
+
minWidth: "4em"
|
|
36
|
+
} }) : /* @__PURE__ */ o(c, { direction: "column", alignItems: "stretch", gap: 0, sx: {
|
|
37
|
+
maxWidth: "100%",
|
|
38
|
+
flexBasis: 0,
|
|
39
|
+
flexShrink: 2,
|
|
40
|
+
flexGrow: 2,
|
|
41
|
+
overflow: "hidden"
|
|
42
|
+
}, children: [
|
|
43
|
+
/* @__PURE__ */ a(d, { variant: "body1", className: "Monite-TextOverflowContainer", children: e }),
|
|
44
|
+
t && r && /* @__PURE__ */ o(d, { variant: "body2", className: "Monite-TextOverflowContainer", children: [
|
|
45
|
+
t,
|
|
46
|
+
" • ",
|
|
47
|
+
r
|
|
48
|
+
] })
|
|
23
49
|
] })
|
|
24
50
|
] });
|
|
51
|
+
}, A = ({
|
|
52
|
+
counterpartId: e
|
|
53
|
+
}) => {
|
|
54
|
+
const {
|
|
55
|
+
data: t,
|
|
56
|
+
isLoading: r
|
|
57
|
+
} = p(e), i = t ? m(t) : "";
|
|
58
|
+
return r ? /* @__PURE__ */ a(s, { animation: "wave", height: 26, width: "100%" }) : i ? /* @__PURE__ */ a("span", { children: i }) : /* @__PURE__ */ a("span", { style: {
|
|
59
|
+
opacity: 0.4
|
|
60
|
+
}, children: "-" });
|
|
25
61
|
};
|
|
26
62
|
export {
|
|
27
|
-
|
|
63
|
+
k as CounterPartCellByData,
|
|
64
|
+
A as CounterpartNameCellById,
|
|
65
|
+
x as calculateAvatarColorIndex
|
|
28
66
|
};
|