@tesouro/embedded-components-react 0.5.80 → 0.5.83
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 +68 -68
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +33 -55
- 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/index5.js +25 -9
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +33 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +71 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +21 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +3 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +49 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +1 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +48 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +3 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +1 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +47 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +35 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +64 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +29 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +32 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +21 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +53 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +12 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +110 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +1 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +48 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +32 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +38 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +5 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +23 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +72 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +1 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +9 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +35 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +70 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +24 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +74 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +20 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +445 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +2 -445
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +42 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +75 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +57 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +1 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +30 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +40 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +4 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +52 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +119 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +4 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +189 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +124 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +152 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +53 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +290 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +6 -299
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +68 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +50 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +27 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +76 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +85 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +1 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +10 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +27 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +3 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +10 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +1 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +55 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +2 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +53 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +37 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +71 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +6 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +79 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +1 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +42 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +11 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +21 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +52 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +62 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +55 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +164 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +1 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +85 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +25 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +2 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +598 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +0 -598
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +168 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +0 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +27 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +93 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +10 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +73 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +1 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +127 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +0 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +54 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +5 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +120 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +21 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +6 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +35 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +6 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +56 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +70 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +25 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +1 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +61 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +17 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +181 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +1 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +64 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +31 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +29 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +42 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +11 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +4 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +32 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +7 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +120 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +62 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +1 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +199 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +0 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +11 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +42 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +6 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +13 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +7 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +5 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +423 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +1 -425
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +91 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +18 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +7 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +191 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +97 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +1 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +44 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +161 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +61 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +44 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +48 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +82 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +21 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +1 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +347 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +0 -347
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +162 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +37 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +33 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +3 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +102 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +172 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +116 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +191 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +11 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +28 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +1 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +241 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +0 -241
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +138 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +1 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +166 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +25 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +10 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +38 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +151 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +68 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +214 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +37 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +1 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +83 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +14 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +186 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +87 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +12 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +382 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +88 -324
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +192 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +30 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +83 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +132 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +37 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +59 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +139 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +549 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +15 -551
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +145 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +78 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +35 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +60 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +68 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +146 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +54 -141
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +82 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +13 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +17 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +97 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +42 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +27 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +1 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +20 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +9 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +105 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +35 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +45 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +71 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +100 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +43 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +179 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +125 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +123 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +73 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +232 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +8 -248
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +396 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +22 -396
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +13 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +41 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +43 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +14 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +41 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +144 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +112 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +39 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +25 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +22 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +21 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +72 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +66 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +17 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +178 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +119 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +30 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +115 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +19 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +36 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +16 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +23 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +25 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +36 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +77 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +50 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +33 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +89 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +48 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +1 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +135 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +103 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +50 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +786 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +87 -786
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +97 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +6 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +27 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +11 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +14 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +171 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +203 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +88 -208
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +17 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +158 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +88 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +42 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +4 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +24 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +186 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +0 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +42 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +4 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +24 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +73 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +16 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +5 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +131 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +4 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +221 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +11 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +181 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +189 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +88 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +61 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +54 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +83 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +40 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +75 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +71 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +12 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +23 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +0 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +4 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +13 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +22 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index608.js +68 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index609.js +113 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index610.js +64 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index611.js +138 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index612.js +28 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index613.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index614.js +87 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index615.js +3 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index616.js +26 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index617.js +67 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index618.js +1 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index619.js +65 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index620.js +32 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index621.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index622.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index623.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index624.js +29 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index625.js +27 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index626.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index627.js +97 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +27 -27
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +37 -49
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +1707 -1678
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index628.js +0 -97
|
@@ -1,125 +1,7 @@
|
|
|
1
|
-
import { Button as e } from "./index55.js";
|
|
2
|
-
import { Select as t, SelectContent as n, SelectItem as r, SelectTrigger as i, SelectValue as a } from "./index107.js";
|
|
3
|
-
import { Table as o, TableBody as s, TableCell as c, TableHead as l, TableHeader as u, TableRow as d } from "./index254.js";
|
|
4
|
-
import { useEffect as f, useState as p } from "react";
|
|
5
|
-
import { flexRender as m, getCoreRowModel as h, useReactTable as g } from "@tanstack/react-table";
|
|
6
|
-
import { ArrowDown as _, ArrowUp as v, ArrowUpDown as y, ChevronLeft as b, ChevronRight as x } from "lucide-react";
|
|
7
|
-
import { Fragment as S, jsx as C, jsxs as w } from "@emotion/react/jsx-runtime";
|
|
8
|
-
import { useLingui as T } from "@lingui/react";
|
|
9
|
-
import { twMerge as E } from "tailwind-merge";
|
|
10
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js
|
|
11
|
-
function
|
|
12
|
-
let
|
|
13
|
-
|
|
14
|
-
!j && R !== 0 && z(0);
|
|
15
|
-
}, [j, R]);
|
|
16
|
-
let B = v.length === 0 ? 0 : R + 1, V = R + v.length, H = I ? `${B}-${V} ${I}` : `${B}-${V}`, U = g({
|
|
17
|
-
data: v,
|
|
18
|
-
columns: _,
|
|
19
|
-
getCoreRowModel: h(),
|
|
20
|
-
manualPagination: !0,
|
|
21
|
-
manualSorting: !0,
|
|
22
|
-
enableMultiSort: !1,
|
|
23
|
-
onSortingChange: D,
|
|
24
|
-
state: {
|
|
25
|
-
sorting: y,
|
|
26
|
-
pagination: {
|
|
27
|
-
pageIndex: 0,
|
|
28
|
-
pageSize: O
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
return /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ w("div", {
|
|
33
|
-
className: E("ttw:flex ttw:flex-col ttw:overflow-hidden ttw:min-h-125 ttw:gap-4 ttw:border ttw:border-zinc-100 ttw:rounded-xl ttw:bg-white", P && "ttw:pt-4"),
|
|
34
|
-
children: [P, /* @__PURE__ */ w(o, {
|
|
35
|
-
className: "ttw:border-none",
|
|
36
|
-
children: [/* @__PURE__ */ C(u, { children: U.getHeaderGroups().map((e) => /* @__PURE__ */ C(d, { children: e.headers.map((e) => /* @__PURE__ */ C(l, {
|
|
37
|
-
className: "ttw:p-3 ttw:text-xs ttw:text-zinc-950 ttw:border-b ttw:border-zinc-100 ttw:w-44.5",
|
|
38
|
-
children: e.isPlaceholder ? null : m(e.column.columnDef.header, e.getContext())
|
|
39
|
-
}, e.id)) }, e.id)) }), /* @__PURE__ */ C(s, { children: U.getRowModel().rows?.length ? U.getRowModel().rows.map((e) => /* @__PURE__ */ C(d, {
|
|
40
|
-
onClick: () => N(e.original),
|
|
41
|
-
"data-state": e.getIsSelected() && "selected",
|
|
42
|
-
children: e.getVisibleCells().map((e) => /* @__PURE__ */ C(c, {
|
|
43
|
-
className: "ttw:px-3 ttw:h-13 ttw:font-medium ttw:border-zinc-100 ttw:border-b",
|
|
44
|
-
children: m(e.column.columnDef.cell, e.getContext())
|
|
45
|
-
}, e.id))
|
|
46
|
-
}, e.id)) : /* @__PURE__ */ C(d, { children: /* @__PURE__ */ C(c, {
|
|
47
|
-
colSpan: _.length,
|
|
48
|
-
className: "ttw:min-h-24 ttw:text-center",
|
|
49
|
-
children: F || L._("No results.")
|
|
50
|
-
}) }) })]
|
|
51
|
-
})]
|
|
52
|
-
}), /* @__PURE__ */ w("div", {
|
|
53
|
-
className: "ttw:flex ttw:items-center ttw:justify-end ttw:space-x-6.5 ttw:py-3 ttw:bg-transparent",
|
|
54
|
-
children: [
|
|
55
|
-
/* @__PURE__ */ w("span", {
|
|
56
|
-
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-sm ttw:leading-5 ttw:font-medium ttw:text-zinc-950",
|
|
57
|
-
children: [L._("Rows per page:"), /* @__PURE__ */ w(t, {
|
|
58
|
-
value: String(O),
|
|
59
|
-
onValueChange: (e) => {
|
|
60
|
-
k(Number(e)), M(void 0), z(0);
|
|
61
|
-
},
|
|
62
|
-
children: [/* @__PURE__ */ C(i, {
|
|
63
|
-
size: "sm",
|
|
64
|
-
children: /* @__PURE__ */ C(a, {})
|
|
65
|
-
}), /* @__PURE__ */ w(n, { children: [
|
|
66
|
-
/* @__PURE__ */ C(r, {
|
|
67
|
-
value: "10",
|
|
68
|
-
children: "10"
|
|
69
|
-
}),
|
|
70
|
-
/* @__PURE__ */ C(r, {
|
|
71
|
-
value: "25",
|
|
72
|
-
children: "25"
|
|
73
|
-
}),
|
|
74
|
-
/* @__PURE__ */ C(r, {
|
|
75
|
-
value: "50",
|
|
76
|
-
children: "50"
|
|
77
|
-
}),
|
|
78
|
-
/* @__PURE__ */ C(r, {
|
|
79
|
-
value: "100",
|
|
80
|
-
children: "100"
|
|
81
|
-
})
|
|
82
|
-
] })]
|
|
83
|
-
})]
|
|
84
|
-
}),
|
|
85
|
-
/* @__PURE__ */ C("span", {
|
|
86
|
-
className: "ttw:text-sm ttw:leading-5 ttw:font-medium ttw:text-zinc-950",
|
|
87
|
-
children: H
|
|
88
|
-
}),
|
|
89
|
-
/* @__PURE__ */ w("div", {
|
|
90
|
-
className: "ttw:flex ttw:items-center ttw:space-x-3",
|
|
91
|
-
children: [/* @__PURE__ */ C(e, {
|
|
92
|
-
variant: "ghost",
|
|
93
|
-
className: "ttw:px-2 ttw:py-2 ttw:border ttw:border-zinc-200 ttw:rounded-lg",
|
|
94
|
-
onClick: () => {
|
|
95
|
-
M(j), z((e) => e - O);
|
|
96
|
-
},
|
|
97
|
-
disabled: !j,
|
|
98
|
-
children: /* @__PURE__ */ C(b, {})
|
|
99
|
-
}), /* @__PURE__ */ C(e, {
|
|
100
|
-
variant: "ghost",
|
|
101
|
-
className: "ttw:px-2 ttw:py-2 ttw:border ttw:border-zinc-200 ttw:rounded-lg",
|
|
102
|
-
onClick: () => {
|
|
103
|
-
M(A), z((e) => e + O);
|
|
104
|
-
},
|
|
105
|
-
disabled: !A,
|
|
106
|
-
children: /* @__PURE__ */ C(x, {})
|
|
107
|
-
})]
|
|
108
|
-
})
|
|
109
|
-
]
|
|
110
|
-
})] });
|
|
111
|
-
}
|
|
112
|
-
function O({ column: t, title: n, ariaLabel: r }) {
|
|
113
|
-
let i = t.getIsSorted();
|
|
114
|
-
return /* @__PURE__ */ w("div", {
|
|
115
|
-
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
|
|
116
|
-
children: [n, /* @__PURE__ */ C(e, {
|
|
117
|
-
variant: "ghost",
|
|
118
|
-
"aria-label": r,
|
|
119
|
-
onClick: () => t.toggleSorting(i === "asc"),
|
|
120
|
-
children: C(i === "asc" ? v : i === "desc" ? _ : y, { className: "ttw:size-4" })
|
|
121
|
-
})]
|
|
122
|
-
});
|
|
2
|
+
function e() {
|
|
3
|
+
let e = window.getSelection();
|
|
4
|
+
return !!e && !!e.toString();
|
|
123
5
|
}
|
|
124
6
|
//#endregion
|
|
125
|
-
export {
|
|
7
|
+
export { e as hasSelectedText };
|
|
@@ -1,7 +1,191 @@
|
|
|
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 "./index46.js";
|
|
4
|
+
import { getCounterpartName as n } from "./index52.js";
|
|
5
|
+
import { useCurrencies as r } from "./index62.js";
|
|
6
|
+
import { Button as ee } from "./index55.js";
|
|
7
|
+
import { useCounterpartList as i } from "./index131.js";
|
|
8
|
+
import { MoniteScopedProviders as a } from "./index240.js";
|
|
9
|
+
import { LoadingSpinner as o } from "./index50.js";
|
|
10
|
+
import { useUserPermissions as s } from "./index118.js";
|
|
11
|
+
import { useGetReceivablesAnalytics as c } from "./index204.js";
|
|
12
|
+
import { FILTER_TYPE_SEARCH as l } from "./index244.js";
|
|
13
|
+
import { CounterpartTableFilters as u } from "./index245.js";
|
|
14
|
+
import { CounterPartCellByData as d } from "./index246.js";
|
|
15
|
+
import { GetNoRowsOverlay as f } from "./index249.js";
|
|
16
|
+
import { AccessRestriction as te } from "./index250.js";
|
|
17
|
+
import "./index252.js";
|
|
18
|
+
import { DataTable as ne } from "./index254.js";
|
|
19
|
+
import { hasSelectedText as p } from "./index255.js";
|
|
20
|
+
import { useMemo as m, useState as h } from "react";
|
|
21
|
+
import { ArrowDown as g, ArrowUp as _, ArrowUpDown as v } from "lucide-react";
|
|
22
|
+
import { jsx as y, jsxs as b } from "@emotion/react/jsx-runtime";
|
|
23
|
+
import { useLingui as x } from "@lingui/react";
|
|
1
24
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js
|
|
2
|
-
|
|
3
|
-
let
|
|
4
|
-
|
|
5
|
-
}
|
|
25
|
+
var S = (e) => /* @__PURE__ */ y(a, { children: /* @__PURE__ */ y(C, { ...e }) }), C = ({ onRowClick: a, onChangeSort: S, onChangeFilter: C, openModal: w }) => {
|
|
26
|
+
let { i18n: T } = x(), { componentSettings: E, api: re } = t(), { formatCurrencyToDisplay: D } = r(), [O, k] = h(void 0), [A, j] = h(E.counterparts.pageSizeOptions[0]), [M, N] = h({}), [P, F] = h(void 0), I = s(), L = I.has(e.CounterpartReadOrg);
|
|
27
|
+
I.has(e.CounterpartWriteOrg), I.has(e.CounterpartWriteOrg);
|
|
28
|
+
let { data: R, isLoading: z, refetch: B, isError: V } = i({ query: {
|
|
29
|
+
sort: P?.field,
|
|
30
|
+
order: P?.sort,
|
|
31
|
+
limit: A || void 0,
|
|
32
|
+
pagination_token: O,
|
|
33
|
+
type: M.type || void 0,
|
|
34
|
+
counterpart_name__icontains: M.search || void 0,
|
|
35
|
+
is_customer: !0
|
|
36
|
+
} }), H = m(() => R?.data.map((e) => e.id) ?? [], [R]), U = re.finops.getCounterpartsIdAddresses.useQueries({ queries: H.map((e) => ({ parameters: { path: { counterpart_id: e } } })) }), W = m(() => new Map(H.map((e, t) => [e, U[t]?.data])), [H, U]), { data: G, isLoading: K } = c({
|
|
37
|
+
dimension: "counterpart_id",
|
|
38
|
+
metric: "total_amount",
|
|
39
|
+
aggregation_function: "summary",
|
|
40
|
+
type: "invoice",
|
|
41
|
+
status__in: [
|
|
42
|
+
"issued",
|
|
43
|
+
"overdue",
|
|
44
|
+
"partially_paid",
|
|
45
|
+
"paid"
|
|
46
|
+
],
|
|
47
|
+
counterpart_id__in: H
|
|
48
|
+
}), q = m(() => new Map(G?.data.map(({ dimension_value: e, metric_value: t }) => [e, t]) ?? []), [G]), { data: J, isLoading: Y } = c({
|
|
49
|
+
dimension: "counterpart_id",
|
|
50
|
+
metric: "amount_due",
|
|
51
|
+
aggregation_function: "summary",
|
|
52
|
+
type: "invoice",
|
|
53
|
+
status__in: [
|
|
54
|
+
"issued",
|
|
55
|
+
"overdue",
|
|
56
|
+
"partially_paid"
|
|
57
|
+
],
|
|
58
|
+
counterpart_id__in: H
|
|
59
|
+
}), X = m(() => new Map(J?.data.map(({ dimension_value: e, metric_value: t }) => [e, t]) ?? []), [J]), Z = P ? [{
|
|
60
|
+
id: P.field,
|
|
61
|
+
desc: P.sort === "desc"
|
|
62
|
+
}] : [], ie = (e) => {
|
|
63
|
+
let t = typeof e == "function" ? e(Z) : e;
|
|
64
|
+
if (t.length > 0) {
|
|
65
|
+
let e = {
|
|
66
|
+
field: t[0].id,
|
|
67
|
+
sort: t[0].desc ? "desc" : "asc"
|
|
68
|
+
};
|
|
69
|
+
F(e), S?.(e);
|
|
70
|
+
} else F(void 0);
|
|
71
|
+
k(void 0);
|
|
72
|
+
}, ae = (e, t) => {
|
|
73
|
+
k(void 0), N((n) => ({
|
|
74
|
+
...n,
|
|
75
|
+
[e]: t === "all" ? null : t
|
|
76
|
+
})), C?.({
|
|
77
|
+
field: e,
|
|
78
|
+
value: t
|
|
79
|
+
});
|
|
80
|
+
}, oe = m(() => [
|
|
81
|
+
{
|
|
82
|
+
accessorKey: "counterpart_name",
|
|
83
|
+
header: ({ column: e }) => {
|
|
84
|
+
let t = e.getIsSorted();
|
|
85
|
+
return /* @__PURE__ */ b("div", {
|
|
86
|
+
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
|
|
87
|
+
children: [T._("Name"), /* @__PURE__ */ y(ee, {
|
|
88
|
+
variant: "ghost",
|
|
89
|
+
onClick: () => e.toggleSorting(t === "asc"),
|
|
90
|
+
children: y(t === "asc" ? _ : t === "desc" ? g : v, { className: "ttw:size-4" })
|
|
91
|
+
})]
|
|
92
|
+
});
|
|
93
|
+
},
|
|
94
|
+
cell: ({ row: e }) => {
|
|
95
|
+
let t = W.get(e.original.id);
|
|
96
|
+
return /* @__PURE__ */ y(d, {
|
|
97
|
+
name: n(e.original),
|
|
98
|
+
country: t?.data[0]?.country,
|
|
99
|
+
city: t?.data[0]?.city
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
accessorKey: "total_billed",
|
|
105
|
+
header: () => /* @__PURE__ */ y("div", {
|
|
106
|
+
className: "ttw:text-right",
|
|
107
|
+
children: T._("Billed amount")
|
|
108
|
+
}),
|
|
109
|
+
cell: ({ row: e }) => {
|
|
110
|
+
let t = q.get(e.original.id) ?? 0;
|
|
111
|
+
return /* @__PURE__ */ y("div", {
|
|
112
|
+
className: "ttw:text-right",
|
|
113
|
+
children: K ? /* @__PURE__ */ y(o, { className: "ttw:ml-auto ttw:w-4 ttw:h-4" }) : D(t, "USD")
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
id: "total_received",
|
|
119
|
+
header: () => /* @__PURE__ */ y("div", {
|
|
120
|
+
className: "ttw:text-right",
|
|
121
|
+
children: T._("Received amount")
|
|
122
|
+
}),
|
|
123
|
+
cell: ({ row: e }) => {
|
|
124
|
+
let t = (q.get(e.original.id) ?? 0) - (X.get(e.original.id) ?? 0);
|
|
125
|
+
return /* @__PURE__ */ y("div", {
|
|
126
|
+
className: "ttw:text-right",
|
|
127
|
+
children: Y || K ? /* @__PURE__ */ y(o, { className: "ttw:ml-auto ttw:w-4 ttw:h-4" }) : D(t, "USD")
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
id: "total_due",
|
|
133
|
+
header: () => /* @__PURE__ */ y("div", {
|
|
134
|
+
className: "ttw:text-right",
|
|
135
|
+
children: T._("Amount due")
|
|
136
|
+
}),
|
|
137
|
+
cell: ({ row: e }) => {
|
|
138
|
+
let t = X.get(e.original.id) ?? 0;
|
|
139
|
+
return /* @__PURE__ */ y("div", {
|
|
140
|
+
className: "ttw:text-right",
|
|
141
|
+
children: Y ? /* @__PURE__ */ y(o, { className: "ttw:ml-auto ttw:w-4 ttw:h-4" }) : D(t, "USD")
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
], [
|
|
146
|
+
T,
|
|
147
|
+
W,
|
|
148
|
+
q,
|
|
149
|
+
X,
|
|
150
|
+
D
|
|
151
|
+
]);
|
|
152
|
+
if (!L) return /* @__PURE__ */ y(te, {});
|
|
153
|
+
let Q = Object.keys(M).some((e) => M[e] !== null && M[e] !== void 0), $ = !!M[l];
|
|
154
|
+
return /* @__PURE__ */ y("div", {
|
|
155
|
+
className: "ttw:flex ttw:flex-col ttw:overflow-hidden ttw:min-h-125",
|
|
156
|
+
children: /* @__PURE__ */ y(ne, {
|
|
157
|
+
columns: oe,
|
|
158
|
+
data: R?.data ?? [],
|
|
159
|
+
sorting: Z,
|
|
160
|
+
onSortingChange: ie,
|
|
161
|
+
pageSize: A,
|
|
162
|
+
onPageSizeChange: j,
|
|
163
|
+
nextPaginationToken: R?.next_pagination_token ?? void 0,
|
|
164
|
+
prevPaginationToken: R?.prev_pagination_token ?? void 0,
|
|
165
|
+
onPaginationTokenChange: k,
|
|
166
|
+
onRowClick: (e) => {
|
|
167
|
+
p() || a?.(e.id);
|
|
168
|
+
},
|
|
169
|
+
filterComponent: /* @__PURE__ */ y(u, {
|
|
170
|
+
isDisabled: !Q && !$ && !R?.data?.length,
|
|
171
|
+
onChangeFilter: ae
|
|
172
|
+
}),
|
|
173
|
+
children: /* @__PURE__ */ y(f, {
|
|
174
|
+
noDataTitle: T._("No customers yet"),
|
|
175
|
+
noDataDescription1: T._("You don't have any customers yet."),
|
|
176
|
+
filterTitle: T._("No customers found"),
|
|
177
|
+
isLoading: z,
|
|
178
|
+
dataLength: R?.data.length || 0,
|
|
179
|
+
isFiltering: Q,
|
|
180
|
+
isSearching: $,
|
|
181
|
+
isError: V,
|
|
182
|
+
onCreate: () => w?.(!0),
|
|
183
|
+
refetch: B,
|
|
184
|
+
entityName: T._("Customer"),
|
|
185
|
+
actionButtonLabel: T._("Create new")
|
|
186
|
+
})
|
|
187
|
+
})
|
|
188
|
+
});
|
|
189
|
+
};
|
|
6
190
|
//#endregion
|
|
7
|
-
export {
|
|
191
|
+
export { S as CustomersTable };
|
|
@@ -2,98 +2,105 @@ import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
|
|
|
2
2
|
import "../../shared/data-access/dist/index.js";
|
|
3
3
|
import { useMoniteContext as t } from "./index46.js";
|
|
4
4
|
import { getCounterpartName as n } from "./index52.js";
|
|
5
|
-
import { useCurrencies as
|
|
6
|
-
import { Button as
|
|
5
|
+
import { useCurrencies as ee } from "./index62.js";
|
|
6
|
+
import { Button as te } from "./index55.js";
|
|
7
|
+
import { useGetPayablesAnalytics as r } from "./index119.js";
|
|
7
8
|
import { useCounterpartList as i } from "./index131.js";
|
|
8
|
-
import { MoniteScopedProviders as a } from "./
|
|
9
|
+
import { MoniteScopedProviders as a } from "./index240.js";
|
|
9
10
|
import { LoadingSpinner as o } from "./index50.js";
|
|
10
|
-
import { useUserPermissions as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import "./
|
|
18
|
-
import {
|
|
19
|
-
import { hasSelectedText as p } from "./index256.js";
|
|
11
|
+
import { useUserPermissions as ne } from "./index118.js";
|
|
12
|
+
import { FILTER_TYPE_SEARCH as s } from "./index244.js";
|
|
13
|
+
import { CounterpartTableFilters as c } from "./index245.js";
|
|
14
|
+
import { CounterPartCellByData as l } from "./index246.js";
|
|
15
|
+
import { GetNoRowsOverlay as u } from "./index249.js";
|
|
16
|
+
import { AccessRestriction as d } from "./index250.js";
|
|
17
|
+
import "./index252.js";
|
|
18
|
+
import { DataTable as f } from "./index254.js";
|
|
19
|
+
import { hasSelectedText as p } from "./index255.js";
|
|
20
20
|
import { useMemo as m, useState as h } from "react";
|
|
21
|
-
import { ArrowDown as
|
|
22
|
-
import { jsx as
|
|
23
|
-
import { useLingui as
|
|
21
|
+
import { ArrowDown as re, ArrowUp as g, ArrowUpDown as _ } from "lucide-react";
|
|
22
|
+
import { jsx as v, jsxs as ie } from "@emotion/react/jsx-runtime";
|
|
23
|
+
import { useLingui as y } from "@lingui/react";
|
|
24
|
+
import { twMerge as b } from "tailwind-merge";
|
|
24
25
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js
|
|
25
|
-
var
|
|
26
|
-
let { i18n:
|
|
27
|
-
|
|
28
|
-
let { data:
|
|
29
|
-
sort:
|
|
30
|
-
order:
|
|
31
|
-
limit:
|
|
32
|
-
pagination_token:
|
|
33
|
-
type:
|
|
34
|
-
counterpart_name__icontains:
|
|
35
|
-
|
|
36
|
-
} }),
|
|
26
|
+
var x = (e) => /* @__PURE__ */ v(a, { children: /* @__PURE__ */ v(S, { ...e }) }), S = ({ onRowClick: a, onChangeSort: x, onChangeFilter: S, openModal: C }) => {
|
|
27
|
+
let { i18n: w } = y(), { componentSettings: T, api: ae } = t(), { formatCurrencyToDisplay: E } = ee(), [oe, D] = h(void 0), [O, se] = h(T.counterparts.pageSizeOptions[0] ?? 10), [k, A] = h({}), [j, M] = h(void 0), N = ne(), P = N.has(e.CounterpartReadOrg);
|
|
28
|
+
N.has(e.CounterpartWriteOrg), N.has(e.CounterpartWriteOrg);
|
|
29
|
+
let { data: F, isLoading: I, refetch: L, isError: R } = i({ query: {
|
|
30
|
+
sort: j?.field,
|
|
31
|
+
order: j?.sort,
|
|
32
|
+
limit: O || void 0,
|
|
33
|
+
pagination_token: oe,
|
|
34
|
+
type: k.type || void 0,
|
|
35
|
+
counterpart_name__icontains: k.search || void 0,
|
|
36
|
+
is_vendor: !0
|
|
37
|
+
} }), z = m(() => F?.data.map((e) => e.id) ?? [], [F]), B = ae.finops.getCounterpartsIdAddresses.useQueries({ queries: z.map((e) => ({ parameters: { path: { counterpart_id: e } } })) }), V = m(() => new Map(z.map((e, t) => [e, B[t]?.data])), [z, B]), { data: H, isLoading: U } = r({
|
|
37
38
|
dimension: "counterpart_id",
|
|
38
39
|
metric: "total_amount",
|
|
39
40
|
aggregation_function: "summary",
|
|
40
|
-
type: "invoice",
|
|
41
41
|
status__in: [
|
|
42
|
-
"
|
|
43
|
-
"
|
|
42
|
+
"new",
|
|
43
|
+
"approve_in_progress",
|
|
44
|
+
"waiting_to_be_paid",
|
|
44
45
|
"partially_paid",
|
|
45
46
|
"paid"
|
|
46
47
|
],
|
|
47
|
-
counterpart_id__in:
|
|
48
|
-
}),
|
|
48
|
+
counterpart_id__in: z
|
|
49
|
+
}), W = m(() => new Map(H?.data.map(({ dimension_value: e, metric_value: t }) => [e, t]) ?? []), [H]), { data: G, isLoading: K } = r({
|
|
49
50
|
dimension: "counterpart_id",
|
|
50
51
|
metric: "amount_due",
|
|
51
52
|
aggregation_function: "summary",
|
|
52
|
-
type: "invoice",
|
|
53
53
|
status__in: [
|
|
54
|
-
"
|
|
55
|
-
"
|
|
54
|
+
"new",
|
|
55
|
+
"approve_in_progress",
|
|
56
|
+
"waiting_to_be_paid",
|
|
56
57
|
"partially_paid"
|
|
57
58
|
],
|
|
58
|
-
counterpart_id__in:
|
|
59
|
-
}),
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
counterpart_id__in: z
|
|
60
|
+
}), q = m(() => new Map(G?.data.map(({ dimension_value: e, metric_value: t }) => [e, t]) ?? []), [G]), { data: J, isLoading: Y } = r({
|
|
61
|
+
dimension: "counterpart_id",
|
|
62
|
+
metric: "total_amount",
|
|
63
|
+
aggregation_function: "summary",
|
|
64
|
+
status__in: ["rejected"],
|
|
65
|
+
counterpart_id__in: z
|
|
66
|
+
}), X = m(() => new Map(J?.data.map(({ dimension_value: e, metric_value: t }) => [e, t]) ?? []), [J]), Z = j ? [{
|
|
67
|
+
id: j.field,
|
|
68
|
+
desc: j.sort === "desc"
|
|
69
|
+
}] : [], ce = (e) => {
|
|
63
70
|
let t = typeof e == "function" ? e(Z) : e;
|
|
64
71
|
if (t.length > 0) {
|
|
65
72
|
let e = {
|
|
66
73
|
field: t[0].id,
|
|
67
74
|
sort: t[0].desc ? "desc" : "asc"
|
|
68
75
|
};
|
|
69
|
-
|
|
70
|
-
} else
|
|
71
|
-
|
|
72
|
-
},
|
|
73
|
-
|
|
76
|
+
M(e), x?.(e);
|
|
77
|
+
} else M(void 0);
|
|
78
|
+
D(void 0);
|
|
79
|
+
}, le = (e, t) => {
|
|
80
|
+
D(void 0), A((n) => ({
|
|
74
81
|
...n,
|
|
75
82
|
[e]: t === "all" ? null : t
|
|
76
|
-
})),
|
|
83
|
+
})), S?.({
|
|
77
84
|
field: e,
|
|
78
85
|
value: t
|
|
79
86
|
});
|
|
80
|
-
},
|
|
87
|
+
}, ue = m(() => [
|
|
81
88
|
{
|
|
82
89
|
accessorKey: "counterpart_name",
|
|
83
90
|
header: ({ column: e }) => {
|
|
84
91
|
let t = e.getIsSorted();
|
|
85
|
-
return /* @__PURE__ */
|
|
92
|
+
return /* @__PURE__ */ ie("div", {
|
|
86
93
|
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
|
|
87
|
-
children: [
|
|
94
|
+
children: [w._("Name"), /* @__PURE__ */ v(te, {
|
|
88
95
|
variant: "ghost",
|
|
89
96
|
onClick: () => e.toggleSorting(t === "asc"),
|
|
90
|
-
children:
|
|
97
|
+
children: v(t === "asc" ? g : t === "desc" ? re : _, { className: "ttw:size-4" })
|
|
91
98
|
})]
|
|
92
99
|
});
|
|
93
100
|
},
|
|
94
101
|
cell: ({ row: e }) => {
|
|
95
|
-
let t =
|
|
96
|
-
return /* @__PURE__ */
|
|
102
|
+
let t = V.get(e.original.id);
|
|
103
|
+
return /* @__PURE__ */ v(l, {
|
|
97
104
|
name: n(e.original),
|
|
98
105
|
country: t?.data[0]?.country,
|
|
99
106
|
city: t?.data[0]?.city
|
|
@@ -102,90 +109,108 @@ var S = (e) => /* @__PURE__ */ y(a, { children: /* @__PURE__ */ y(C, { ...e }) }
|
|
|
102
109
|
},
|
|
103
110
|
{
|
|
104
111
|
accessorKey: "total_billed",
|
|
105
|
-
header: () => /* @__PURE__ */
|
|
112
|
+
header: () => /* @__PURE__ */ v("div", {
|
|
106
113
|
className: "ttw:text-right",
|
|
107
|
-
children:
|
|
114
|
+
children: w._("Billed amount")
|
|
108
115
|
}),
|
|
109
116
|
cell: ({ row: e }) => {
|
|
110
|
-
let t =
|
|
111
|
-
return /* @__PURE__ */
|
|
117
|
+
let t = W.get(e.original.id) ?? 0;
|
|
118
|
+
return /* @__PURE__ */ v("div", {
|
|
112
119
|
className: "ttw:text-right",
|
|
113
|
-
children:
|
|
120
|
+
children: U ? /* @__PURE__ */ v(o, { className: "ttw:ml-auto ttw:w-4 ttw:h-4" }) : E(t, "USD")
|
|
114
121
|
});
|
|
115
122
|
}
|
|
116
123
|
},
|
|
117
124
|
{
|
|
118
|
-
id: "
|
|
119
|
-
header: () => /* @__PURE__ */
|
|
125
|
+
id: "total_paid",
|
|
126
|
+
header: () => /* @__PURE__ */ v("div", {
|
|
120
127
|
className: "ttw:text-right",
|
|
121
|
-
children:
|
|
128
|
+
children: w._("Total paid to date")
|
|
122
129
|
}),
|
|
123
130
|
cell: ({ row: e }) => {
|
|
124
|
-
let t = (
|
|
125
|
-
return /* @__PURE__ */
|
|
126
|
-
className: "ttw:text-right",
|
|
127
|
-
children:
|
|
131
|
+
let t = (W.get(e.original.id) ?? 0) - (q.get(e.original.id) ?? 0);
|
|
132
|
+
return /* @__PURE__ */ v("div", {
|
|
133
|
+
className: b("ttw:text-right", t > 0 && "ttw:text-green-700"),
|
|
134
|
+
children: U || K ? /* @__PURE__ */ v(o, { className: "ttw:ml-auto ttw:w-4 ttw:h-4" }) : E(t, "USD")
|
|
128
135
|
});
|
|
129
136
|
}
|
|
130
137
|
},
|
|
131
138
|
{
|
|
132
|
-
id: "
|
|
133
|
-
header: () => /* @__PURE__ */
|
|
139
|
+
id: "total_rejected",
|
|
140
|
+
header: () => /* @__PURE__ */ v("div", {
|
|
134
141
|
className: "ttw:text-right",
|
|
135
|
-
children:
|
|
142
|
+
children: w._("Rejected amount")
|
|
136
143
|
}),
|
|
137
144
|
cell: ({ row: e }) => {
|
|
138
145
|
let t = X.get(e.original.id) ?? 0;
|
|
139
|
-
return /* @__PURE__ */
|
|
146
|
+
return /* @__PURE__ */ v("div", {
|
|
147
|
+
className: b("ttw:text-right", t > 0 && "ttw:text-orange-700"),
|
|
148
|
+
children: Y ? /* @__PURE__ */ v(o, { className: "ttw:ml-auto ttw:w-4 ttw:h-4" }) : E(t, "USD")
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
id: "total_owed",
|
|
154
|
+
header: () => /* @__PURE__ */ v("div", {
|
|
155
|
+
className: "ttw:text-right",
|
|
156
|
+
children: w._("Balance due")
|
|
157
|
+
}),
|
|
158
|
+
cell: ({ row: e }) => {
|
|
159
|
+
let t = q.get(e.original.id) ?? 0;
|
|
160
|
+
return /* @__PURE__ */ v("div", {
|
|
140
161
|
className: "ttw:text-right",
|
|
141
|
-
children:
|
|
162
|
+
children: K ? /* @__PURE__ */ v(o, { className: "ttw:ml-auto ttw:w-4 ttw:h-4" }) : E(t, "USD")
|
|
142
163
|
});
|
|
143
164
|
}
|
|
144
165
|
}
|
|
145
166
|
], [
|
|
146
|
-
|
|
167
|
+
w,
|
|
168
|
+
V,
|
|
169
|
+
U,
|
|
170
|
+
K,
|
|
171
|
+
Y,
|
|
147
172
|
W,
|
|
148
173
|
q,
|
|
149
174
|
X,
|
|
150
|
-
|
|
175
|
+
E
|
|
151
176
|
]);
|
|
152
|
-
if (!
|
|
153
|
-
let Q = Object.keys(
|
|
154
|
-
return /* @__PURE__ */
|
|
177
|
+
if (!P) return /* @__PURE__ */ v(d, {});
|
|
178
|
+
let Q = Object.keys(k).some((e) => k[e] !== null && k[e] !== void 0), $ = !!k[s];
|
|
179
|
+
return /* @__PURE__ */ v("div", {
|
|
155
180
|
className: "ttw:flex ttw:flex-col ttw:overflow-hidden ttw:min-h-125",
|
|
156
|
-
children: /* @__PURE__ */
|
|
157
|
-
columns:
|
|
158
|
-
data:
|
|
181
|
+
children: /* @__PURE__ */ v(f, {
|
|
182
|
+
columns: ue,
|
|
183
|
+
data: F?.data ?? [],
|
|
159
184
|
sorting: Z,
|
|
160
|
-
onSortingChange:
|
|
161
|
-
pageSize:
|
|
162
|
-
onPageSizeChange:
|
|
163
|
-
nextPaginationToken:
|
|
164
|
-
prevPaginationToken:
|
|
165
|
-
onPaginationTokenChange:
|
|
185
|
+
onSortingChange: ce,
|
|
186
|
+
pageSize: O,
|
|
187
|
+
onPageSizeChange: se,
|
|
188
|
+
nextPaginationToken: F?.next_pagination_token ?? void 0,
|
|
189
|
+
prevPaginationToken: F?.prev_pagination_token ?? void 0,
|
|
190
|
+
onPaginationTokenChange: D,
|
|
166
191
|
onRowClick: (e) => {
|
|
167
192
|
p() || a?.(e.id);
|
|
168
193
|
},
|
|
169
|
-
filterComponent: /* @__PURE__ */
|
|
170
|
-
isDisabled: !Q && !$ && !
|
|
171
|
-
onChangeFilter:
|
|
194
|
+
filterComponent: /* @__PURE__ */ v(c, {
|
|
195
|
+
isDisabled: !Q && !$ && !F?.data?.length,
|
|
196
|
+
onChangeFilter: le
|
|
172
197
|
}),
|
|
173
|
-
children: /* @__PURE__ */
|
|
174
|
-
noDataTitle:
|
|
175
|
-
noDataDescription1:
|
|
176
|
-
filterTitle:
|
|
177
|
-
isLoading:
|
|
178
|
-
dataLength:
|
|
198
|
+
children: /* @__PURE__ */ v(u, {
|
|
199
|
+
noDataTitle: w._("Build your vendors list."),
|
|
200
|
+
noDataDescription1: w._("Save the people and businesses you pay so you can send payments when bills come in."),
|
|
201
|
+
filterTitle: w._("No vendors found"),
|
|
202
|
+
isLoading: I,
|
|
203
|
+
dataLength: F?.data.length || 0,
|
|
179
204
|
isFiltering: Q,
|
|
180
205
|
isSearching: $,
|
|
181
|
-
isError:
|
|
182
|
-
onCreate: () =>
|
|
183
|
-
refetch:
|
|
184
|
-
entityName:
|
|
185
|
-
actionButtonLabel:
|
|
206
|
+
isError: R,
|
|
207
|
+
onCreate: () => C?.(!0),
|
|
208
|
+
refetch: L,
|
|
209
|
+
entityName: w._("Vendor"),
|
|
210
|
+
actionButtonLabel: w._("Add your first vendor")
|
|
186
211
|
})
|
|
187
212
|
})
|
|
188
213
|
});
|
|
189
214
|
};
|
|
190
215
|
//#endregion
|
|
191
|
-
export {
|
|
216
|
+
export { x as VendorsTable };
|