@tesouro/embedded-components-react 0.7.47 → 0.7.49
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/index.css +0 -23
- package/dist/lib/monite-sdk.d.ts +51 -182
- package/dist/lib/monite-sdk.js +71 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +75 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +10 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +36 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +1 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +102 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +51 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +1 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +49 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +1 -262
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +53 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +1 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +151 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +52 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +8 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +52 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +38 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +70 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +11 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +68 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +172 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +7 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +73 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +76 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +1 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +33 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +1 -446
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +55 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +41 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +565 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +1 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +156 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +10 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +16 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +26 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +1 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +93 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +23 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +15 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +71 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +27 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +5 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +37 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +48 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +54 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -216
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +28 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +39 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +78 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +4 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +2 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +47 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +79 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +121 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +17 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +77 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +1 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +121 -292
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +17 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +120 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +21 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +6 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +37 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +55 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +71 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +26 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +57 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +19 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +185 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +3 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +30 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +31 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +47 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +10 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +8 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +18 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +42 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +14 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +16 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +13 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +15 -564
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +7 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +114 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +62 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +195 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +38 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +6 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +9 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +17 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +9 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +5 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +359 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +19 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +89 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +14 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +182 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +98 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +37 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +1 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +53 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +44 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +1 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +33 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +1 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +18 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +158 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +54 -176
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +47 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +49 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +85 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +7 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +304 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +29 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +1 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +26 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +20 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +157 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +34 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +31 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +101 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +186 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +131 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +208 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +31 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +238 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +1 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +131 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +165 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +26 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +19 -356
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +16 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +9 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +22 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +83 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +14 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +98 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +27 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +101 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +171 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +11 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +4 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +66 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +25 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +210 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +87 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +154 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +104 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +42 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +69 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +19 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +5 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +9 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +11 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +130 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +6 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +6 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +219 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +31 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +32 -238
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +73 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +179 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +194 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +102 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +64 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +53 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +91 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +75 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +83 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +12 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +23 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +17 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +20 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +1 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +46 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +28 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +15 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +29 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +28 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +87 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +14 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +44 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +26 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +32 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +70 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +6 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +8 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +5 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +6 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +4 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +29 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +72 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +54 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +49 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +18 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +48 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +63 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +33 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +24 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +14 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +25 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +51 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +24 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +71 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +80 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +1 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +8 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +27 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +16 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +3 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +55 -53
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +0 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +0 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +0 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +0 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +0 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +0 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +0 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +0 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +0 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +0 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +0 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +0 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +0 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +0 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +0 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +0 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +0 -97
|
@@ -1,191 +1,62 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { MoniteScopedProviders as a } from "./index129.js";
|
|
9
|
-
import { LoadingSpinner as o } from "./index51.js";
|
|
10
|
-
import { useUserPermissions as s } from "./index111.js";
|
|
11
|
-
import { FILTER_TYPE_SEARCH as c } from "./index115.js";
|
|
12
|
-
import { useCounterpartList as l } from "./index135.js";
|
|
13
|
-
import { CounterpartTableFilters as u } from "./index134.js";
|
|
14
|
-
import { CounterPartCellByData as d } from "./index149.js";
|
|
15
|
-
import { GetNoRowsOverlay as te } from "./index152.js";
|
|
16
|
-
import { AccessRestriction as f } from "./index153.js";
|
|
17
|
-
import "./index155.js";
|
|
18
|
-
import { DataTable as p } from "./index157.js";
|
|
19
|
-
import { hasSelectedText as m } from "./index158.js";
|
|
20
|
-
import { useMemo as h, useState as g } from "react";
|
|
21
|
-
import { ArrowDown as _, ArrowUp as v, ArrowUpDown as y } from "lucide-react";
|
|
22
|
-
import { jsx as b, jsxs as x } from "@emotion/react/jsx-runtime";
|
|
23
|
-
import { useLingui as S } from "@lingui/react";
|
|
1
|
+
import { Button as e } from "./index121.js";
|
|
2
|
+
import { CenteredContentBox as t } from "./index65.js";
|
|
3
|
+
import "./index66.js";
|
|
4
|
+
import { DropdownMenu as n, DropdownMenuContent as r, DropdownMenuItem as i, DropdownMenuTrigger as a } from "./index157.js";
|
|
5
|
+
import { Typography as o } from "./index158.js";
|
|
6
|
+
import { ChevronDown as s, RefreshCw as c } from "lucide-react";
|
|
7
|
+
import { jsx as l, jsxs as u } from "@emotion/react/jsx-runtime";
|
|
24
8
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
counterpart_name__icontains: M.search || void 0,
|
|
35
|
-
is_customer: !0
|
|
36
|
-
} }), H = h(() => R?.data.map((e) => e.id) ?? [], [R]), U = re.finops.getCounterpartsIdAddresses.useQueries({ queries: H.map((e) => ({ parameters: { path: { counterpart_id: e } } })) }), W = h(() => new Map(H.map((e, t) => [e, U[t]?.data])), [H, U]), { data: G, isLoading: K } = i({
|
|
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 = h(() => new Map(G?.data.map(({ dimension_value: e, metric_value: t }) => [e, t]) ?? []), [G]), { data: J, isLoading: Y } = i({
|
|
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 = h(() => 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), C?.(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
|
-
})), w?.({
|
|
77
|
-
field: e,
|
|
78
|
-
value: t
|
|
79
|
-
});
|
|
80
|
-
}, oe = h(() => [
|
|
81
|
-
{
|
|
82
|
-
accessorKey: "counterpart_name",
|
|
83
|
-
header: ({ column: e }) => {
|
|
84
|
-
let t = e.getIsSorted();
|
|
85
|
-
return /* @__PURE__ */ x("div", {
|
|
86
|
-
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
|
|
87
|
-
children: [E._("Name"), /* @__PURE__ */ b(ee, {
|
|
88
|
-
variant: "ghost",
|
|
89
|
-
onClick: () => e.toggleSorting(t === "asc"),
|
|
90
|
-
children: b(t === "asc" ? v : t === "desc" ? _ : y, { className: "ttw:size-4" })
|
|
91
|
-
})]
|
|
92
|
-
});
|
|
93
|
-
},
|
|
94
|
-
cell: ({ row: e }) => {
|
|
95
|
-
let t = W.get(e.original.id);
|
|
96
|
-
return /* @__PURE__ */ b(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__ */ b("div", {
|
|
106
|
-
className: "ttw:text-right",
|
|
107
|
-
children: E._("Billed amount")
|
|
108
|
-
}),
|
|
109
|
-
cell: ({ row: e }) => {
|
|
110
|
-
let t = q.get(e.original.id) ?? 0;
|
|
111
|
-
return /* @__PURE__ */ b("div", {
|
|
112
|
-
className: "ttw:text-right",
|
|
113
|
-
children: K ? /* @__PURE__ */ b(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__ */ b("div", {
|
|
120
|
-
className: "ttw:text-right",
|
|
121
|
-
children: E._("Received amount")
|
|
9
|
+
var d = ({ title: e, descriptionLine1: n, onAction: r, actionButtonLabel: i, actionOptions: a = [], type: s }) => /* @__PURE__ */ l(t, {
|
|
10
|
+
className: "ttw:min-h-48",
|
|
11
|
+
children: /* @__PURE__ */ u("div", {
|
|
12
|
+
className: "ttw:flex ttw:flex-col ttw:flex-1 ttw:items-center ttw:gap-3",
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ l(o, {
|
|
15
|
+
variant: "h2",
|
|
16
|
+
className: "ttw:font-medium",
|
|
17
|
+
children: e
|
|
122
18
|
}),
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
id: "total_due",
|
|
133
|
-
header: () => /* @__PURE__ */ b("div", {
|
|
134
|
-
className: "ttw:text-right",
|
|
135
|
-
children: E._("Amount due")
|
|
136
|
-
}),
|
|
137
|
-
cell: ({ row: e }) => {
|
|
138
|
-
let t = X.get(e.original.id) ?? 0;
|
|
139
|
-
return /* @__PURE__ */ b("div", {
|
|
140
|
-
className: "ttw:text-right",
|
|
141
|
-
children: Y ? /* @__PURE__ */ b(o, { className: "ttw:ml-auto ttw:w-4 ttw:h-4" }) : D(t, "USD")
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
], [
|
|
146
|
-
E,
|
|
147
|
-
W,
|
|
148
|
-
q,
|
|
149
|
-
X,
|
|
150
|
-
D
|
|
151
|
-
]);
|
|
152
|
-
if (!L) return /* @__PURE__ */ b(f, {});
|
|
153
|
-
let Q = Object.keys(M).some((e) => M[e] !== null && M[e] !== void 0), $ = !!M[c];
|
|
154
|
-
return /* @__PURE__ */ b("div", {
|
|
155
|
-
className: "ttw:flex ttw:flex-col ttw:overflow-hidden ttw:min-h-125",
|
|
156
|
-
children: /* @__PURE__ */ b(p, {
|
|
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
|
-
m() || a?.(e.id);
|
|
168
|
-
},
|
|
169
|
-
filterComponent: /* @__PURE__ */ b(u, {
|
|
170
|
-
isDisabled: !Q && !$ && !R?.data?.length,
|
|
171
|
-
onChangeFilter: ae
|
|
19
|
+
/* @__PURE__ */ l(o, {
|
|
20
|
+
variant: "body1",
|
|
21
|
+
color: "muted",
|
|
22
|
+
className: "ttw:font-normal",
|
|
23
|
+
children: n
|
|
172
24
|
}),
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
dataLength: R?.data.length || 0,
|
|
179
|
-
isFiltering: Q,
|
|
180
|
-
isSearching: $,
|
|
181
|
-
isError: V,
|
|
182
|
-
onCreate: () => T?.(!0),
|
|
183
|
-
refetch: B,
|
|
184
|
-
entityName: E._("Customer"),
|
|
185
|
-
actionButtonLabel: E._("Create new")
|
|
25
|
+
/* @__PURE__ */ l(f, {
|
|
26
|
+
onAction: r,
|
|
27
|
+
actionButtonLabel: i,
|
|
28
|
+
actionOptions: a,
|
|
29
|
+
type: s
|
|
186
30
|
})
|
|
31
|
+
]
|
|
32
|
+
})
|
|
33
|
+
}), f = ({ onAction: t, actionButtonLabel: o, actionOptions: d = [], type: f }) => {
|
|
34
|
+
if (!o) return null;
|
|
35
|
+
let p = (e) => {
|
|
36
|
+
t && t(e);
|
|
37
|
+
};
|
|
38
|
+
return d.length > 1 ? /* @__PURE__ */ u(n, { children: [/* @__PURE__ */ l(a, {
|
|
39
|
+
asChild: !0,
|
|
40
|
+
children: /* @__PURE__ */ u(e, {
|
|
41
|
+
type: "button",
|
|
42
|
+
children: [
|
|
43
|
+
f === "error" ? /* @__PURE__ */ l(c, {}) : void 0,
|
|
44
|
+
o,
|
|
45
|
+
/* @__PURE__ */ l(s, {})
|
|
46
|
+
]
|
|
187
47
|
})
|
|
48
|
+
}), /* @__PURE__ */ l(r, {
|
|
49
|
+
align: "end",
|
|
50
|
+
children: d.map((e) => /* @__PURE__ */ l(i, {
|
|
51
|
+
onClick: () => p(e),
|
|
52
|
+
children: e
|
|
53
|
+
}, e))
|
|
54
|
+
})] }) : /* @__PURE__ */ u(e, {
|
|
55
|
+
onClick: (e) => {
|
|
56
|
+
e.preventDefault(), p(d?.[0]);
|
|
57
|
+
},
|
|
58
|
+
children: [f === "error" ? /* @__PURE__ */ l(c, {}) : void 0, o]
|
|
188
59
|
});
|
|
189
60
|
};
|
|
190
61
|
//#endregion
|
|
191
|
-
export {
|
|
62
|
+
export { d as DataGridEmptyState };
|
|
@@ -1,216 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "../../shared/data-access/dist/index.js";
|
|
3
|
-
import { useMoniteContext as t } from "./index45.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 { useGetPayablesAnalytics as i } from "./index112.js";
|
|
8
|
-
import { MoniteScopedProviders as a } from "./index129.js";
|
|
9
|
-
import { LoadingSpinner as o } from "./index51.js";
|
|
10
|
-
import { useUserPermissions as s } from "./index111.js";
|
|
11
|
-
import { FILTER_TYPE_SEARCH as c } from "./index115.js";
|
|
12
|
-
import { useCounterpartList as l } from "./index135.js";
|
|
13
|
-
import { CounterpartTableFilters as te } from "./index134.js";
|
|
14
|
-
import { CounterPartCellByData as ne } from "./index149.js";
|
|
15
|
-
import { GetNoRowsOverlay as u } from "./index152.js";
|
|
16
|
-
import { AccessRestriction as d } from "./index153.js";
|
|
17
|
-
import "./index155.js";
|
|
18
|
-
import { DataTable as re } from "./index157.js";
|
|
19
|
-
import { hasSelectedText as f } from "./index158.js";
|
|
20
|
-
import { useMemo as p, useState as m } from "react";
|
|
21
|
-
import { ArrowDown as ie, ArrowUp as h, ArrowUpDown as g } from "lucide-react";
|
|
22
|
-
import { twMerge as _ } from "tailwind-merge";
|
|
23
|
-
import { jsx as v, jsxs as y } from "@emotion/react/jsx-runtime";
|
|
24
|
-
import { useLingui as ae } from "@lingui/react";
|
|
25
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js
|
|
26
|
-
var b = (e) => /* @__PURE__ */ v(a, { children: /* @__PURE__ */ v(x, { ...e }) }), x = ({ onRowClick: a, onChangeSort: b, onChangeFilter: x, openModal: S }) => {
|
|
27
|
-
let { i18n: C } = ae(), { componentSettings: w, api: T } = t(), { formatCurrencyToDisplay: E } = r(), [oe, D] = m(void 0), [O, se] = m(w.counterparts.pageSizeOptions[0] ?? 10), [k, A] = m({}), [j, M] = m(void 0), N = s(), P = N.has(e.CounterpartReadOrg);
|
|
28
|
-
N.has(e.CounterpartWriteOrg), N.has(e.CounterpartWriteOrg);
|
|
29
|
-
let { data: F, isLoading: I, refetch: L, isError: R } = l({ 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 = p(() => F?.data.map((e) => e.id) ?? [], [F]), B = T.finops.getCounterpartsIdAddresses.useQueries({ queries: z.map((e) => ({ parameters: { path: { counterpart_id: e } } })) }), V = p(() => new Map(z.map((e, t) => [e, B[t]?.data])), [z, B]), { data: H, isLoading: U } = i({
|
|
38
|
-
dimension: "counterpart_id",
|
|
39
|
-
metric: "total_amount",
|
|
40
|
-
aggregation_function: "summary",
|
|
41
|
-
status__in: [
|
|
42
|
-
"new",
|
|
43
|
-
"approve_in_progress",
|
|
44
|
-
"waiting_to_be_paid",
|
|
45
|
-
"partially_paid",
|
|
46
|
-
"paid"
|
|
47
|
-
],
|
|
48
|
-
counterpart_id__in: z
|
|
49
|
-
}), W = p(() => new Map(H?.data.map(({ dimension_value: e, metric_value: t }) => [e, t]) ?? []), [H]), { data: G, isLoading: K } = i({
|
|
50
|
-
dimension: "counterpart_id",
|
|
51
|
-
metric: "amount_due",
|
|
52
|
-
aggregation_function: "summary",
|
|
53
|
-
status__in: [
|
|
54
|
-
"new",
|
|
55
|
-
"approve_in_progress",
|
|
56
|
-
"waiting_to_be_paid",
|
|
57
|
-
"partially_paid"
|
|
58
|
-
],
|
|
59
|
-
counterpart_id__in: z
|
|
60
|
-
}), q = p(() => new Map(G?.data.map(({ dimension_value: e, metric_value: t }) => [e, t]) ?? []), [G]), { data: J, isLoading: Y } = i({
|
|
61
|
-
dimension: "counterpart_id",
|
|
62
|
-
metric: "total_amount",
|
|
63
|
-
aggregation_function: "summary",
|
|
64
|
-
status__in: ["rejected"],
|
|
65
|
-
counterpart_id__in: z
|
|
66
|
-
}), X = p(() => 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) => {
|
|
70
|
-
let t = typeof e == "function" ? e(Z) : e;
|
|
71
|
-
if (t.length > 0) {
|
|
72
|
-
let e = {
|
|
73
|
-
field: t[0].id,
|
|
74
|
-
sort: t[0].desc ? "desc" : "asc"
|
|
75
|
-
};
|
|
76
|
-
M(e), b?.(e);
|
|
77
|
-
} else M(void 0);
|
|
78
|
-
D(void 0);
|
|
79
|
-
}, le = (e, t) => {
|
|
80
|
-
D(void 0), A((n) => ({
|
|
81
|
-
...n,
|
|
82
|
-
[e]: t === "all" ? null : t
|
|
83
|
-
})), x?.({
|
|
84
|
-
field: e,
|
|
85
|
-
value: t
|
|
86
|
-
});
|
|
87
|
-
}, ue = p(() => [
|
|
88
|
-
{
|
|
89
|
-
accessorKey: "counterpart_name",
|
|
90
|
-
header: ({ column: e }) => {
|
|
91
|
-
let t = e.getIsSorted();
|
|
92
|
-
return /* @__PURE__ */ y("div", {
|
|
93
|
-
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
|
|
94
|
-
children: [C._("Name"), /* @__PURE__ */ v(ee, {
|
|
95
|
-
variant: "ghost",
|
|
96
|
-
onClick: () => e.toggleSorting(t === "asc"),
|
|
97
|
-
children: v(t === "asc" ? h : t === "desc" ? ie : g, { className: "ttw:size-4" })
|
|
98
|
-
})]
|
|
99
|
-
});
|
|
100
|
-
},
|
|
101
|
-
cell: ({ row: e }) => {
|
|
102
|
-
let t = V.get(e.original.id);
|
|
103
|
-
return /* @__PURE__ */ v(ne, {
|
|
104
|
-
name: n(e.original),
|
|
105
|
-
country: t?.data[0]?.country,
|
|
106
|
-
city: t?.data[0]?.city
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
accessorKey: "total_billed",
|
|
112
|
-
header: () => /* @__PURE__ */ v("div", {
|
|
113
|
-
className: "ttw:text-right",
|
|
114
|
-
children: C._("Billed amount")
|
|
115
|
-
}),
|
|
116
|
-
cell: ({ row: e }) => {
|
|
117
|
-
let t = W.get(e.original.id) ?? 0;
|
|
118
|
-
return /* @__PURE__ */ v("div", {
|
|
119
|
-
className: "ttw:text-right",
|
|
120
|
-
children: U ? /* @__PURE__ */ v(o, { className: "ttw:ml-auto ttw:w-4 ttw:h-4" }) : E(t, "USD")
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
id: "total_paid",
|
|
126
|
-
header: () => /* @__PURE__ */ v("div", {
|
|
127
|
-
className: "ttw:text-right",
|
|
128
|
-
children: C._("Total paid to date")
|
|
129
|
-
}),
|
|
130
|
-
cell: ({ row: e }) => {
|
|
131
|
-
let t = (W.get(e.original.id) ?? 0) - (q.get(e.original.id) ?? 0);
|
|
132
|
-
return /* @__PURE__ */ v("div", {
|
|
133
|
-
className: _("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")
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
id: "total_rejected",
|
|
140
|
-
header: () => /* @__PURE__ */ v("div", {
|
|
141
|
-
className: "ttw:text-right",
|
|
142
|
-
children: C._("Rejected amount")
|
|
143
|
-
}),
|
|
144
|
-
cell: ({ row: e }) => {
|
|
145
|
-
let t = X.get(e.original.id) ?? 0;
|
|
146
|
-
return /* @__PURE__ */ v("div", {
|
|
147
|
-
className: _("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: C._("Balance due")
|
|
157
|
-
}),
|
|
158
|
-
cell: ({ row: e }) => {
|
|
159
|
-
let t = q.get(e.original.id) ?? 0;
|
|
160
|
-
return /* @__PURE__ */ v("div", {
|
|
161
|
-
className: "ttw:text-right",
|
|
162
|
-
children: K ? /* @__PURE__ */ v(o, { className: "ttw:ml-auto ttw:w-4 ttw:h-4" }) : E(t, "USD")
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
], [
|
|
167
|
-
C,
|
|
168
|
-
V,
|
|
169
|
-
U,
|
|
170
|
-
K,
|
|
171
|
-
Y,
|
|
172
|
-
W,
|
|
173
|
-
q,
|
|
174
|
-
X,
|
|
175
|
-
E
|
|
176
|
-
]);
|
|
177
|
-
if (!P) return /* @__PURE__ */ v(d, {});
|
|
178
|
-
let Q = Object.keys(k).some((e) => k[e] !== null && k[e] !== void 0), $ = !!k[c];
|
|
179
|
-
return /* @__PURE__ */ v("div", {
|
|
180
|
-
className: "ttw:flex ttw:flex-col ttw:overflow-hidden ttw:min-h-125",
|
|
181
|
-
children: /* @__PURE__ */ v(re, {
|
|
182
|
-
columns: ue,
|
|
183
|
-
data: F?.data ?? [],
|
|
184
|
-
sorting: Z,
|
|
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,
|
|
191
|
-
onRowClick: (e) => {
|
|
192
|
-
f() || a?.(e.id);
|
|
193
|
-
},
|
|
194
|
-
filterComponent: /* @__PURE__ */ v(te, {
|
|
195
|
-
isDisabled: !Q && !$ && !F?.data?.length,
|
|
196
|
-
onChangeFilter: le
|
|
197
|
-
}),
|
|
198
|
-
children: /* @__PURE__ */ v(u, {
|
|
199
|
-
noDataTitle: C._("Build your vendors list."),
|
|
200
|
-
noDataDescription1: C._("Save the people and businesses you pay so you can send payments when bills come in."),
|
|
201
|
-
filterTitle: C._("No vendors found"),
|
|
202
|
-
isLoading: I,
|
|
203
|
-
dataLength: F?.data.length || 0,
|
|
204
|
-
isFiltering: Q,
|
|
205
|
-
isSearching: $,
|
|
206
|
-
isError: R,
|
|
207
|
-
onCreate: () => S?.(!0),
|
|
208
|
-
refetch: L,
|
|
209
|
-
entityName: C._("Vendor"),
|
|
210
|
-
actionButtonLabel: C._("Add your first vendor")
|
|
211
|
-
})
|
|
212
|
-
})
|
|
213
|
-
});
|
|
214
|
-
};
|
|
215
|
-
//#endregion
|
|
216
|
-
export { b as VendorsTable };
|
|
1
|
+
import "./index159.js";
|
|
@@ -1,162 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { LoadingSpinner as l } from "./index51.js";
|
|
6
|
-
import { useCreateCounterpartBank as u } from "./index66.js";
|
|
7
|
-
import { useCreateCounterpart as d } from "./index71.js";
|
|
8
|
-
import "./index86.js";
|
|
9
|
-
import { getCreateCounterpartValidationSchema as f } from "./index95.js";
|
|
10
|
-
import { CounterpartFormContent as p } from "./index108.js";
|
|
11
|
-
import { LanguageCodeEnum as m } from "./index109.js";
|
|
12
|
-
import { useUserPermissions as h } from "./index111.js";
|
|
13
|
-
import { AccessRestriction as g } from "./index153.js";
|
|
14
|
-
import { useCallback as _, useId as v, useMemo as y, useState as b } from "react";
|
|
15
|
-
import { jsx as x, jsxs as S } from "@emotion/react/jsx-runtime";
|
|
16
|
-
import { useLingui as C } from "@lingui/react";
|
|
17
|
-
import { FormProvider as w, useForm as T } from "react-hook-form";
|
|
18
|
-
import { zodResolver as E } from "@hookform/resolvers/zod";
|
|
1
|
+
import { DataGridEmptyState as e } from "./index159.js";
|
|
2
|
+
import "./index160.js";
|
|
3
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
|
+
import { useLingui as n } from "@lingui/react";
|
|
19
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js
|
|
20
|
-
var
|
|
21
|
-
let { i18n:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}), K = !!(W("companyName") || W("firstName") && W("lastName")) && !!W("email") && (j === "vendor" && !!W("line1") && !!W("city") && !!W("state") && !!W("postalCode") && !!W("country") || j === "customer"), q = _((e) => {
|
|
44
|
-
e.preventDefault(), e.stopPropagation(), G.handleSubmit(async (e) => {
|
|
45
|
-
let t = e.line1?.trim() && e.city?.trim() ? {
|
|
46
|
-
city: e.city ?? "",
|
|
47
|
-
country: e.country ?? "US",
|
|
48
|
-
line1: e.line1 ?? "",
|
|
49
|
-
line2: e.line2,
|
|
50
|
-
postal_code: e.postalCode ?? "",
|
|
51
|
-
state: e.state ?? ""
|
|
52
|
-
} : void 0, n = {
|
|
53
|
-
account_holder_name: e.accountHolderName,
|
|
54
|
-
routing_number: e.routingNumber,
|
|
55
|
-
account_number: e.accountNumber,
|
|
56
|
-
is_default_for_currency: !0,
|
|
57
|
-
country: "US",
|
|
58
|
-
currency: "USD"
|
|
59
|
-
}, r = !!e.accountHolderName || !!e.accountNumber || !!e.routingNumber, i = {
|
|
60
|
-
tax_id: e.tax_id,
|
|
61
|
-
is_customer: e.isCustomer,
|
|
62
|
-
is_vendor: e.isVendor,
|
|
63
|
-
language: m.find((e) => e === M.locale.split("-")[0]) ?? "en",
|
|
64
|
-
reminders_enabled: e.remindersEnabled
|
|
65
|
-
}, a = N === "individual" ? {
|
|
66
|
-
...i,
|
|
67
|
-
type: "individual",
|
|
68
|
-
individual: {
|
|
69
|
-
first_name: e.firstName ?? "",
|
|
70
|
-
last_name: e.lastName ?? "",
|
|
71
|
-
phone: e.phone ?? "",
|
|
72
|
-
email: e.email ?? "",
|
|
73
|
-
...t ? { address: t } : {}
|
|
74
|
-
}
|
|
75
|
-
} : {
|
|
76
|
-
...i,
|
|
77
|
-
type: "organization",
|
|
78
|
-
organization: {
|
|
79
|
-
legal_name: e.companyName ?? "",
|
|
80
|
-
phone: e.phone ?? "",
|
|
81
|
-
email: e.email ?? "",
|
|
82
|
-
...t ? { address: t } : {}
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
if (r) {
|
|
86
|
-
let e = await I(a);
|
|
87
|
-
return R({
|
|
88
|
-
path: { counterpart_id: e.id },
|
|
89
|
-
body: n
|
|
90
|
-
}, { onSuccess: () => {
|
|
91
|
-
k && k(e.id);
|
|
92
|
-
} });
|
|
93
|
-
}
|
|
94
|
-
return I(a, { onSuccess: ({ id: e }) => {
|
|
95
|
-
k && k(e);
|
|
96
|
-
} });
|
|
97
|
-
})(e);
|
|
98
|
-
}, [
|
|
99
|
-
I,
|
|
100
|
-
N,
|
|
101
|
-
R,
|
|
102
|
-
G.handleSubmit,
|
|
103
|
-
M
|
|
104
|
-
]);
|
|
105
|
-
return /* @__PURE__ */ x(n, {
|
|
106
|
-
open: D,
|
|
107
|
-
onOpenChange: O,
|
|
108
|
-
children: /* @__PURE__ */ S(i, {
|
|
109
|
-
className: "ttw:gap-0",
|
|
110
|
-
children: [
|
|
111
|
-
/* @__PURE__ */ S(s, {
|
|
112
|
-
className: "ttw:border-b ttw:border-border",
|
|
113
|
-
children: [/* @__PURE__ */ x(c, {
|
|
114
|
-
className: "ttw:text-2xl",
|
|
115
|
-
children: M._("Add {customerType}", { customerType: j })
|
|
116
|
-
}), /* @__PURE__ */ x(a, {
|
|
117
|
-
className: "ttw:max-w-130",
|
|
118
|
-
children: j === "vendor" ? M._("Save the people and businesses you pay so you can send payments when bills come in.") : M._("Save the people and businesses you sell to.")
|
|
119
|
-
})]
|
|
120
|
-
}),
|
|
121
|
-
/* @__PURE__ */ x("div", {
|
|
122
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:px-6 ttw:py-8 ttw:overflow-auto",
|
|
123
|
-
children: V ? /* @__PURE__ */ x(w, {
|
|
124
|
-
...G,
|
|
125
|
-
watch: W,
|
|
126
|
-
children: /* @__PURE__ */ x("form", {
|
|
127
|
-
id: F,
|
|
128
|
-
onSubmit: q,
|
|
129
|
-
children: /* @__PURE__ */ x(p, {
|
|
130
|
-
counterpartType: N ?? "organization",
|
|
131
|
-
handleChangeCounterpartType: (e) => P(e),
|
|
132
|
-
isLoading: B,
|
|
133
|
-
customerType: j
|
|
134
|
-
})
|
|
135
|
-
})
|
|
136
|
-
}) : /* @__PURE__ */ x(g, {})
|
|
137
|
-
}),
|
|
138
|
-
/* @__PURE__ */ S(o, {
|
|
139
|
-
className: "ttw:border-t ttw:border-border ttw:flex-row ttw:justify-end",
|
|
140
|
-
children: [/* @__PURE__ */ x(r, {
|
|
141
|
-
asChild: !0,
|
|
142
|
-
children: /* @__PURE__ */ x(t, {
|
|
143
|
-
variant: "outline",
|
|
144
|
-
disabled: B,
|
|
145
|
-
className: "ttw:flex-1 ttw:border-border",
|
|
146
|
-
children: M._("Cancel")
|
|
147
|
-
})
|
|
148
|
-
}), /* @__PURE__ */ S(t, {
|
|
149
|
-
type: "submit",
|
|
150
|
-
form: F,
|
|
151
|
-
className: "ttw:flex-1",
|
|
152
|
-
title: M._("Complete the form to continue"),
|
|
153
|
-
disabled: !V || B || !K,
|
|
154
|
-
children: [B && /* @__PURE__ */ x(l, { className: "ttw:border-white ttw:border-t-transparent ttw:size-4" }), M._("Save {customerType}", { customerType: j })]
|
|
155
|
-
})]
|
|
156
|
-
})
|
|
157
|
-
]
|
|
158
|
-
})
|
|
159
|
-
});
|
|
6
|
+
var r = ({ isLoading: r, dataLength: i, isFiltering: a, isSearching: o, isError: s, onCreate: c, refetch: l, entityName: u, noDataTitle: d, noDataDescription1: f, filterTitle: p, filterDescription1: m, actionButtonLabel: h, actionOptions: g, onAction: _, type: v }) => {
|
|
7
|
+
let { i18n: y } = n();
|
|
8
|
+
return !r && i === 0 && (a || o) ? /* @__PURE__ */ t(e, {
|
|
9
|
+
title: p || d || y._("No {entityName} Found", { entityName: u }),
|
|
10
|
+
descriptionLine1: m || "",
|
|
11
|
+
type: "no-filter",
|
|
12
|
+
onAction: _
|
|
13
|
+
}) : !r && i === 0 && !a && !o ? /* @__PURE__ */ t(e, {
|
|
14
|
+
title: d || y._("No {entityName}", { entityName: u }),
|
|
15
|
+
descriptionLine1: f || y._("You don’t have any {entityName} yet.", { entityName: u.toLowerCase() }),
|
|
16
|
+
actionOptions: g,
|
|
17
|
+
actionButtonLabel: h,
|
|
18
|
+
onAction: (e) => {
|
|
19
|
+
c && c(e ?? "");
|
|
20
|
+
},
|
|
21
|
+
type: v || "no-data"
|
|
22
|
+
}) : s ? /* @__PURE__ */ t(e, {
|
|
23
|
+
title: y._("Failed to load {entityName}", { entityName: u }),
|
|
24
|
+
descriptionLine1: y._("There was an error loading {entityName}.", { entityName: u.toLowerCase() }),
|
|
25
|
+
actionButtonLabel: y._("Reload"),
|
|
26
|
+
onAction: l,
|
|
27
|
+
type: "error"
|
|
28
|
+
}) : null;
|
|
160
29
|
};
|
|
161
30
|
//#endregion
|
|
162
|
-
export {
|
|
31
|
+
export { r as GetNoRowsOverlay };
|