@tesouro/embedded-components-react 0.2.241 → 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/invoicing-widget/feature/dist/index3.js +1 -1
- 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/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
|
@@ -1,7 +1,113 @@
|
|
|
1
|
+
import { Button as e } from "./index56.js";
|
|
2
|
+
import { Select as t, SelectContent as n, SelectItem as r, SelectTrigger as i, SelectValue as a } from "./index101.js";
|
|
3
|
+
import { Table as o, TableBody as s, TableCell as c, TableHead as l, TableHeader as u, TableRow as d } from "./index239.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 { ChevronLeft as _, ChevronRight as v } from "lucide-react";
|
|
7
|
+
import { Fragment as y, jsx as b, jsxs as x } from "@emotion/react/jsx-runtime";
|
|
8
|
+
import { useLingui as S } from "@lingui/react";
|
|
9
|
+
import { twMerge as C } from "tailwind-merge";
|
|
1
10
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js
|
|
2
|
-
function
|
|
3
|
-
let
|
|
4
|
-
|
|
11
|
+
function w({ columns: w, data: T, sorting: E, onSortingChange: D, pageSize: O, onPageSizeChange: k, nextPaginationToken: A, prevPaginationToken: j, onPaginationTokenChange: M, onRowClick: N, filterComponent: P, children: F, rowLabel: I }) {
|
|
12
|
+
let { i18n: L } = S(), [R, z] = p(0);
|
|
13
|
+
f(() => {
|
|
14
|
+
!j && R !== 0 && z(0);
|
|
15
|
+
}, [j, R]);
|
|
16
|
+
let B = T.length === 0 ? 0 : R + 1, V = R + T.length, H = I ? `${B}-${V} ${I}` : `${B}-${V}`, U = g({
|
|
17
|
+
data: T,
|
|
18
|
+
columns: w,
|
|
19
|
+
getCoreRowModel: h(),
|
|
20
|
+
manualPagination: !0,
|
|
21
|
+
manualSorting: !0,
|
|
22
|
+
enableMultiSort: !1,
|
|
23
|
+
onSortingChange: D,
|
|
24
|
+
state: {
|
|
25
|
+
sorting: E,
|
|
26
|
+
pagination: {
|
|
27
|
+
pageIndex: 0,
|
|
28
|
+
pageSize: O
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x("div", {
|
|
33
|
+
className: C("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__ */ x(o, {
|
|
35
|
+
className: "ttw:border-none",
|
|
36
|
+
children: [/* @__PURE__ */ b(u, { children: U.getHeaderGroups().map((e) => /* @__PURE__ */ b(d, { children: e.headers.map((e) => /* @__PURE__ */ b(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__ */ b(s, { children: U.getRowModel().rows?.length ? U.getRowModel().rows.map((e) => /* @__PURE__ */ b(d, {
|
|
40
|
+
onClick: () => N(e.original),
|
|
41
|
+
"data-state": e.getIsSelected() && "selected",
|
|
42
|
+
children: e.getVisibleCells().map((e) => /* @__PURE__ */ b(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__ */ b(d, { children: /* @__PURE__ */ b(c, {
|
|
47
|
+
colSpan: w.length,
|
|
48
|
+
className: "ttw:min-h-24 ttw:text-center",
|
|
49
|
+
children: F || L._("No results.")
|
|
50
|
+
}) }) })]
|
|
51
|
+
})]
|
|
52
|
+
}), /* @__PURE__ */ x("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__ */ x("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__ */ x(t, {
|
|
58
|
+
value: String(O),
|
|
59
|
+
onValueChange: (e) => {
|
|
60
|
+
k(Number(e)), M(void 0), z(0);
|
|
61
|
+
},
|
|
62
|
+
children: [/* @__PURE__ */ b(i, {
|
|
63
|
+
size: "sm",
|
|
64
|
+
children: /* @__PURE__ */ b(a, {})
|
|
65
|
+
}), /* @__PURE__ */ x(n, { children: [
|
|
66
|
+
/* @__PURE__ */ b(r, {
|
|
67
|
+
value: "10",
|
|
68
|
+
children: "10"
|
|
69
|
+
}),
|
|
70
|
+
/* @__PURE__ */ b(r, {
|
|
71
|
+
value: "25",
|
|
72
|
+
children: "25"
|
|
73
|
+
}),
|
|
74
|
+
/* @__PURE__ */ b(r, {
|
|
75
|
+
value: "50",
|
|
76
|
+
children: "50"
|
|
77
|
+
}),
|
|
78
|
+
/* @__PURE__ */ b(r, {
|
|
79
|
+
value: "100",
|
|
80
|
+
children: "100"
|
|
81
|
+
})
|
|
82
|
+
] })]
|
|
83
|
+
})]
|
|
84
|
+
}),
|
|
85
|
+
/* @__PURE__ */ b("span", {
|
|
86
|
+
className: "ttw:text-sm ttw:leading-5 ttw:font-medium ttw:text-zinc-950",
|
|
87
|
+
children: H
|
|
88
|
+
}),
|
|
89
|
+
/* @__PURE__ */ x("div", {
|
|
90
|
+
className: "ttw:flex ttw:items-center ttw:space-x-3",
|
|
91
|
+
children: [/* @__PURE__ */ b(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__ */ b(_, {})
|
|
99
|
+
}), /* @__PURE__ */ b(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__ */ b(v, {})
|
|
107
|
+
})]
|
|
108
|
+
})
|
|
109
|
+
]
|
|
110
|
+
})] });
|
|
5
111
|
}
|
|
6
112
|
//#endregion
|
|
7
|
-
export {
|
|
113
|
+
export { w as DataTable };
|
|
@@ -1,191 +1,7 @@
|
|
|
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 { getCounterpartName as n } from "./index53.js";
|
|
5
|
-
import { useCurrencies as r } from "./index63.js";
|
|
6
|
-
import { Button as ee } from "./index56.js";
|
|
7
|
-
import { useCounterpartList as i } from "./index125.js";
|
|
8
|
-
import { MoniteScopedProviders as a } from "./index209.js";
|
|
9
|
-
import { LoadingSpinner as o } from "./index51.js";
|
|
10
|
-
import { useUserPermissions as s } from "./index112.js";
|
|
11
|
-
import { useGetReceivablesAnalytics as c } from "./index170.js";
|
|
12
|
-
import { FILTER_TYPE_SEARCH as l } from "./index229.js";
|
|
13
|
-
import { CounterpartTableFilters as u } from "./index230.js";
|
|
14
|
-
import { CounterPartCellByData as d } from "./index231.js";
|
|
15
|
-
import { GetNoRowsOverlay as f } from "./index234.js";
|
|
16
|
-
import { AccessRestriction as te } from "./index235.js";
|
|
17
|
-
import "./index237.js";
|
|
18
|
-
import { DataTable as ne } from "./index239.js";
|
|
19
|
-
import { hasSelectedText as p } from "./index240.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";
|
|
24
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js
|
|
25
|
-
|
|
26
|
-
let
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
};
|
|
2
|
+
function e() {
|
|
3
|
+
let e = window.getSelection();
|
|
4
|
+
return !!e && !!e.toString();
|
|
5
|
+
}
|
|
190
6
|
//#endregion
|
|
191
|
-
export {
|
|
7
|
+
export { e as hasSelectedText };
|
|
@@ -2,105 +2,98 @@ 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 "./index47.js";
|
|
4
4
|
import { getCounterpartName as n } from "./index53.js";
|
|
5
|
-
import { useCurrencies as
|
|
6
|
-
import { Button as
|
|
7
|
-
import { useGetPayablesAnalytics as r } from "./index113.js";
|
|
5
|
+
import { useCurrencies as r } from "./index63.js";
|
|
6
|
+
import { Button as ee } from "./index56.js";
|
|
8
7
|
import { useCounterpartList as i } from "./index125.js";
|
|
9
8
|
import { MoniteScopedProviders as a } from "./index209.js";
|
|
10
9
|
import { LoadingSpinner as o } from "./index51.js";
|
|
11
|
-
import { useUserPermissions as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import "./
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
10
|
+
import { useUserPermissions as s } from "./index112.js";
|
|
11
|
+
import { useGetReceivablesAnalytics as c } from "./index170.js";
|
|
12
|
+
import { FILTER_TYPE_SEARCH as l } from "./index230.js";
|
|
13
|
+
import { CounterpartTableFilters as u } from "./index231.js";
|
|
14
|
+
import { CounterPartCellByData as d } from "./index232.js";
|
|
15
|
+
import { GetNoRowsOverlay as f } from "./index235.js";
|
|
16
|
+
import { AccessRestriction as te } from "./index236.js";
|
|
17
|
+
import "./index238.js";
|
|
18
|
+
import { DataTable as ne } from "./index240.js";
|
|
19
|
+
import { hasSelectedText as p } from "./index241.js";
|
|
20
20
|
import { useMemo as m, useState as h } from "react";
|
|
21
|
-
import { ArrowDown as
|
|
22
|
-
import { jsx as
|
|
23
|
-
import { useLingui as
|
|
24
|
-
import { twMerge as b } from "tailwind-merge";
|
|
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";
|
|
25
24
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js
|
|
26
|
-
var
|
|
27
|
-
let { i18n:
|
|
28
|
-
|
|
29
|
-
let { data:
|
|
30
|
-
sort:
|
|
31
|
-
order:
|
|
32
|
-
limit:
|
|
33
|
-
pagination_token:
|
|
34
|
-
type:
|
|
35
|
-
counterpart_name__icontains:
|
|
36
|
-
|
|
37
|
-
} }),
|
|
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({
|
|
38
37
|
dimension: "counterpart_id",
|
|
39
38
|
metric: "total_amount",
|
|
40
39
|
aggregation_function: "summary",
|
|
40
|
+
type: "invoice",
|
|
41
41
|
status__in: [
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"waiting_to_be_paid",
|
|
42
|
+
"issued",
|
|
43
|
+
"overdue",
|
|
45
44
|
"partially_paid",
|
|
46
45
|
"paid"
|
|
47
46
|
],
|
|
48
|
-
counterpart_id__in:
|
|
49
|
-
}),
|
|
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({
|
|
50
49
|
dimension: "counterpart_id",
|
|
51
50
|
metric: "amount_due",
|
|
52
51
|
aggregation_function: "summary",
|
|
52
|
+
type: "invoice",
|
|
53
53
|
status__in: [
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"waiting_to_be_paid",
|
|
54
|
+
"issued",
|
|
55
|
+
"overdue",
|
|
57
56
|
"partially_paid"
|
|
58
57
|
],
|
|
59
|
-
counterpart_id__in:
|
|
60
|
-
}),
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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) => {
|
|
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) => {
|
|
70
63
|
let t = typeof e == "function" ? e(Z) : e;
|
|
71
64
|
if (t.length > 0) {
|
|
72
65
|
let e = {
|
|
73
66
|
field: t[0].id,
|
|
74
67
|
sort: t[0].desc ? "desc" : "asc"
|
|
75
68
|
};
|
|
76
|
-
|
|
77
|
-
} else
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
|
|
69
|
+
F(e), S?.(e);
|
|
70
|
+
} else F(void 0);
|
|
71
|
+
k(void 0);
|
|
72
|
+
}, ae = (e, t) => {
|
|
73
|
+
k(void 0), N((n) => ({
|
|
81
74
|
...n,
|
|
82
75
|
[e]: t === "all" ? null : t
|
|
83
|
-
})),
|
|
76
|
+
})), C?.({
|
|
84
77
|
field: e,
|
|
85
78
|
value: t
|
|
86
79
|
});
|
|
87
|
-
},
|
|
80
|
+
}, oe = m(() => [
|
|
88
81
|
{
|
|
89
82
|
accessorKey: "counterpart_name",
|
|
90
83
|
header: ({ column: e }) => {
|
|
91
84
|
let t = e.getIsSorted();
|
|
92
|
-
return /* @__PURE__ */
|
|
85
|
+
return /* @__PURE__ */ b("div", {
|
|
93
86
|
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
|
|
94
|
-
children: [
|
|
87
|
+
children: [T._("Name"), /* @__PURE__ */ y(ee, {
|
|
95
88
|
variant: "ghost",
|
|
96
89
|
onClick: () => e.toggleSorting(t === "asc"),
|
|
97
|
-
children:
|
|
90
|
+
children: y(t === "asc" ? _ : t === "desc" ? g : v, { className: "ttw:size-4" })
|
|
98
91
|
})]
|
|
99
92
|
});
|
|
100
93
|
},
|
|
101
94
|
cell: ({ row: e }) => {
|
|
102
|
-
let t =
|
|
103
|
-
return /* @__PURE__ */
|
|
95
|
+
let t = W.get(e.original.id);
|
|
96
|
+
return /* @__PURE__ */ y(d, {
|
|
104
97
|
name: n(e.original),
|
|
105
98
|
country: t?.data[0]?.country,
|
|
106
99
|
city: t?.data[0]?.city
|
|
@@ -109,108 +102,90 @@ var x = (e) => /* @__PURE__ */ v(a, { children: /* @__PURE__ */ v(S, { ...e }) }
|
|
|
109
102
|
},
|
|
110
103
|
{
|
|
111
104
|
accessorKey: "total_billed",
|
|
112
|
-
header: () => /* @__PURE__ */
|
|
105
|
+
header: () => /* @__PURE__ */ y("div", {
|
|
113
106
|
className: "ttw:text-right",
|
|
114
|
-
children:
|
|
107
|
+
children: T._("Billed amount")
|
|
115
108
|
}),
|
|
116
109
|
cell: ({ row: e }) => {
|
|
117
|
-
let t =
|
|
118
|
-
return /* @__PURE__ */
|
|
110
|
+
let t = q.get(e.original.id) ?? 0;
|
|
111
|
+
return /* @__PURE__ */ y("div", {
|
|
119
112
|
className: "ttw:text-right",
|
|
120
|
-
children:
|
|
113
|
+
children: K ? /* @__PURE__ */ y(o, { className: "ttw:ml-auto ttw:w-4 ttw:h-4" }) : D(t, "USD")
|
|
121
114
|
});
|
|
122
115
|
}
|
|
123
116
|
},
|
|
124
117
|
{
|
|
125
|
-
id: "
|
|
126
|
-
header: () => /* @__PURE__ */
|
|
118
|
+
id: "total_received",
|
|
119
|
+
header: () => /* @__PURE__ */ y("div", {
|
|
127
120
|
className: "ttw:text-right",
|
|
128
|
-
children:
|
|
121
|
+
children: T._("Received amount")
|
|
129
122
|
}),
|
|
130
123
|
cell: ({ row: e }) => {
|
|
131
|
-
let t = (
|
|
132
|
-
return /* @__PURE__ */
|
|
133
|
-
className:
|
|
134
|
-
children:
|
|
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")
|
|
135
128
|
});
|
|
136
129
|
}
|
|
137
130
|
},
|
|
138
131
|
{
|
|
139
|
-
id: "
|
|
140
|
-
header: () => /* @__PURE__ */
|
|
132
|
+
id: "total_due",
|
|
133
|
+
header: () => /* @__PURE__ */ y("div", {
|
|
141
134
|
className: "ttw:text-right",
|
|
142
|
-
children:
|
|
135
|
+
children: T._("Amount due")
|
|
143
136
|
}),
|
|
144
137
|
cell: ({ row: e }) => {
|
|
145
138
|
let t = X.get(e.original.id) ?? 0;
|
|
146
|
-
return /* @__PURE__ */
|
|
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", {
|
|
139
|
+
return /* @__PURE__ */ y("div", {
|
|
161
140
|
className: "ttw:text-right",
|
|
162
|
-
children:
|
|
141
|
+
children: Y ? /* @__PURE__ */ y(o, { className: "ttw:ml-auto ttw:w-4 ttw:h-4" }) : D(t, "USD")
|
|
163
142
|
});
|
|
164
143
|
}
|
|
165
144
|
}
|
|
166
145
|
], [
|
|
167
|
-
|
|
168
|
-
V,
|
|
169
|
-
U,
|
|
170
|
-
K,
|
|
171
|
-
Y,
|
|
146
|
+
T,
|
|
172
147
|
W,
|
|
173
148
|
q,
|
|
174
149
|
X,
|
|
175
|
-
|
|
150
|
+
D
|
|
176
151
|
]);
|
|
177
|
-
if (!
|
|
178
|
-
let Q = Object.keys(
|
|
179
|
-
return /* @__PURE__ */
|
|
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", {
|
|
180
155
|
className: "ttw:flex ttw:flex-col ttw:overflow-hidden ttw:min-h-125",
|
|
181
|
-
children: /* @__PURE__ */
|
|
182
|
-
columns:
|
|
183
|
-
data:
|
|
156
|
+
children: /* @__PURE__ */ y(ne, {
|
|
157
|
+
columns: oe,
|
|
158
|
+
data: R?.data ?? [],
|
|
184
159
|
sorting: Z,
|
|
185
|
-
onSortingChange:
|
|
186
|
-
pageSize:
|
|
187
|
-
onPageSizeChange:
|
|
188
|
-
nextPaginationToken:
|
|
189
|
-
prevPaginationToken:
|
|
190
|
-
onPaginationTokenChange:
|
|
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,
|
|
191
166
|
onRowClick: (e) => {
|
|
192
167
|
p() || a?.(e.id);
|
|
193
168
|
},
|
|
194
|
-
filterComponent: /* @__PURE__ */
|
|
195
|
-
isDisabled: !Q && !$ && !
|
|
196
|
-
onChangeFilter:
|
|
169
|
+
filterComponent: /* @__PURE__ */ y(u, {
|
|
170
|
+
isDisabled: !Q && !$ && !R?.data?.length,
|
|
171
|
+
onChangeFilter: ae
|
|
197
172
|
}),
|
|
198
|
-
children: /* @__PURE__ */
|
|
199
|
-
noDataTitle:
|
|
200
|
-
noDataDescription1:
|
|
201
|
-
filterTitle:
|
|
202
|
-
isLoading:
|
|
203
|
-
dataLength:
|
|
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,
|
|
204
179
|
isFiltering: Q,
|
|
205
180
|
isSearching: $,
|
|
206
|
-
isError:
|
|
207
|
-
onCreate: () =>
|
|
208
|
-
refetch:
|
|
209
|
-
entityName:
|
|
210
|
-
actionButtonLabel:
|
|
181
|
+
isError: V,
|
|
182
|
+
onCreate: () => w?.(!0),
|
|
183
|
+
refetch: B,
|
|
184
|
+
entityName: T._("Customer"),
|
|
185
|
+
actionButtonLabel: T._("Create new")
|
|
211
186
|
})
|
|
212
187
|
})
|
|
213
188
|
});
|
|
214
189
|
};
|
|
215
190
|
//#endregion
|
|
216
|
-
export {
|
|
191
|
+
export { S as CustomersTable };
|