@tesouro/embedded-components-react 0.7.59 → 0.7.61
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/README.md +2 -3
- package/dist/index.css +0 -15
- package/dist/lib/monite-sdk.d.ts +2 -163
- package/dist/lib/monite-sdk.js +41 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +45 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +174 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +2 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +3 -1224
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -176
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +55 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +36 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +73 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +41 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +69 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +168 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +6 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +2 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +65 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +1 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +77 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +1 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +33 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +57 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +39 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +562 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +159 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +23 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +10 -567
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +16 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +24 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +69 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +6 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +40 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +51 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +58 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +28 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +40 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +77 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +4 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +2 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +48 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +81 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +111 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +5 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +10 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +12 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +73 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +1 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +124 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +54 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +5 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +15 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +62 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +122 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +22 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +6 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +31 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +7 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +73 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +22 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +1 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +59 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +19 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +181 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +1 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +30 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +0 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +35 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +16 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +20 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +18 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +20 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +9 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +22 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +11 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +24 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +13 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +81 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +98 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +42 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +27 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +104 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +37 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +171 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +11 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +4 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +67 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +27 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +203 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +87 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +20 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +1 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +19 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +157 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +100 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +43 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +4 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +22 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +77 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +18 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +5 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +9 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +130 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +5 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +219 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +31 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +34 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +73 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +184 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +14 -220
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +203 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +99 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +64 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +54 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +91 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +33 -174
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +77 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +80 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +12 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +21 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +16 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +22 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +1 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +22 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +23 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +18 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +31 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +23 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +4 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +31 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +7 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +10 -35
- 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 +7 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +30 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +72 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +50 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +46 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +14 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +45 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +63 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +34 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +38 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +12 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +50 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +10 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +23 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +71 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +79 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +8 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +29 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +16 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +3 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +56 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +10 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +37 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +104 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +53 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +50 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +49 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +14 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +17 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +150 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +1224 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +0 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +0 -2
|
@@ -1,129 +1,64 @@
|
|
|
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 "./index36.js";
|
|
4
|
-
import { User as n } from "./index63.js";
|
|
5
|
-
import "./index64.js";
|
|
6
|
-
import { FILTER_TYPE_CREATED_AT as r, FILTER_TYPE_SEARCH as i } from "./index87.js";
|
|
7
|
-
import { extractApprovalCallsForTable as a } from "./index86.js";
|
|
8
|
-
import "./index89.js";
|
|
9
|
-
import { MoniteScopedProviders as o } from "./index150.js";
|
|
10
|
-
import { ApprovalPoliciesRules as s } from "./index144.js";
|
|
11
|
-
import { ApprovalStatusChip as c } from "./index145.js";
|
|
12
|
-
import "./index146.js";
|
|
13
|
-
import { useUserPermissions as l } from "./index151.js";
|
|
14
|
-
import { GetNoRowsOverlay as u } from "./index156.js";
|
|
15
|
-
import { AccessRestriction as d } from "./index157.js";
|
|
16
|
-
import "./index160.js";
|
|
17
|
-
import { DataTable as f } from "./index163.js";
|
|
18
|
-
import { hasSelectedText as p } from "./index164.js";
|
|
19
|
-
import { ApprovalPoliciesTriggers as m } from "./index167.js";
|
|
20
|
-
import { Filters as h } from "./index168.js";
|
|
21
|
-
import "./index169.js";
|
|
22
|
-
import { useMemo as g, useState as _ } from "react";
|
|
23
|
-
import { addDays as v, formatISO as y } from "date-fns";
|
|
24
|
-
import { jsx as b, jsxs as x } from "@emotion/react/jsx-runtime";
|
|
25
|
-
import { useLingui as S } from "@lingui/react";
|
|
26
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
{
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
{
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
accessorKey: "created_by",
|
|
89
|
-
header: T._("Created by"),
|
|
90
|
-
cell: ({ row: e }) => /* @__PURE__ */ b(n, { userId: e.original.created_by })
|
|
91
|
-
}
|
|
92
|
-
], [T, D.dateFormat]);
|
|
93
|
-
if (!F) return /* @__PURE__ */ b(d, {});
|
|
94
|
-
let W = Object.keys(N).some((e) => N[e] !== null && N[e] !== void 0), G = !!N[i];
|
|
95
|
-
return /* @__PURE__ */ b("div", {
|
|
96
|
-
className: "ttw:flex ttw:flex-col ttw:overflow-hidden ttw:min-h-125",
|
|
97
|
-
children: /* @__PURE__ */ b(f, {
|
|
98
|
-
columns: U,
|
|
99
|
-
data: I?.data ?? [],
|
|
100
|
-
sorting: V,
|
|
101
|
-
onSortingChange: H,
|
|
102
|
-
pageSize: j,
|
|
103
|
-
onPageSizeChange: M,
|
|
104
|
-
nextPaginationToken: I?.next_pagination_token ?? void 0,
|
|
105
|
-
prevPaginationToken: I?.prev_pagination_token ?? void 0,
|
|
106
|
-
onPaginationTokenChange: A,
|
|
107
|
-
onRowClick: (e) => {
|
|
108
|
-
p() || C?.(e.id);
|
|
109
|
-
},
|
|
110
|
-
filterComponent: /* @__PURE__ */ b(h, { onChangeFilter: B }),
|
|
111
|
-
children: /* @__PURE__ */ b(u, {
|
|
112
|
-
noDataTitle: T._("No Approval Policies"),
|
|
113
|
-
noDataDescription1: T._("You don't have any approval policies yet."),
|
|
114
|
-
filterTitle: T._("No Approval Policies Found"),
|
|
115
|
-
isLoading: L,
|
|
116
|
-
dataLength: I?.data.length || 0,
|
|
117
|
-
isFiltering: W,
|
|
118
|
-
isSearching: G,
|
|
119
|
-
isError: R,
|
|
120
|
-
onCreate: () => w?.(),
|
|
121
|
-
refetch: z,
|
|
122
|
-
entityName: T._("Approval Policies"),
|
|
123
|
-
actionButtonLabel: T._("Create")
|
|
124
|
-
})
|
|
125
|
-
})
|
|
126
|
-
});
|
|
127
|
-
};
|
|
2
|
+
function e({ layout: e, navigationPosition: t, pageSizePosition: n, hasPageSizeSelect: r }) {
|
|
3
|
+
if (!r) return {
|
|
4
|
+
justifyContent: "center",
|
|
5
|
+
flexDirection: "row",
|
|
6
|
+
gap: void 0
|
|
7
|
+
};
|
|
8
|
+
if (e === "custom") {
|
|
9
|
+
if (t === "center" && n === "center") return {
|
|
10
|
+
justifyContent: "center",
|
|
11
|
+
flexDirection: "row",
|
|
12
|
+
gap: 3
|
|
13
|
+
};
|
|
14
|
+
if (t === "left" && n === "left") return {
|
|
15
|
+
justifyContent: "flex-start",
|
|
16
|
+
flexDirection: "row",
|
|
17
|
+
gap: 3
|
|
18
|
+
};
|
|
19
|
+
if (t === "right" && n === "right") return {
|
|
20
|
+
justifyContent: "flex-end",
|
|
21
|
+
flexDirection: "row-reverse",
|
|
22
|
+
gap: 3
|
|
23
|
+
};
|
|
24
|
+
if (t === "left" && n === "right") return {
|
|
25
|
+
justifyContent: "space-between",
|
|
26
|
+
flexDirection: "row",
|
|
27
|
+
gap: void 0
|
|
28
|
+
};
|
|
29
|
+
if (t === "right" && n === "left") return {
|
|
30
|
+
justifyContent: "space-between",
|
|
31
|
+
flexDirection: "row-reverse",
|
|
32
|
+
gap: void 0
|
|
33
|
+
};
|
|
34
|
+
if (t === "center") return {
|
|
35
|
+
justifyContent: "space-around",
|
|
36
|
+
flexDirection: n === "left" ? "row-reverse" : "row",
|
|
37
|
+
gap: void 0
|
|
38
|
+
};
|
|
39
|
+
if (n === "center") return {
|
|
40
|
+
justifyContent: "space-around",
|
|
41
|
+
flexDirection: t === "left" ? "row" : "row-reverse",
|
|
42
|
+
gap: void 0
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
switch (e) {
|
|
46
|
+
case "reversed": return {
|
|
47
|
+
justifyContent: "space-between",
|
|
48
|
+
flexDirection: "row-reverse",
|
|
49
|
+
gap: void 0
|
|
50
|
+
};
|
|
51
|
+
case "centered": return {
|
|
52
|
+
justifyContent: "center",
|
|
53
|
+
flexDirection: "row",
|
|
54
|
+
gap: 3
|
|
55
|
+
};
|
|
56
|
+
default: return {
|
|
57
|
+
justifyContent: "space-between",
|
|
58
|
+
flexDirection: "row",
|
|
59
|
+
gap: void 0
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
}
|
|
128
63
|
//#endregion
|
|
129
|
-
export {
|
|
64
|
+
export { e as getLayoutStyles };
|
|
@@ -1 +1,122 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { useRootElements as e } from "./index63.js";
|
|
2
|
+
import "./index64.js";
|
|
3
|
+
import { getLayoutStyles as t } from "./index170.js";
|
|
4
|
+
import { forwardRef as n } from "react";
|
|
5
|
+
import { jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { Box as a, Grid as o, IconButton as s, MenuItem as c, Select as l, Typography as u } from "@mui/material";
|
|
7
|
+
import { useLingui as d } from "@lingui/react";
|
|
8
|
+
import { styled as f, useThemeProps as p } from "@mui/material/styles";
|
|
9
|
+
import m from "@mui/icons-material/ChevronLeft";
|
|
10
|
+
import h from "@mui/icons-material/ChevronRight";
|
|
11
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js
|
|
12
|
+
var g = "MoniteTablePagination", _ = 10, v = ({ onPaginationModelChange: n, paginationModel: l, nextPage: f, prevPage: v, pageSizeOptions: x, slotProps: S, paginationLayout: C, navigationPosition: w, pageSizePosition: T, className: E }) => {
|
|
13
|
+
let { i18n: D } = d(), { root: O } = e(), { pageSizeOptions: k, slotProps: A, paginationLayout: j = "default", navigationPosition: M = "left", pageSizePosition: N = "right" } = p({
|
|
14
|
+
props: {
|
|
15
|
+
pageSizeOptions: x,
|
|
16
|
+
slotProps: S,
|
|
17
|
+
paginationLayout: C,
|
|
18
|
+
navigationPosition: w,
|
|
19
|
+
pageSizePosition: T
|
|
20
|
+
},
|
|
21
|
+
name: g
|
|
22
|
+
}), P = "pageSize" in l ? l.pageSize : k?.[0] ?? _, F = k && k.length > 1, I = t({
|
|
23
|
+
layout: j,
|
|
24
|
+
navigationPosition: M,
|
|
25
|
+
pageSizePosition: N,
|
|
26
|
+
hasPageSizeSelect: !!F
|
|
27
|
+
});
|
|
28
|
+
return /* @__PURE__ */ r(y, {
|
|
29
|
+
container: !0,
|
|
30
|
+
mx: 2,
|
|
31
|
+
boxSizing: "border-box",
|
|
32
|
+
className: E,
|
|
33
|
+
children: /* @__PURE__ */ i(o, {
|
|
34
|
+
xs: 12,
|
|
35
|
+
item: !0,
|
|
36
|
+
display: "flex",
|
|
37
|
+
justifyContent: I.justifyContent,
|
|
38
|
+
flexDirection: I.flexDirection,
|
|
39
|
+
gap: I.gap,
|
|
40
|
+
pt: .5,
|
|
41
|
+
pb: 1,
|
|
42
|
+
alignItems: "center",
|
|
43
|
+
children: [/* @__PURE__ */ i(a, { children: [/* @__PURE__ */ r(s, {
|
|
44
|
+
className: "Monite-TablePagination-PreviousPageButton",
|
|
45
|
+
"aria-label": D._("Previous page"),
|
|
46
|
+
disabled: !v,
|
|
47
|
+
onClick: (e) => {
|
|
48
|
+
if (e.preventDefault(), v === void 0) throw Error("Previous page is not available");
|
|
49
|
+
n({
|
|
50
|
+
page: v,
|
|
51
|
+
pageSize: P
|
|
52
|
+
});
|
|
53
|
+
},
|
|
54
|
+
children: /* @__PURE__ */ r(m, {
|
|
55
|
+
fontSize: "small",
|
|
56
|
+
"aria-label": D._("Previous page")
|
|
57
|
+
})
|
|
58
|
+
}), /* @__PURE__ */ r(s, {
|
|
59
|
+
className: "Monite-TablePagination-NextPageButton",
|
|
60
|
+
"aria-label": D._("Next page"),
|
|
61
|
+
disabled: !f,
|
|
62
|
+
onClick: (e) => {
|
|
63
|
+
if (e.preventDefault(), f === void 0) throw Error("Next page is not available");
|
|
64
|
+
n({
|
|
65
|
+
page: f,
|
|
66
|
+
pageSize: P
|
|
67
|
+
});
|
|
68
|
+
},
|
|
69
|
+
children: /* @__PURE__ */ r(h, {
|
|
70
|
+
fontSize: "small",
|
|
71
|
+
"aria-label": D._("Next page")
|
|
72
|
+
})
|
|
73
|
+
})] }), F && /* @__PURE__ */ i(a, {
|
|
74
|
+
display: "flex",
|
|
75
|
+
alignItems: "center",
|
|
76
|
+
gap: 1,
|
|
77
|
+
children: [/* @__PURE__ */ r(u, {
|
|
78
|
+
variant: "body2",
|
|
79
|
+
color: "text.secondary",
|
|
80
|
+
children: D._("Results per page")
|
|
81
|
+
}), /* @__PURE__ */ r(a, { children: /* @__PURE__ */ r(b, {
|
|
82
|
+
className: "Monite-RowsPerPageSelector",
|
|
83
|
+
...A?.pageSizeSelect,
|
|
84
|
+
"aria-label": D._("Rows per page"),
|
|
85
|
+
MenuProps: {
|
|
86
|
+
...A?.pageSizeSelect?.MenuProps,
|
|
87
|
+
container: O
|
|
88
|
+
},
|
|
89
|
+
value: P.toString(),
|
|
90
|
+
onChange: (e) => void n({
|
|
91
|
+
page: null,
|
|
92
|
+
pageSize: parseInt(e.target.value, 10)
|
|
93
|
+
}),
|
|
94
|
+
children: k?.map((e) => /* @__PURE__ */ r(c, {
|
|
95
|
+
value: e.toString(),
|
|
96
|
+
children: e
|
|
97
|
+
}, e))
|
|
98
|
+
}) })]
|
|
99
|
+
})]
|
|
100
|
+
})
|
|
101
|
+
});
|
|
102
|
+
}, y = f(n((e, t) => /* @__PURE__ */ r(o, {
|
|
103
|
+
ref: t,
|
|
104
|
+
...e
|
|
105
|
+
})), {
|
|
106
|
+
name: g,
|
|
107
|
+
slot: "root",
|
|
108
|
+
shouldForwardProp: () => !0
|
|
109
|
+
})({}), b = f(n(({ ...t }, n) => {
|
|
110
|
+
let { root: i } = e();
|
|
111
|
+
return /* @__PURE__ */ r(l, {
|
|
112
|
+
ref: n,
|
|
113
|
+
...t,
|
|
114
|
+
MenuProps: { container: i }
|
|
115
|
+
});
|
|
116
|
+
}), {
|
|
117
|
+
name: g,
|
|
118
|
+
slot: "pageSizeSelect",
|
|
119
|
+
shouldForwardProp: () => !0
|
|
120
|
+
})({});
|
|
121
|
+
//#endregion
|
|
122
|
+
export { v as TablePagination };
|
|
@@ -1,13 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import "./index81.js";
|
|
2
|
+
import e from "@mui/icons-material/Cancel";
|
|
3
|
+
import t from "@mui/icons-material/HourglassEmpty";
|
|
4
|
+
import n from "@mui/icons-material/PaidOutlined";
|
|
5
|
+
import r from "@mui/icons-material/DangerousOutlined";
|
|
4
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js
|
|
5
|
-
var i =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
var i = [
|
|
8
|
+
"waiting",
|
|
9
|
+
"approved",
|
|
10
|
+
"rejected",
|
|
11
|
+
"canceled"
|
|
12
|
+
], a = {
|
|
13
|
+
approved: "success",
|
|
14
|
+
canceled: "secondary",
|
|
15
|
+
rejected: "error",
|
|
16
|
+
waiting: "warning"
|
|
17
|
+
}, o = {
|
|
18
|
+
approved: n,
|
|
19
|
+
canceled: e,
|
|
20
|
+
rejected: r,
|
|
21
|
+
waiting: t
|
|
22
|
+
}, s = "status", c = "created_by", l = "current_user";
|
|
12
23
|
//#endregion
|
|
13
|
-
export { i as
|
|
24
|
+
export { i as APPROVAL_REQUEST_STATUSES, o as APPROVAL_REQUEST_STATUS_TO_MUI_ICON_MAP, c as FILTER_TYPE_ADDED_BY, l as FILTER_TYPE_CURRENT_USER, s as FILTER_TYPE_STATUS, a as ROW_TO_STATUS_MUI_MAP };
|
|
@@ -1,56 +1,8 @@
|
|
|
1
|
-
import { Button as e } from "../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { Scope as t } from "../../shared/data-access/dist/lib/scopes.js";
|
|
3
|
-
import "../../shared/data-access/dist/index.js";
|
|
4
|
-
import { Dialog as n } from "./index124.js";
|
|
5
|
-
import "./index125.js";
|
|
6
|
-
import { ApprovalPolicyDetails as r } from "./index138.js";
|
|
7
|
-
import { MoniteScopedProviders as i } from "./index150.js";
|
|
8
|
-
import { useUserPermissions as a } from "./index151.js";
|
|
9
|
-
import { AccessRestriction as o } from "./index157.js";
|
|
10
|
-
import "./index160.js";
|
|
11
|
-
import { ApprovalPoliciesTable as s } from "./index170.js";
|
|
12
|
-
import { PageHeader as c } from "./index172.js";
|
|
13
|
-
import "./index139.js";
|
|
14
|
-
import "./index171.js";
|
|
15
|
-
import { useCallback as l, useState as u } from "react";
|
|
16
|
-
import { Plus as d } from "lucide-react";
|
|
17
|
-
import { Fragment as f, jsx as p, jsxs as m } from "@emotion/react/jsx-runtime";
|
|
18
|
-
import { useLingui as h } from "@lingui/react";
|
|
19
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js
|
|
20
|
-
|
|
21
|
-
let
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}, S = a(), C = S.has(t.ApprovalPolicyReadOrg), w = S.has(t.ApprovalPolicyWriteOrg);
|
|
26
|
-
return /* @__PURE__ */ m(f, { children: [
|
|
27
|
-
/* @__PURE__ */ p(c, {
|
|
28
|
-
className: "ttw:px-2",
|
|
29
|
-
titleVariant: "h3",
|
|
30
|
-
title: i._("Bill pay"),
|
|
31
|
-
extra: /* @__PURE__ */ m(e, {
|
|
32
|
-
id: "create",
|
|
33
|
-
size: "sm",
|
|
34
|
-
disabled: !w,
|
|
35
|
-
onClick: x,
|
|
36
|
-
children: [/* @__PURE__ */ p(d, { className: "ttw:size-4" }), i._("Create")]
|
|
37
|
-
})
|
|
38
|
-
}),
|
|
39
|
-
!C && /* @__PURE__ */ p(o, {}),
|
|
40
|
-
C && /* @__PURE__ */ p(s, {
|
|
41
|
-
onRowClick: b,
|
|
42
|
-
onCreateClick: x
|
|
43
|
-
}),
|
|
44
|
-
/* @__PURE__ */ p(n, {
|
|
45
|
-
open: v,
|
|
46
|
-
alignDialog: "right",
|
|
47
|
-
onClose: () => y(!1),
|
|
48
|
-
children: /* @__PURE__ */ p(r, {
|
|
49
|
-
id: g,
|
|
50
|
-
onCreated: (e) => _(e)
|
|
51
|
-
})
|
|
52
|
-
})
|
|
53
|
-
] });
|
|
54
|
-
};
|
|
2
|
+
function e(...e) {
|
|
3
|
+
let t = "";
|
|
4
|
+
for (let n of e) n && (t += n + " ");
|
|
5
|
+
return t;
|
|
6
|
+
}
|
|
55
7
|
//#endregion
|
|
56
|
-
export {
|
|
8
|
+
export { e as classNames };
|
|
@@ -1,5 +1,31 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { classNames as e } from "./index173.js";
|
|
2
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
3
|
+
import { Stack as n } from "@mui/material";
|
|
4
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js
|
|
5
|
+
var r = ({ className: r, children: i, sx: a }) => /* @__PURE__ */ t(n, {
|
|
6
|
+
direction: "row",
|
|
7
|
+
justifyContent: "space-between",
|
|
8
|
+
alignItems: "center",
|
|
9
|
+
className: e("Monite-Filters", r),
|
|
10
|
+
sx: Object.assign({ "& > *": {
|
|
11
|
+
flexBasis: "fit-content",
|
|
12
|
+
flexGrow: 1
|
|
13
|
+
} }, a || {}),
|
|
14
|
+
children: /* @__PURE__ */ t(n, {
|
|
15
|
+
gap: 1,
|
|
16
|
+
direction: "row",
|
|
17
|
+
justifyContent: "flex-end",
|
|
18
|
+
alignItems: "center",
|
|
19
|
+
className: "Monite-Filters-Group",
|
|
20
|
+
sx: {
|
|
21
|
+
ml: 2,
|
|
22
|
+
"& .Monite-FilterControl": {
|
|
23
|
+
maxWidth: "160px",
|
|
24
|
+
width: "100%"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
children: i
|
|
28
|
+
})
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { r as FilterContainer };
|
|
@@ -1,19 +1,9 @@
|
|
|
1
|
-
import { useCounterpartById as e } from "./index37.js";
|
|
2
|
-
import { getCounterpartName as t } from "./index42.js";
|
|
3
|
-
import "./index52.js";
|
|
4
|
-
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
5
|
-
import { Skeleton as r } from "@mui/material";
|
|
6
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}) : s ? /* @__PURE__ */ n("span", { children: s }) : /* @__PURE__ */ n("span", {
|
|
14
|
-
style: { opacity: .4 },
|
|
15
|
-
children: "-"
|
|
16
|
-
});
|
|
17
|
-
};
|
|
2
|
+
var e = (e) => ({
|
|
3
|
+
approved: e._("Approved"),
|
|
4
|
+
canceled: e._("Canceled"),
|
|
5
|
+
rejected: e._("Rejected"),
|
|
6
|
+
waiting: e._("In approval")
|
|
7
|
+
});
|
|
18
8
|
//#endregion
|
|
19
|
-
export {
|
|
9
|
+
export { e as getRowToStatusTextMap };
|
|
@@ -1 +1,58 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
2
|
+
import { useRootElements as t } from "./index63.js";
|
|
3
|
+
import "./index64.js";
|
|
4
|
+
import { classNames as n } from "./index173.js";
|
|
5
|
+
import { useState as r } from "react";
|
|
6
|
+
import { Fragment as i, jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import { Autocomplete as s, CircularProgress as c, TextField as l } from "@mui/material";
|
|
8
|
+
import { useLingui as u } from "@lingui/react";
|
|
9
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js
|
|
10
|
+
var d = ({ onChange: d, className: f }) => {
|
|
11
|
+
let { i18n: p } = u(), { api: m } = e(), { root: h } = t(), [g, _] = r(!1), [v, y] = r(null), [b, x] = r(""), { data: S, isLoading: C, refetch: w } = m.finops.getEntityUsers.useQuery({ query: { name__istartswith: b || void 0 } }, { enabled: g });
|
|
12
|
+
return /* @__PURE__ */ a(s, {
|
|
13
|
+
autoComplete: !0,
|
|
14
|
+
includeInputInList: !0,
|
|
15
|
+
filterSelectedOptions: !0,
|
|
16
|
+
value: v,
|
|
17
|
+
noOptionsText: p._("No users found"),
|
|
18
|
+
slotProps: { popper: { container: h } },
|
|
19
|
+
open: g,
|
|
20
|
+
onOpen: () => {
|
|
21
|
+
_(!0);
|
|
22
|
+
},
|
|
23
|
+
onClose: () => {
|
|
24
|
+
_(!1);
|
|
25
|
+
},
|
|
26
|
+
loading: C,
|
|
27
|
+
options: S?.data || [],
|
|
28
|
+
getOptionLabel: (e) => `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim(),
|
|
29
|
+
isOptionEqualToValue: (e, t) => e.id === t.id,
|
|
30
|
+
filterOptions: (e) => e,
|
|
31
|
+
onInputChange: (e, t) => {
|
|
32
|
+
x(t);
|
|
33
|
+
},
|
|
34
|
+
onChange: (e, t) => {
|
|
35
|
+
y(t), d(t?.id), w();
|
|
36
|
+
},
|
|
37
|
+
className: n("Monite-ApprovalAddedByFilter-Container", "Monite-FilterControl", f),
|
|
38
|
+
sx: { "&.MuiAutocomplete-root": {
|
|
39
|
+
display: "flex",
|
|
40
|
+
alignItems: "center"
|
|
41
|
+
} },
|
|
42
|
+
renderInput: (e) => /* @__PURE__ */ a(l, {
|
|
43
|
+
...e,
|
|
44
|
+
variant: "standard",
|
|
45
|
+
placeholder: p._("Added by"),
|
|
46
|
+
className: "Monite-ApprovalAddedByFilter Monite-FilterControl",
|
|
47
|
+
InputProps: {
|
|
48
|
+
...e.InputProps,
|
|
49
|
+
endAdornment: /* @__PURE__ */ o(i, { children: [C ? /* @__PURE__ */ a(c, {
|
|
50
|
+
color: "inherit",
|
|
51
|
+
size: 20
|
|
52
|
+
}) : null, e.InputProps.endAdornment] })
|
|
53
|
+
}
|
|
54
|
+
})
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
//#endregion
|
|
58
|
+
export { d as AutocompleteCreatedBy };
|