@tesouro/embedded-components-react 0.2.240 → 0.2.242
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/monite-sdk.js +55 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/data-access/dist/index.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/data-access/dist/index2.js +7 -20
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/data-access/dist/index3.js +75 -7
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index8.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +1 -25
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +9 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +4 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +7 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +75 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +20 -445
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +445 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +2 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +38 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +76 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +62 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +0 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +28 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +43 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +2 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +48 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +110 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +5 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +98 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +206 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +155 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +51 -290
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +299 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +68 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +24 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +74 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +90 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +1 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +8 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +17 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +56 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +13 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +55 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +7 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +51 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +38 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +73 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +2 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +79 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +1 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +56 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +44 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +9 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +21 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +50 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +61 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +48 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +169 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +0 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +82 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +29 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +1 -598
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +598 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +1 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +167 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +19 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +1 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +91 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +18 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +75 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +0 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +127 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +11 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +56 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +1 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +62 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +120 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +21 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +6 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +34 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +7 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +53 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +71 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +28 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +1 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +57 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +18 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +18 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +185 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +31 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +3 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +61 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +8 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +29 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +44 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +32 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +18 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +4 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +113 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +66 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +0 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +199 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +9 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +42 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +5 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +6 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +5 -423
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +425 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +18 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +91 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +9 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +2 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +187 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +102 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +53 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +161 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +10 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +60 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +44 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +48 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +83 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +21 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +45 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +0 -347
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +347 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +1 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +161 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +1 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +34 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +33 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +3 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +88 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +169 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +114 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +206 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +14 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +0 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +255 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +32 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +142 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +0 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +166 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +26 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +8 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +59 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +35 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +151 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +69 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +14 -218
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +214 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +42 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +0 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +76 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +103 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +163 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +5 -313
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +310 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +83 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +190 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +28 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +84 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +132 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +37 -447
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +447 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +16 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +78 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +142 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +34 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +62 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +67 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +140 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +58 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +85 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +14 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +18 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +98 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +43 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +30 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +8 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +36 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +44 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +67 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +23 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +156 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +134 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +125 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +63 -232
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +248 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +8 -463
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +443 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +17 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +13 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +51 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +13 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +39 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +142 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +112 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +33 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +32 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +20 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +73 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +18 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +149 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +136 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +31 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +115 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +10 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +13 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +21 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +36 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +77 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +50 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +34 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +86 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +1 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +0 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +129 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +105 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +48 -779
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +780 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +84 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +105 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +6 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +14 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +163 -200
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +204 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +82 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +17 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +146 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +95 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +46 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +4 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +13 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +27 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +0 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +186 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +0 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +42 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +5 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +20 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +74 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +11 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +129 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +4 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +219 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +32 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +168 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +192 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +97 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +63 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +46 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +91 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +39 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +63 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +85 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +4 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +1 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +6 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +66 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +104 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +72 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +144 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +14 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +91 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +3 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +22 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +71 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +0 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +66 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +27 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +29 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +2 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +97 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index5.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +13 -11
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/reference-data/usePaymentTermsQuery.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/expectedApiNotFound.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/data-access/dist/index4.js +0 -78
|
@@ -1,4 +1,447 @@
|
|
|
1
|
+
import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
|
|
2
|
+
import "../../shared/data-access/dist/index.js";
|
|
3
|
+
import { useMoniteContext as t } from "./index47.js";
|
|
4
|
+
import { useCounterpartById as n } from "./index48.js";
|
|
5
|
+
import { getCounterpartName as r } from "./index53.js";
|
|
6
|
+
import { useCurrencies as ee } from "./index63.js";
|
|
7
|
+
import { Button as i } from "./index56.js";
|
|
8
|
+
import { useGetPayablesAnalytics as a } from "./index113.js";
|
|
9
|
+
import { MoniteScopedProviders as o } from "./index209.js";
|
|
10
|
+
import { Sheet as s, SheetClose as te, SheetContent as c, SheetDescription as ne, SheetHeader as re, SheetTitle as ie } from "./index50.js";
|
|
11
|
+
import { LoadingSpinner as ae } from "./index51.js";
|
|
12
|
+
import "./index52.js";
|
|
13
|
+
import { Skeleton as l } from "./index54.js";
|
|
14
|
+
import { DropdownMenu as oe, DropdownMenuContent as se, DropdownMenuItem as ce, DropdownMenuTrigger as le } from "./index55.js";
|
|
15
|
+
import { DeleteCounterpartModal as ue } from "./index61.js";
|
|
16
|
+
import { Typography as u } from "./index62.js";
|
|
17
|
+
import { Separator as de } from "./index64.js";
|
|
18
|
+
import { CounterpartContactDetailLine as d } from "./index65.js";
|
|
19
|
+
import { useDeleteCounterpartBank as fe } from "./index75.js";
|
|
20
|
+
import { useCounterpartAddressesById as pe } from "./index82.js";
|
|
21
|
+
import { useGetCounterpartPayables as me } from "./index83.js";
|
|
22
|
+
import "./index86.js";
|
|
23
|
+
import { CounterpartBankSection as he } from "./index98.js";
|
|
24
|
+
import { CounterpartAddressSection as ge } from "./index108.js";
|
|
25
|
+
import { EditCounterpart as _e } from "./index111.js";
|
|
26
|
+
import { useUserPermissions as ve } from "./index112.js";
|
|
27
|
+
import { AR_DEFAULT_STATUSES as ye } from "./index140.js";
|
|
28
|
+
import { useGetReceivables as be } from "./index156.js";
|
|
29
|
+
import { useGetReceivablesAnalytics as f } from "./index170.js";
|
|
30
|
+
import "./index194.js";
|
|
31
|
+
import { isBillOverdue as xe } from "./index196.js";
|
|
32
|
+
import { PayableStatusChip as p } from "./index197.js";
|
|
33
|
+
import { useCounterpartsBankAccountsList as Se } from "./index198.js";
|
|
34
|
+
import { InvoiceStatusChip as Ce } from "./index227.js";
|
|
35
|
+
import { NotFound as we } from "./index228.js";
|
|
36
|
+
import { Fragment as Te, useCallback as Ee, useState as m } from "react";
|
|
37
|
+
import { Eye as De, EyeOff as Oe, MoreVerticalIcon as ke, Trash2 as Ae, X as je } from "lucide-react";
|
|
38
|
+
import { Fragment as h, jsx as g, jsxs as _ } from "@emotion/react/jsx-runtime";
|
|
39
|
+
import { useLingui as Me } from "@lingui/react";
|
|
1
40
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js
|
|
2
|
-
var e =
|
|
41
|
+
var v = (e) => /* @__PURE__ */ g(o, { children: /* @__PURE__ */ g(y, { ...e }) }), y = ({ counterpartId: o, customerType: v, open: y, isEditMode: Ne = !1, showActionsMenu: b = !0, onClose: x, onPayVendor: S, onCreateInvoiceForCustomer: C, onViewVendorBills: w, onViewCustomerInvoices: T }) => {
|
|
42
|
+
let { i18n: E } = Me(), { locale: D } = t(), O = ve(), { formatCurrencyToDisplay: k } = ee(), [A, j] = m(!1), [M, N] = m(!1), [P, F] = m(Ne), I = v === "vendor", Pe = I && !!S && O.has(e.PayableWriteOrg), Fe = !I && !!C && O.has(e.InvoiceWriteOrg), Ie = I && !!w && O.has(e.PayableReadOrg), Le = !I && !!T && O.has(e.InvoiceReadOrg), { data: L, isLoading: R, isFetching: Re } = n(o), { data: ze, isLoading: Be } = pe(o), { data: Ve, isLoading: He } = Se(o), { mutate: Ue } = fe(o), { data: We, isLoading: z } = a({
|
|
43
|
+
dimension: "counterpart_id",
|
|
44
|
+
metric: "total_amount",
|
|
45
|
+
aggregation_function: "summary",
|
|
46
|
+
status__in: [
|
|
47
|
+
"new",
|
|
48
|
+
"approve_in_progress",
|
|
49
|
+
"waiting_to_be_paid",
|
|
50
|
+
"partially_paid",
|
|
51
|
+
"paid"
|
|
52
|
+
],
|
|
53
|
+
counterpart_id__in: [o]
|
|
54
|
+
}, I), { data: Ge, isLoading: B } = a({
|
|
55
|
+
dimension: "counterpart_id",
|
|
56
|
+
metric: "amount_due",
|
|
57
|
+
aggregation_function: "summary",
|
|
58
|
+
status__in: [
|
|
59
|
+
"new",
|
|
60
|
+
"approve_in_progress",
|
|
61
|
+
"waiting_to_be_paid",
|
|
62
|
+
"partially_paid"
|
|
63
|
+
],
|
|
64
|
+
counterpart_id__in: [o]
|
|
65
|
+
}, I), { data: Ke, isLoading: qe } = a({
|
|
66
|
+
dimension: "counterpart_id",
|
|
67
|
+
metric: "total_amount",
|
|
68
|
+
aggregation_function: "summary",
|
|
69
|
+
status__in: ["rejected"],
|
|
70
|
+
counterpart_id__in: [o]
|
|
71
|
+
}, I), { data: Je } = me({
|
|
72
|
+
counterpart_id: o,
|
|
73
|
+
sort: "created_at",
|
|
74
|
+
order: "desc",
|
|
75
|
+
limit: 4
|
|
76
|
+
}, I), { data: Ye, isLoading: V } = f({
|
|
77
|
+
dimension: "counterpart_id",
|
|
78
|
+
metric: "total_amount",
|
|
79
|
+
aggregation_function: "summary",
|
|
80
|
+
type: "invoice",
|
|
81
|
+
status__in: [
|
|
82
|
+
"issued",
|
|
83
|
+
"overdue",
|
|
84
|
+
"partially_paid",
|
|
85
|
+
"paid"
|
|
86
|
+
],
|
|
87
|
+
counterpart_id__in: [o]
|
|
88
|
+
}, !I), { data: Xe, isLoading: H } = f({
|
|
89
|
+
dimension: "counterpart_id",
|
|
90
|
+
metric: "amount_due",
|
|
91
|
+
aggregation_function: "summary",
|
|
92
|
+
type: "invoice",
|
|
93
|
+
status__in: [
|
|
94
|
+
"issued",
|
|
95
|
+
"overdue",
|
|
96
|
+
"partially_paid"
|
|
97
|
+
],
|
|
98
|
+
counterpart_id__in: [o]
|
|
99
|
+
}, !I), { data: Ze } = be({
|
|
100
|
+
type: "invoice",
|
|
101
|
+
status__in: [...ye],
|
|
102
|
+
counterpart_id: o,
|
|
103
|
+
sort: "created_at",
|
|
104
|
+
order: "desc",
|
|
105
|
+
limit: 4
|
|
106
|
+
}, !I), U = O.has(e.CounterpartWriteOrg), W = O.has(e.CounterpartWriteOrg), Qe = Ee(() => L && "individual" in L ? [L.individual?.email ?? "-", L.individual?.phone ?? "-"] : [L?.organization?.email ?? "-", L?.organization?.phone ?? "-"], [L]), G = Ve?.data?.[0], K = I ? Ge?.data?.[0]?.metric_value ?? 0 : Xe?.data?.[0]?.metric_value ?? 0, q = I ? We?.data?.[0]?.metric_value ?? 0 : Ye?.data?.[0]?.metric_value ?? 0, $e = q - K, et = I ? B : H, tt = I ? z : V, nt = I ? B || z : V || H, rt = I ? Ke?.data?.[0]?.metric_value ?? 0 : 0, it = I ? qe : !1, J = I ? Je?.data : Ze?.data, Y = ze?.data?.[0], X = Y?.city || "", Z = Y?.state || "", Q = Y?.postal_code || "", $ = L?.tax_id, at = $ ? M ? $ : $.slice(0, 3).padEnd($.length, "•") : "-", [ot, st] = Qe();
|
|
107
|
+
return !R && !Re && !L ? /* @__PURE__ */ g(s, {
|
|
108
|
+
open: y,
|
|
109
|
+
onOpenChange: x,
|
|
110
|
+
children: /* @__PURE__ */ g(c, {
|
|
111
|
+
showCloseButton: !0,
|
|
112
|
+
className: "ttw:gap-0",
|
|
113
|
+
children: /* @__PURE__ */ g("div", {
|
|
114
|
+
className: "ttw:w-3/4 ttw:m-auto ttw:p-4",
|
|
115
|
+
children: /* @__PURE__ */ g(we, {
|
|
116
|
+
title: E._("{customerType} not found", { customerType: v === "vendor" ? "Vendor" : "Customer" }),
|
|
117
|
+
description: E._("Something went wrong while fetching this {customerType}", { customerType: v })
|
|
118
|
+
})
|
|
119
|
+
})
|
|
120
|
+
})
|
|
121
|
+
}) : /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g(s, {
|
|
122
|
+
open: y,
|
|
123
|
+
onOpenChange: x,
|
|
124
|
+
children: /* @__PURE__ */ _(c, {
|
|
125
|
+
showCloseButton: !1,
|
|
126
|
+
className: "ttw:gap-0",
|
|
127
|
+
children: [/* @__PURE__ */ _(re, {
|
|
128
|
+
className: "ttw:pt-6 ttw:pl-6 ttw:pb-7 ttw:flex-row ttw:gap-3 ttw:border-b ttw:border-border",
|
|
129
|
+
children: [/* @__PURE__ */ _("div", {
|
|
130
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:w-[85%]",
|
|
131
|
+
children: [/* @__PURE__ */ g(ie, {
|
|
132
|
+
asChild: R,
|
|
133
|
+
className: "ttw:text-2xl",
|
|
134
|
+
children: R ? /* @__PURE__ */ g(l, { className: "ttw:w-40" }) : r(L)
|
|
135
|
+
}), /* @__PURE__ */ g(ne, {
|
|
136
|
+
asChild: R,
|
|
137
|
+
children: R ? /* @__PURE__ */ g(l, { className: "ttw:w-60" }) : E._("{customerType} · Added {createdAt}", {
|
|
138
|
+
createdAt: E.date(L?.created_at, D.dateFormat),
|
|
139
|
+
customerType: I ? "Vendor" : "Customer"
|
|
140
|
+
})
|
|
141
|
+
})]
|
|
142
|
+
}), /* @__PURE__ */ _("div", {
|
|
143
|
+
className: "ttw:flex ttw:gap-2",
|
|
144
|
+
children: [b && W && /* @__PURE__ */ _(oe, { children: [/* @__PURE__ */ g(le, {
|
|
145
|
+
asChild: !0,
|
|
146
|
+
children: /* @__PURE__ */ g(i, {
|
|
147
|
+
type: "button",
|
|
148
|
+
variant: "outline",
|
|
149
|
+
className: "ttw:p-2 ttw:size-9 ttw:border-none ttw:bg-muted",
|
|
150
|
+
children: /* @__PURE__ */ g(ke, {})
|
|
151
|
+
})
|
|
152
|
+
}), /* @__PURE__ */ g(se, {
|
|
153
|
+
align: "end",
|
|
154
|
+
children: /* @__PURE__ */ _(ce, {
|
|
155
|
+
onClick: () => j(!0),
|
|
156
|
+
variant: "destructive",
|
|
157
|
+
children: [/* @__PURE__ */ g(Ae, {}), E._("Delete {customerType}", { customerType: v })]
|
|
158
|
+
})
|
|
159
|
+
})] }), /* @__PURE__ */ g(te, {
|
|
160
|
+
className: "ttw:size-9 ttw:bg-muted ttw:p-2 ttw:flex ttw:items-center ttw:justify-center ttw:rounded-md ttw:cursor-pointer",
|
|
161
|
+
children: /* @__PURE__ */ g(je, { className: "ttw:size-4" })
|
|
162
|
+
})]
|
|
163
|
+
})]
|
|
164
|
+
}), R ? /* @__PURE__ */ g("div", {
|
|
165
|
+
className: "ttw:flex ttw:w-full ttw:h-full ttw:items-center ttw:justify-center",
|
|
166
|
+
children: /* @__PURE__ */ g(ae, {})
|
|
167
|
+
}) : /* @__PURE__ */ _("main", {
|
|
168
|
+
className: "ttw:p-6 ttw:overflow-auto ttw:flex ttw:flex-col ttw:gap-4",
|
|
169
|
+
children: [
|
|
170
|
+
/* @__PURE__ */ _("div", {
|
|
171
|
+
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:pb-3",
|
|
172
|
+
children: [/* @__PURE__ */ _("div", {
|
|
173
|
+
className: "ttw:p-5 ttw:flex ttw:flex-col ttw:gap-4 ttw:bg-muted ttw:rounded-xl",
|
|
174
|
+
children: [
|
|
175
|
+
/* @__PURE__ */ g(u, {
|
|
176
|
+
variant: "body2",
|
|
177
|
+
color: "muted",
|
|
178
|
+
children: E._("Amount due")
|
|
179
|
+
}),
|
|
180
|
+
et ? /* @__PURE__ */ g(l, { className: "ttw:w-20" }) : /* @__PURE__ */ g(u, {
|
|
181
|
+
variant: "h1",
|
|
182
|
+
className: "ttw:font-semibold",
|
|
183
|
+
children: k(K, "USD")
|
|
184
|
+
}),
|
|
185
|
+
/* @__PURE__ */ _("div", {
|
|
186
|
+
className: "ttw:flex ttw:gap-8",
|
|
187
|
+
children: [
|
|
188
|
+
/* @__PURE__ */ _("div", {
|
|
189
|
+
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
190
|
+
children: [/* @__PURE__ */ g(u, {
|
|
191
|
+
variant: "caption",
|
|
192
|
+
color: "muted",
|
|
193
|
+
children: E._("Billed")
|
|
194
|
+
}), tt ? /* @__PURE__ */ g(l, { className: "ttw:w-20" }) : /* @__PURE__ */ g(u, {
|
|
195
|
+
variant: "body1",
|
|
196
|
+
className: "ttw:font-semibold",
|
|
197
|
+
children: k(q, "USD")
|
|
198
|
+
})]
|
|
199
|
+
}),
|
|
200
|
+
/* @__PURE__ */ _("div", {
|
|
201
|
+
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
202
|
+
children: [/* @__PURE__ */ g(u, {
|
|
203
|
+
variant: "caption",
|
|
204
|
+
color: "muted",
|
|
205
|
+
children: I ? E._("Paid") : E._("Received")
|
|
206
|
+
}), nt ? /* @__PURE__ */ g(l, { className: "ttw:w-20" }) : /* @__PURE__ */ g(u, {
|
|
207
|
+
variant: "body1",
|
|
208
|
+
className: "ttw:text-green-600 ttw:font-semibold",
|
|
209
|
+
children: k($e, "USD")
|
|
210
|
+
})]
|
|
211
|
+
}),
|
|
212
|
+
I && /* @__PURE__ */ _("div", {
|
|
213
|
+
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
214
|
+
children: [/* @__PURE__ */ g(u, {
|
|
215
|
+
variant: "caption",
|
|
216
|
+
color: "muted",
|
|
217
|
+
children: E._("Rejected")
|
|
218
|
+
}), it ? /* @__PURE__ */ g(l, { className: "ttw:w-20" }) : /* @__PURE__ */ g(u, {
|
|
219
|
+
variant: "body1",
|
|
220
|
+
className: "ttw:font-semibold",
|
|
221
|
+
children: k(rt, "USD")
|
|
222
|
+
})]
|
|
223
|
+
})
|
|
224
|
+
]
|
|
225
|
+
})
|
|
226
|
+
]
|
|
227
|
+
}), /* @__PURE__ */ g(i, {
|
|
228
|
+
className: "ttw:px-6 ttw:py-2 ttw:w-60",
|
|
229
|
+
disabled: I ? !Pe : !Fe,
|
|
230
|
+
onClick: () => I ? S?.(o) : C?.(o),
|
|
231
|
+
children: I ? E._("Send a payment") : E._("Issue an invoice")
|
|
232
|
+
})]
|
|
233
|
+
}),
|
|
234
|
+
J && J.length > 0 && /* @__PURE__ */ _("div", {
|
|
235
|
+
className: "ttw:border-t ttw:border-border ttw:flex ttw:flex-col",
|
|
236
|
+
children: [/* @__PURE__ */ _("div", {
|
|
237
|
+
className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7",
|
|
238
|
+
children: [/* @__PURE__ */ _("div", {
|
|
239
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
240
|
+
children: [/* @__PURE__ */ g(u, {
|
|
241
|
+
variant: "body1",
|
|
242
|
+
className: "ttw:font-medium",
|
|
243
|
+
children: E._("Recent {document}", { document: I ? "bills" : "invoices" })
|
|
244
|
+
}), /* @__PURE__ */ g(u, {
|
|
245
|
+
variant: "body2",
|
|
246
|
+
color: "muted",
|
|
247
|
+
children: I ? E._("Sorted by issue date") : E._("Latest activity")
|
|
248
|
+
})]
|
|
249
|
+
}), (Ie || Le) && /* @__PURE__ */ g(i, {
|
|
250
|
+
variant: "ghost",
|
|
251
|
+
className: "ttw:text-primary ttw:hover:text-primary",
|
|
252
|
+
onClick: () => I ? w?.(o) : T?.(o),
|
|
253
|
+
children: E._("View all")
|
|
254
|
+
})]
|
|
255
|
+
}), /* @__PURE__ */ g("div", {
|
|
256
|
+
className: "ttw:border ttw:border-border ttw:rounded-lg ttw:p-4 ttw:flex ttw:flex-col ttw:gap-3",
|
|
257
|
+
children: J.map((e, t) => {
|
|
258
|
+
let n = I ? xe(e?.status, e?.due_date) : void 0;
|
|
259
|
+
return /* @__PURE__ */ _(Te, { children: [/* @__PURE__ */ _("div", {
|
|
260
|
+
className: "ttw:flex ttw:items-start ttw:justify-between",
|
|
261
|
+
children: [/* @__PURE__ */ _("div", {
|
|
262
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
263
|
+
children: [/* @__PURE__ */ g(u, {
|
|
264
|
+
variant: "h5",
|
|
265
|
+
className: "ttw:font-medium",
|
|
266
|
+
children: k(e.total_amount ?? 0, e.currency ?? "USD")
|
|
267
|
+
}), /* @__PURE__ */ g(u, {
|
|
268
|
+
variant: "body2",
|
|
269
|
+
color: n ? "destructive" : "muted",
|
|
270
|
+
children: E.date("issued_at" in e ? e.issued_at : e.created_at, D.dateFormat)
|
|
271
|
+
})]
|
|
272
|
+
}), I ? /* @__PURE__ */ _("div", {
|
|
273
|
+
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
274
|
+
children: [n && /* @__PURE__ */ g(p, {
|
|
275
|
+
status: e.status,
|
|
276
|
+
dueDate: "due_date" in e ? e.due_date : void 0,
|
|
277
|
+
showOverdueBadge: !0
|
|
278
|
+
}), /* @__PURE__ */ g(p, {
|
|
279
|
+
status: e.status,
|
|
280
|
+
dueDate: "due_date" in e ? e.due_date : void 0
|
|
281
|
+
})]
|
|
282
|
+
}) : /* @__PURE__ */ g(Ce, { status: e.status })]
|
|
283
|
+
}), t < J.length - 1 && /* @__PURE__ */ g(de, {})] }, e.id);
|
|
284
|
+
})
|
|
285
|
+
})]
|
|
286
|
+
}),
|
|
287
|
+
/* @__PURE__ */ _("div", {
|
|
288
|
+
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
289
|
+
children: [/* @__PURE__ */ _("div", {
|
|
290
|
+
className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border",
|
|
291
|
+
children: [/* @__PURE__ */ _("div", {
|
|
292
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
293
|
+
children: [/* @__PURE__ */ g(u, {
|
|
294
|
+
variant: "body1",
|
|
295
|
+
className: "ttw:font-medium",
|
|
296
|
+
children: E._("{customerType} details", { customerType: I ? "Vendor" : "Customer" })
|
|
297
|
+
}), /* @__PURE__ */ g(u, {
|
|
298
|
+
variant: "body2",
|
|
299
|
+
color: "muted",
|
|
300
|
+
children: I ? E._("Who are you paying?") : E._("Who are you billing?")
|
|
301
|
+
})]
|
|
302
|
+
}), !P && U && /* @__PURE__ */ g(i, {
|
|
303
|
+
type: "button",
|
|
304
|
+
variant: "ghost",
|
|
305
|
+
className: "ttw:text-primary ttw:hover:text-primary",
|
|
306
|
+
onClick: () => F(!0),
|
|
307
|
+
children: E._("Edit")
|
|
308
|
+
})]
|
|
309
|
+
}), P && L ? /* @__PURE__ */ g(_e, {
|
|
310
|
+
customerType: v,
|
|
311
|
+
counterpart: L,
|
|
312
|
+
counterpartAddress: Y,
|
|
313
|
+
handleClose: () => F(!1),
|
|
314
|
+
onUpdate: () => F(!1)
|
|
315
|
+
}) : /* @__PURE__ */ _("ul", {
|
|
316
|
+
className: "ttw:list-none",
|
|
317
|
+
children: [
|
|
318
|
+
/* @__PURE__ */ g(d, {
|
|
319
|
+
label: E._("Type"),
|
|
320
|
+
value: L?.type === "individual" ? "Person" : "Business"
|
|
321
|
+
}),
|
|
322
|
+
/* @__PURE__ */ g(d, {
|
|
323
|
+
label: E._("Name"),
|
|
324
|
+
value: r(L)
|
|
325
|
+
}),
|
|
326
|
+
/* @__PURE__ */ g(d, {
|
|
327
|
+
label: E._("Email"),
|
|
328
|
+
value: ot
|
|
329
|
+
}),
|
|
330
|
+
!I && /* @__PURE__ */ g(d, {
|
|
331
|
+
label: E._("Payment reminders"),
|
|
332
|
+
value: L?.reminders_enabled ? "Enabled" : "Disabled"
|
|
333
|
+
}),
|
|
334
|
+
/* @__PURE__ */ g(d, {
|
|
335
|
+
label: E._("Phone"),
|
|
336
|
+
value: st
|
|
337
|
+
}),
|
|
338
|
+
/* @__PURE__ */ g(d, {
|
|
339
|
+
label: E._("Tax ID / {documentType}", { documentType: L?.type === "individual" ? "SSN" : "EIN" }),
|
|
340
|
+
value: /* @__PURE__ */ _("div", {
|
|
341
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
342
|
+
children: [/* @__PURE__ */ _("div", {
|
|
343
|
+
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
344
|
+
children: [/* @__PURE__ */ g(u, {
|
|
345
|
+
variant: "body2",
|
|
346
|
+
className: "ttw:font-medium",
|
|
347
|
+
children: at
|
|
348
|
+
}), $ && /* @__PURE__ */ g(i, {
|
|
349
|
+
onClick: () => N((e) => !e),
|
|
350
|
+
type: "button",
|
|
351
|
+
size: "sm",
|
|
352
|
+
variant: "outline",
|
|
353
|
+
className: "ttw:border-border ttw:h-5 ttw:p-2",
|
|
354
|
+
children: M ? /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g(Oe, {}), E._("Hide")] }) : /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g(De, {}), E._("Show")] })
|
|
355
|
+
})]
|
|
356
|
+
}), /* @__PURE__ */ g(u, {
|
|
357
|
+
variant: "body2",
|
|
358
|
+
color: "muted",
|
|
359
|
+
children: I ? E._("Required only if you'll file a 1099 IRS form for this vendor at year-end.") : E._("Required only if you'll issue a 1099 IRS form at year-end.")
|
|
360
|
+
})]
|
|
361
|
+
})
|
|
362
|
+
}),
|
|
363
|
+
I && /* @__PURE__ */ g(d, {
|
|
364
|
+
label: E._("Address"),
|
|
365
|
+
isLast: !0,
|
|
366
|
+
value: /* @__PURE__ */ g("div", {
|
|
367
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
368
|
+
children: Be ? /* @__PURE__ */ g(l, { className: "ttw:w-20" }) : /* @__PURE__ */ g(h, { children: Y ? /* @__PURE__ */ _(h, { children: [
|
|
369
|
+
/* @__PURE__ */ g(u, {
|
|
370
|
+
variant: "body2",
|
|
371
|
+
className: "ttw:font-medium",
|
|
372
|
+
children: Y?.line1
|
|
373
|
+
}),
|
|
374
|
+
Y?.line2 && /* @__PURE__ */ g(u, {
|
|
375
|
+
variant: "body2",
|
|
376
|
+
className: "ttw:font-medium",
|
|
377
|
+
children: Y.line2
|
|
378
|
+
}),
|
|
379
|
+
/* @__PURE__ */ g(u, {
|
|
380
|
+
variant: "body2",
|
|
381
|
+
className: "ttw:font-medium",
|
|
382
|
+
children: `${X && X}${X && (Z || Q) && ","} ${Z && Z} ${Q && Q}`
|
|
383
|
+
}),
|
|
384
|
+
/* @__PURE__ */ g(u, {
|
|
385
|
+
variant: "body2",
|
|
386
|
+
className: "ttw:font-medium",
|
|
387
|
+
children: Y?.country
|
|
388
|
+
})
|
|
389
|
+
] }) : /* @__PURE__ */ g(u, {
|
|
390
|
+
variant: "body2",
|
|
391
|
+
className: "ttw:font-medium",
|
|
392
|
+
children: "-"
|
|
393
|
+
}) })
|
|
394
|
+
})
|
|
395
|
+
})
|
|
396
|
+
]
|
|
397
|
+
})]
|
|
398
|
+
}),
|
|
399
|
+
!I && /* @__PURE__ */ g(ge, {
|
|
400
|
+
isStandalone: !0,
|
|
401
|
+
isLoading: R,
|
|
402
|
+
counterpartAddress: Y,
|
|
403
|
+
customerType: v,
|
|
404
|
+
counterpartId: L?.id,
|
|
405
|
+
isUpdateAllowed: U
|
|
406
|
+
}),
|
|
407
|
+
I && /* @__PURE__ */ _("div", {
|
|
408
|
+
className: "ttw:flex ttw:flex-col ttw:border-t ttw:border-border",
|
|
409
|
+
children: [/* @__PURE__ */ _("div", {
|
|
410
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-6 ttw:pb-7",
|
|
411
|
+
children: [/* @__PURE__ */ g(u, {
|
|
412
|
+
variant: "body1",
|
|
413
|
+
className: "ttw:font-medium",
|
|
414
|
+
children: E._("Accepted payment methods")
|
|
415
|
+
}), /* @__PURE__ */ g(u, {
|
|
416
|
+
variant: "body2",
|
|
417
|
+
color: "muted",
|
|
418
|
+
children: E._("How and where will the money be sent. Don't have these yet? No problem. You can save this vendor and add their payment details later - you just won't be able to send payments until you do.")
|
|
419
|
+
})]
|
|
420
|
+
}), /* @__PURE__ */ g(he, {
|
|
421
|
+
counterpartId: L?.id,
|
|
422
|
+
bankAccount: G,
|
|
423
|
+
isUpdateAllowed: U,
|
|
424
|
+
isDeleteAllowed: W,
|
|
425
|
+
isStandalone: !0,
|
|
426
|
+
isLoading: He,
|
|
427
|
+
onRemoveClick: () => Ue({ path: {
|
|
428
|
+
bank_account_id: G?.id || "",
|
|
429
|
+
counterpart_id: o
|
|
430
|
+
} })
|
|
431
|
+
})]
|
|
432
|
+
})
|
|
433
|
+
]
|
|
434
|
+
})]
|
|
435
|
+
})
|
|
436
|
+
}), o && A && /* @__PURE__ */ g(ue, {
|
|
437
|
+
counterpartId: o,
|
|
438
|
+
counterpartName: r(L),
|
|
439
|
+
isOpen: A,
|
|
440
|
+
onDelete: () => {
|
|
441
|
+
x?.(), j(!1);
|
|
442
|
+
},
|
|
443
|
+
onCancel: () => j(!1)
|
|
444
|
+
})] });
|
|
445
|
+
};
|
|
3
446
|
//#endregion
|
|
4
|
-
export {
|
|
447
|
+
export { v as CounterpartDetails };
|
|
@@ -1,44 +1,4 @@
|
|
|
1
|
-
import { Input as e } from "./index89.js";
|
|
2
|
-
import { Select as t, SelectContent as n, SelectItem as r, SelectTrigger as i, SelectValue as a } from "./index101.js";
|
|
3
|
-
import { FILTER_TYPE_SEARCH as o, FILTER_TYPE_TYPE as s } from "./index229.js";
|
|
4
|
-
import { jsx as c, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
5
|
-
import { useLingui as u } from "@lingui/react";
|
|
6
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js
|
|
7
|
-
var
|
|
8
|
-
let { i18n: p } = u();
|
|
9
|
-
return /* @__PURE__ */ l("div", {
|
|
10
|
-
className: "ttw:flex ttw:justify-between ttw:items-center ttw:gap-4 ttw:px-4",
|
|
11
|
-
children: [/* @__PURE__ */ c(e, {
|
|
12
|
-
className: "ttw:max-w-100 ttw:w-full",
|
|
13
|
-
placeholder: p._("Search by name"),
|
|
14
|
-
onChange: (e) => {
|
|
15
|
-
d(o, e.target.value);
|
|
16
|
-
},
|
|
17
|
-
disabled: f
|
|
18
|
-
}), /* @__PURE__ */ l(t, {
|
|
19
|
-
defaultValue: "all",
|
|
20
|
-
onValueChange: (e) => {
|
|
21
|
-
d(s, e);
|
|
22
|
-
},
|
|
23
|
-
children: [/* @__PURE__ */ c(i, {
|
|
24
|
-
className: "ttw:max-w-40 ttw:w-full",
|
|
25
|
-
children: /* @__PURE__ */ c(a, {})
|
|
26
|
-
}), /* @__PURE__ */ l(n, { children: [
|
|
27
|
-
/* @__PURE__ */ c(r, {
|
|
28
|
-
value: "all",
|
|
29
|
-
children: p._("All types")
|
|
30
|
-
}),
|
|
31
|
-
/* @__PURE__ */ c(r, {
|
|
32
|
-
value: "individual",
|
|
33
|
-
children: p._("Individuals")
|
|
34
|
-
}),
|
|
35
|
-
/* @__PURE__ */ c(r, {
|
|
36
|
-
value: "organization",
|
|
37
|
-
children: p._("Companies")
|
|
38
|
-
})
|
|
39
|
-
] })]
|
|
40
|
-
})]
|
|
41
|
-
});
|
|
42
|
-
};
|
|
2
|
+
var e = "search", t = "type";
|
|
43
3
|
//#endregion
|
|
44
|
-
export {
|
|
4
|
+
export { e as FILTER_TYPE_SEARCH, t as FILTER_TYPE_TYPE };
|
|
@@ -1,81 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "./
|
|
4
|
-
import { jsx as
|
|
5
|
-
import {
|
|
6
|
-
import { useLingui as c } from "@lingui/react";
|
|
1
|
+
import { Input as e } from "./index89.js";
|
|
2
|
+
import { Select as t, SelectContent as n, SelectItem as r, SelectTrigger as i, SelectValue as a } from "./index101.js";
|
|
3
|
+
import { FILTER_TYPE_SEARCH as o, FILTER_TYPE_TYPE as s } from "./index230.js";
|
|
4
|
+
import { jsx as c, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
5
|
+
import { useLingui as u } from "@lingui/react";
|
|
7
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js
|
|
8
|
-
var
|
|
9
|
-
let
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
className: "Monite-CounterpartCell",
|
|
18
|
-
direction: "row",
|
|
19
|
-
alignItems: "center",
|
|
20
|
-
spacing: 1.5,
|
|
21
|
-
justifyContent: "stretch",
|
|
22
|
-
sx: {
|
|
23
|
-
maxWidth: "100%",
|
|
24
|
-
overflow: "hidden"
|
|
25
|
-
},
|
|
26
|
-
children: [d ? /* @__PURE__ */ n(a, {
|
|
27
|
-
animation: "wave",
|
|
28
|
-
variant: "circular",
|
|
29
|
-
width: 40,
|
|
30
|
-
height: 40,
|
|
31
|
-
sx: { flexShrink: 0 }
|
|
32
|
-
}) : /* @__PURE__ */ n(i, {
|
|
33
|
-
className: "MuiAvatar-colored MuiAvatar-" + l(m),
|
|
34
|
-
children: m
|
|
35
|
-
}), d || !e ? /* @__PURE__ */ n(a, {
|
|
36
|
-
animation: "wave",
|
|
37
|
-
height: 10,
|
|
38
|
-
width: "100%",
|
|
39
|
-
sx: {
|
|
40
|
-
flexShrink: 0,
|
|
41
|
-
minWidth: "4em"
|
|
42
|
-
}
|
|
43
|
-
}) : /* @__PURE__ */ r(o, {
|
|
44
|
-
direction: "column",
|
|
45
|
-
alignItems: "stretch",
|
|
46
|
-
gap: 0,
|
|
47
|
-
sx: {
|
|
48
|
-
maxWidth: "100%",
|
|
49
|
-
flexBasis: 0,
|
|
50
|
-
flexShrink: 2,
|
|
51
|
-
flexGrow: 2,
|
|
52
|
-
overflow: "hidden"
|
|
7
|
+
var d = ({ onChangeFilter: d, isDisabled: f }) => {
|
|
8
|
+
let { i18n: p } = u();
|
|
9
|
+
return /* @__PURE__ */ l("div", {
|
|
10
|
+
className: "ttw:flex ttw:justify-between ttw:items-center ttw:gap-4 ttw:px-4",
|
|
11
|
+
children: [/* @__PURE__ */ c(e, {
|
|
12
|
+
className: "ttw:max-w-100 ttw:w-full",
|
|
13
|
+
placeholder: p._("Search by name"),
|
|
14
|
+
onChange: (e) => {
|
|
15
|
+
d(o, e.target.value);
|
|
53
16
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
17
|
+
disabled: f
|
|
18
|
+
}), /* @__PURE__ */ l(t, {
|
|
19
|
+
defaultValue: "all",
|
|
20
|
+
onValueChange: (e) => {
|
|
21
|
+
d(s, e);
|
|
22
|
+
},
|
|
23
|
+
children: [/* @__PURE__ */ c(i, {
|
|
24
|
+
className: "ttw:max-w-40 ttw:w-full",
|
|
25
|
+
children: /* @__PURE__ */ c(a, {})
|
|
26
|
+
}), /* @__PURE__ */ l(n, { children: [
|
|
27
|
+
/* @__PURE__ */ c(r, {
|
|
28
|
+
value: "all",
|
|
29
|
+
children: p._("All types")
|
|
30
|
+
}),
|
|
31
|
+
/* @__PURE__ */ c(r, {
|
|
32
|
+
value: "individual",
|
|
33
|
+
children: p._("Individuals")
|
|
34
|
+
}),
|
|
35
|
+
/* @__PURE__ */ c(r, {
|
|
36
|
+
value: "organization",
|
|
37
|
+
children: p._("Companies")
|
|
38
|
+
})
|
|
39
|
+
] })]
|
|
67
40
|
})]
|
|
68
41
|
});
|
|
69
|
-
}, d = ({ counterpartId: r }) => {
|
|
70
|
-
let { data: i, isLoading: o } = e(r), s = i ? t(i) : "";
|
|
71
|
-
return o ? /* @__PURE__ */ n(a, {
|
|
72
|
-
animation: "wave",
|
|
73
|
-
height: 26,
|
|
74
|
-
width: "100%"
|
|
75
|
-
}) : s ? /* @__PURE__ */ n("span", { children: s }) : /* @__PURE__ */ n("span", {
|
|
76
|
-
style: { opacity: .4 },
|
|
77
|
-
children: "-"
|
|
78
|
-
});
|
|
79
42
|
};
|
|
80
43
|
//#endregion
|
|
81
|
-
export {
|
|
44
|
+
export { d as CounterpartTableFilters };
|