@tesouro/embedded-components-react 0.7.59 → 0.7.60
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,160 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { getCounterpartName as t } from "./index42.js";
|
|
3
|
-
import { useDialog as n } from "./index124.js";
|
|
4
|
-
import { useApprovalPolicyTrigger as r } from "./index81.js";
|
|
5
|
-
import { User as i } from "./index63.js";
|
|
6
|
-
import "./index64.js";
|
|
7
|
-
import { useApprovalPolicyScript as a } from "./index90.js";
|
|
8
|
-
import { Role as o } from "./index92.js";
|
|
9
|
-
import "./index93.js";
|
|
10
|
-
import "./index125.js";
|
|
11
|
-
import { DialogFooter as s } from "./index126.js";
|
|
12
|
-
import "./index127.js";
|
|
13
|
-
import { DialogHeader as c } from "./index130.js";
|
|
14
|
-
import "./index135.js";
|
|
15
|
-
import { Fragment as l, jsx as u, jsxs as d } from "@emotion/react/jsx-runtime";
|
|
16
|
-
import { toast as f } from "react-hot-toast";
|
|
17
|
-
import { Chip as p, DialogContent as m, Paper as h, Stack as g, Table as _, TableBody as v, TableCell as y, TableHead as b, TableRow as x, Typography as S } from "@mui/material";
|
|
18
|
-
import { Trans as C, useLingui as w } from "@lingui/react";
|
|
1
|
+
import e from "@emotion/styled/base";
|
|
19
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
case "counterpart_id":
|
|
35
|
-
r = /* @__PURE__ */ u(g, {
|
|
36
|
-
direction: "row",
|
|
37
|
-
gap: 1,
|
|
38
|
-
sx: { flexWrap: "wrap" },
|
|
39
|
-
children: I?.data.map((e) => /* @__PURE__ */ u(p, { label: t(e) }, e.id))
|
|
40
|
-
});
|
|
41
|
-
break;
|
|
42
|
-
case "amount":
|
|
43
|
-
r = /* @__PURE__ */ u("p", { children: N(j.amount?.value ?? [], j.amount?.currency ?? "EUR") });
|
|
44
|
-
break;
|
|
45
|
-
default: r = e;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
label: n,
|
|
49
|
-
value: r
|
|
50
|
-
};
|
|
51
|
-
}), z = P && Object.keys(P)?.map((e) => {
|
|
52
|
-
if (!P[e]) return null;
|
|
53
|
-
switch (e) {
|
|
54
|
-
case "single_user": return {
|
|
55
|
-
label: F(e),
|
|
56
|
-
value: /* @__PURE__ */ u(i, { userId: P[e].userId })
|
|
57
|
-
};
|
|
58
|
-
case "users_from_list": return {
|
|
59
|
-
label: F(e, P[e].count),
|
|
60
|
-
value: /* @__PURE__ */ u(g, {
|
|
61
|
-
direction: "column",
|
|
62
|
-
gap: 1,
|
|
63
|
-
sx: { flexWrap: "wrap" },
|
|
64
|
-
children: P[e].userIds?.map((e) => /* @__PURE__ */ u(i, { userId: e }, e))
|
|
65
|
-
})
|
|
66
|
-
};
|
|
67
|
-
case "roles_from_list": return {
|
|
68
|
-
label: F(e),
|
|
69
|
-
value: /* @__PURE__ */ u(g, {
|
|
70
|
-
direction: "row",
|
|
71
|
-
gap: 1,
|
|
72
|
-
sx: { flexWrap: "wrap" },
|
|
73
|
-
children: P[e].roleIds?.map((e) => /* @__PURE__ */ u(o, {
|
|
74
|
-
roleId: e,
|
|
75
|
-
quoted: !0
|
|
76
|
-
}, e))
|
|
77
|
-
})
|
|
78
|
-
};
|
|
79
|
-
case "approval_chain": return {
|
|
80
|
-
label: F(e),
|
|
81
|
-
value: /* @__PURE__ */ u(g, {
|
|
82
|
-
direction: "column",
|
|
83
|
-
spacing: .5,
|
|
84
|
-
children: P[e].chainUserIds?.map((e) => e ? /* @__PURE__ */ u(i, { userId: e }, e) : null)
|
|
85
|
-
})
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
return /* @__PURE__ */ d(l, { children: [
|
|
90
|
-
/* @__PURE__ */ u(c, {
|
|
91
|
-
title: T?.name,
|
|
92
|
-
closeButtonTooltip: D._("Close approval policy details")
|
|
93
|
-
}),
|
|
94
|
-
/* @__PURE__ */ d(m, { children: [
|
|
95
|
-
/* @__PURE__ */ u(S, {
|
|
96
|
-
variant: "h5",
|
|
97
|
-
mt: 2,
|
|
98
|
-
mb: 1,
|
|
99
|
-
children: D._("Description")
|
|
100
|
-
}),
|
|
101
|
-
T?.description && /* @__PURE__ */ u(S, {
|
|
102
|
-
variant: "body1",
|
|
103
|
-
children: T.description
|
|
104
|
-
}),
|
|
105
|
-
/* @__PURE__ */ u(S, {
|
|
106
|
-
variant: "h5",
|
|
107
|
-
mt: 4,
|
|
108
|
-
mb: 1,
|
|
109
|
-
children: D._("Conditions")
|
|
110
|
-
}),
|
|
111
|
-
/* @__PURE__ */ u(S, {
|
|
112
|
-
variant: "body1",
|
|
113
|
-
mb: 1,
|
|
114
|
-
children: /* @__PURE__ */ u(C, {
|
|
115
|
-
id: "INKhSX",
|
|
116
|
-
components: { 0: /* @__PURE__ */ u("strong", {}) }
|
|
117
|
-
})
|
|
118
|
-
}),
|
|
119
|
-
/* @__PURE__ */ u(h, {
|
|
120
|
-
variant: "outlined",
|
|
121
|
-
children: /* @__PURE__ */ d(_, { children: [/* @__PURE__ */ u(b, { children: /* @__PURE__ */ d(x, { children: [/* @__PURE__ */ u(y, { children: D._("Condition") }), /* @__PURE__ */ u(y, { children: D._("Criteria") })] }) }), /* @__PURE__ */ u(v, { children: R.length > 0 ? R.map((e) => /* @__PURE__ */ d(x, { children: [/* @__PURE__ */ u(y, { children: e.label }), /* @__PURE__ */ u(y, { children: e.value })] }, e.label)) : /* @__PURE__ */ u(x, { children: /* @__PURE__ */ u(y, {
|
|
122
|
-
colSpan: 2,
|
|
123
|
-
children: D._("No conditions")
|
|
124
|
-
}) }) })] })
|
|
125
|
-
}),
|
|
126
|
-
/* @__PURE__ */ u(S, {
|
|
127
|
-
variant: "h5",
|
|
128
|
-
mt: 4,
|
|
129
|
-
mb: 1,
|
|
130
|
-
children: D._("Approval flow")
|
|
131
|
-
}),
|
|
132
|
-
/* @__PURE__ */ u(S, {
|
|
133
|
-
variant: "body1",
|
|
134
|
-
mb: 1,
|
|
135
|
-
children: D._("Who needs to approve the document and how:")
|
|
136
|
-
}),
|
|
137
|
-
/* @__PURE__ */ u(h, {
|
|
138
|
-
variant: "outlined",
|
|
139
|
-
children: /* @__PURE__ */ d(_, { children: [/* @__PURE__ */ u(b, { children: /* @__PURE__ */ d(x, { children: [/* @__PURE__ */ u(y, { children: D._("Approval type") }), /* @__PURE__ */ u(y, { children: D._("Users or Roles") })] }) }), /* @__PURE__ */ u(v, { children: z && z.length > 0 ? z.map((e) => /* @__PURE__ */ d(x, { children: [/* @__PURE__ */ u(y, { children: e?.label }), /* @__PURE__ */ u(y, { children: e?.value })] }, e?.label)) : /* @__PURE__ */ u(x, { children: /* @__PURE__ */ u(y, {
|
|
140
|
-
colSpan: 2,
|
|
141
|
-
children: D._("No rules")
|
|
142
|
-
}) }) })] })
|
|
143
|
-
})
|
|
144
|
-
] }),
|
|
145
|
-
/* @__PURE__ */ u(s, {
|
|
146
|
-
primaryButton: {
|
|
147
|
-
label: D._("Edit"),
|
|
148
|
-
onClick: () => E(!0)
|
|
149
|
-
},
|
|
150
|
-
deleteButton: {
|
|
151
|
-
onClick: () => {
|
|
152
|
-
L.mutate({ path: { approval_policy_id: T.id } }, { onSuccess: () => O?.onClose?.() });
|
|
153
|
-
},
|
|
154
|
-
isLoading: L.isPending
|
|
155
|
-
}
|
|
156
|
-
})
|
|
157
|
-
] });
|
|
158
|
-
};
|
|
3
|
+
function t() {
|
|
4
|
+
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
5
|
+
}
|
|
6
|
+
var n = /*#__PURE__*/ e("ul", process.env.NODE_ENV === "production" ? { target: "e10it8hw0" } : {
|
|
7
|
+
target: "e10it8hw0",
|
|
8
|
+
label: "ColumnList"
|
|
9
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
10
|
+
name: "1932ye7",
|
|
11
|
+
styles: "margin:0;padding:0;list-style:none;li{display:flex;gap:4px;align-items:center;}"
|
|
12
|
+
} : {
|
|
13
|
+
name: "1932ye7",
|
|
14
|
+
styles: "margin:0;padding:0;list-style:none;li{display:flex;gap:4px;align-items:center;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL1Rlc291cm8uUGF5bWVudHMuRnJvbnRlbmRzL1Rlc291cm8uUGF5bWVudHMuRnJvbnRlbmRzL2xpYnMvdGVzb3Vyby1lbWJlZGRlZC1jb21wb25lbnRzLXJlYWN0L21vbml0ZS1zZGsvc3JjL2NvbXBvbmVudHMvYXBwcm92YWxQb2xpY2llcy9BcHByb3ZhbFBvbGljaWVzVGFibGUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVtQyIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay9UZXNvdXJvLlBheW1lbnRzLkZyb250ZW5kcy9UZXNvdXJvLlBheW1lbnRzLkZyb250ZW5kcy9saWJzL3Rlc291cm8tZW1iZWRkZWQtY29tcG9uZW50cy1yZWFjdC9tb25pdGUtc2RrL3NyYy9jb21wb25lbnRzL2FwcHJvdmFsUG9saWNpZXMvQXBwcm92YWxQb2xpY2llc1RhYmxlL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuZXhwb3J0IGNvbnN0IENvbHVtbkxpc3QgPSBzdHlsZWQudWxgXG4gIG1hcmdpbjogMDtcbiAgcGFkZGluZzogMDtcbiAgbGlzdC1zdHlsZTogbm9uZTtcblxuICBsaSB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBnYXA6IDRweDtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICB9XG5gO1xuIl19 */",
|
|
15
|
+
toString: t
|
|
16
|
+
});
|
|
159
17
|
//#endregion
|
|
160
|
-
export {
|
|
18
|
+
export { n as ColumnList };
|
|
@@ -1 +1,21 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { useApprovalPolicyScript as e } from "./index84.js";
|
|
2
|
+
import { UUserSquare as t } from "./index85.js";
|
|
3
|
+
import { UListUiAlt as n } from "./index133.js";
|
|
4
|
+
import { UUserCircle as r } from "./index134.js";
|
|
5
|
+
import { UUsersAlt as i } from "./index135.js";
|
|
6
|
+
import { ColumnList as a } from "./index136.js";
|
|
7
|
+
import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
8
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js
|
|
9
|
+
var c = ({ approvalPolicy: c }) => {
|
|
10
|
+
let { rules: l, getRuleName: u } = e({ approvalPolicy: c });
|
|
11
|
+
return c ? /* @__PURE__ */ o(a, { children: l && Object.keys(l).map((e) => {
|
|
12
|
+
switch (e) {
|
|
13
|
+
case "single_user": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(r, { width: 18 }), u(e)] }, e);
|
|
14
|
+
case "users_from_list": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(i, { width: 18 }), u(e)] }, e);
|
|
15
|
+
case "roles_from_list": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(t, { width: 18 }), u(e)] }, e);
|
|
16
|
+
case "approval_chain": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(n, { width: 18 }), u(e)] }, e);
|
|
17
|
+
}
|
|
18
|
+
}) }) : null;
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { c as ApprovalPoliciesRules };
|
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import
|
|
6
|
-
import "
|
|
7
|
-
import { ApprovalPolicyView as r } from "./index136.js";
|
|
8
|
-
import "./index137.js";
|
|
9
|
-
import { useState as i } from "react";
|
|
10
|
-
import { jsx as a } from "@emotion/react/jsx-runtime";
|
|
1
|
+
import { APPROVAL_STATUS_TO_MUI_ICON_MAP as e, ROW_TO_STATUS_MUI_MAP as t, getRowToStatusTextMap as n } from "./index81.js";
|
|
2
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
3
|
+
import { Chip as i } from "@mui/material";
|
|
4
|
+
import { useLingui as a } from "@lingui/react";
|
|
5
|
+
import o from "@mui/icons-material/Circle";
|
|
6
|
+
import { styled as s, useThemeProps as c } from "@mui/material/styles";
|
|
11
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js
|
|
12
|
-
var
|
|
13
|
-
let
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
8
|
+
var l = ({ ref: i, ...s }) => {
|
|
9
|
+
let { status: l, icon: d, size: f, variant: p } = c({
|
|
10
|
+
props: s,
|
|
11
|
+
name: "MoniteApprovalStatusChip"
|
|
12
|
+
}), { i18n: m } = a(), h = e[l];
|
|
13
|
+
return /* @__PURE__ */ r(u, {
|
|
14
|
+
className: "Monite-ApprovalStatusChip",
|
|
15
|
+
ref: i,
|
|
16
|
+
color: t[l],
|
|
17
|
+
icon: d && h ? /* @__PURE__ */ r(h, { fontSize: "small" }) : /* @__PURE__ */ r(o, { sx: { fontSize: "10px" } }),
|
|
18
|
+
label: n(m)[l],
|
|
19
|
+
size: f,
|
|
20
|
+
status: l,
|
|
21
|
+
variant: p ?? "filled"
|
|
24
22
|
});
|
|
25
|
-
}
|
|
23
|
+
}, u = s(i, {
|
|
24
|
+
name: "MoniteApprovalStatusChip",
|
|
25
|
+
slot: "root",
|
|
26
|
+
shouldForwardProp: () => !0
|
|
27
|
+
})({});
|
|
26
28
|
//#endregion
|
|
27
|
-
export {
|
|
29
|
+
export { l as ApprovalStatusChip, u as StyledChip };
|
|
@@ -1,12 +1,26 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useRootElements as e } from "./index63.js";
|
|
2
|
+
import "./index64.js";
|
|
3
|
+
import { useState as t } from "react";
|
|
4
|
+
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
5
|
+
import { CacheProvider as r } from "@emotion/react";
|
|
6
|
+
import i from "@emotion/cache";
|
|
2
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
var a = ({ cacheKey: e, container: t, prebuiltStylesheet: n = !1 }) => {
|
|
9
|
+
let r = i({
|
|
10
|
+
key: e,
|
|
11
|
+
container: t
|
|
12
|
+
});
|
|
13
|
+
return n && (r.compat = !0), r;
|
|
14
|
+
}, o = ({ cacheKey: i, prebuiltStylesheet: o = !1, children: s }) => {
|
|
15
|
+
let c = e(), [l] = t(() => a({
|
|
16
|
+
cacheKey: i,
|
|
17
|
+
container: c.styles,
|
|
18
|
+
prebuiltStylesheet: o
|
|
19
|
+
}));
|
|
20
|
+
return /* @__PURE__ */ n(r, {
|
|
21
|
+
value: l,
|
|
22
|
+
children: s
|
|
23
|
+
});
|
|
24
|
+
};
|
|
11
25
|
//#endregion
|
|
12
|
-
export {
|
|
26
|
+
export { o as EmotionCacheProvider, a as createEmotionCache };
|
|
@@ -1,12 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
2
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
3
|
+
import { I18nProvider as n } from "@lingui/react";
|
|
4
|
+
import { LocalizationProvider as r } from "@mui/x-date-pickers";
|
|
5
|
+
import { AdapterDateFns as i } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
2
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
var a = ({ children: a }) => {
|
|
8
|
+
let { i18n: o, dateFnsLocale: s } = e();
|
|
9
|
+
return /* @__PURE__ */ t(n, {
|
|
10
|
+
i18n: o,
|
|
11
|
+
children: /* @__PURE__ */ t(r, {
|
|
12
|
+
dateAdapter: i,
|
|
13
|
+
adapterLocale: s,
|
|
14
|
+
children: a
|
|
15
|
+
})
|
|
16
|
+
}, o.locale);
|
|
17
|
+
};
|
|
11
18
|
//#endregion
|
|
12
|
-
export {
|
|
19
|
+
export { a as MoniteI18nProvider };
|
|
@@ -1,12 +1,71 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useDialog as e } from "./index117.js";
|
|
2
|
+
import { CenteredContentBox as t } from "./index50.js";
|
|
3
|
+
import "./index51.js";
|
|
4
|
+
import "./index118.js";
|
|
5
|
+
import { IconWrapper as n } from "./index121.js";
|
|
6
|
+
import "./index122.js";
|
|
7
|
+
import { Fragment as r, jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
8
|
+
import { Box as o, Button as s, Grid as c, Stack as l, Typography as u } from "@mui/material";
|
|
9
|
+
import { useLingui as d } from "@lingui/react";
|
|
10
|
+
import f from "@mui/icons-material/Close";
|
|
11
|
+
import p from "@mui/icons-material/Cached";
|
|
12
|
+
import m from "@mui/icons-material/OpenInNew";
|
|
13
|
+
import h from "@mui/icons-material/SearchOff";
|
|
2
14
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
15
|
+
var g = (g) => {
|
|
16
|
+
let _ = e(), { i18n: v } = d(), y = v._("Something went wrong"), b = String(g.error);
|
|
17
|
+
return /* @__PURE__ */ a(r, { children: [_ && /* @__PURE__ */ a(c, {
|
|
18
|
+
container: !0,
|
|
19
|
+
padding: 2,
|
|
20
|
+
children: [/* @__PURE__ */ i(c, {
|
|
21
|
+
item: !0,
|
|
22
|
+
xs: 11
|
|
23
|
+
}), /* @__PURE__ */ i(c, {
|
|
24
|
+
item: !0,
|
|
25
|
+
xs: 1,
|
|
26
|
+
children: /* @__PURE__ */ i(n, {
|
|
27
|
+
onClick: _.onClose,
|
|
28
|
+
color: "inherit",
|
|
29
|
+
"aria-label": "close",
|
|
30
|
+
children: /* @__PURE__ */ i(f, {})
|
|
31
|
+
})
|
|
32
|
+
})]
|
|
33
|
+
}), /* @__PURE__ */ i(t, { children: /* @__PURE__ */ a(l, {
|
|
34
|
+
alignItems: "center",
|
|
35
|
+
spacing: 2,
|
|
36
|
+
children: [/* @__PURE__ */ i(o, { children: /* @__PURE__ */ i(h, {
|
|
37
|
+
fontSize: "large",
|
|
38
|
+
color: "error"
|
|
39
|
+
}) }), /* @__PURE__ */ a(l, {
|
|
40
|
+
alignItems: "center",
|
|
41
|
+
spacing: 1,
|
|
42
|
+
children: [
|
|
43
|
+
/* @__PURE__ */ i(u, {
|
|
44
|
+
variant: "h3",
|
|
45
|
+
children: y
|
|
46
|
+
}),
|
|
47
|
+
/* @__PURE__ */ i(u, {
|
|
48
|
+
variant: "body2",
|
|
49
|
+
children: b
|
|
50
|
+
}),
|
|
51
|
+
/* @__PURE__ */ a(l, {
|
|
52
|
+
spacing: 2,
|
|
53
|
+
direction: "row",
|
|
54
|
+
children: [/* @__PURE__ */ i(s, {
|
|
55
|
+
variant: "contained",
|
|
56
|
+
onClick: g.resetErrorBoundary,
|
|
57
|
+
endIcon: /* @__PURE__ */ i(p, { fontSize: "small" }),
|
|
58
|
+
children: v._("Try again")
|
|
59
|
+
}), /* @__PURE__ */ i(s, {
|
|
60
|
+
variant: "outlined",
|
|
61
|
+
href: "https://docs.monite.com/docs/support",
|
|
62
|
+
endIcon: /* @__PURE__ */ i(m, { fontSize: "small" }),
|
|
63
|
+
children: v._("Contact support")
|
|
64
|
+
})]
|
|
65
|
+
})
|
|
66
|
+
]
|
|
67
|
+
})]
|
|
68
|
+
}) })] });
|
|
69
|
+
};
|
|
11
70
|
//#endregion
|
|
12
|
-
export {
|
|
71
|
+
export { g as Error };
|
|
@@ -1,18 +1,27 @@
|
|
|
1
|
-
import e from "
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
2
|
+
import { EmotionCacheProvider as t } from "./index140.js";
|
|
3
|
+
import { MoniteI18nProvider as n } from "./index141.js";
|
|
4
|
+
import { Error as r } from "./index142.js";
|
|
5
|
+
import { createContext as i, useContext as a } from "react";
|
|
6
|
+
import { ErrorBoundary as o } from "react-error-boundary";
|
|
7
|
+
import { Fragment as s, jsx as c } from "@emotion/react/jsx-runtime";
|
|
8
|
+
import { ThemeProvider as l } from "@mui/material";
|
|
2
9
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
})
|
|
10
|
+
var u = ({ children: i }) => {
|
|
11
|
+
let u = a(d), { theme: f } = e();
|
|
12
|
+
return u ? /* @__PURE__ */ c(s, { children: i }) : /* @__PURE__ */ c(d.Provider, {
|
|
13
|
+
value: !0,
|
|
14
|
+
children: /* @__PURE__ */ c(t, {
|
|
15
|
+
cacheKey: "monite-css",
|
|
16
|
+
children: /* @__PURE__ */ c(n, { children: /* @__PURE__ */ c(l, {
|
|
17
|
+
theme: f,
|
|
18
|
+
children: /* @__PURE__ */ c(o, {
|
|
19
|
+
FallbackComponent: r,
|
|
20
|
+
children: i
|
|
21
|
+
})
|
|
22
|
+
}) })
|
|
23
|
+
})
|
|
24
|
+
});
|
|
25
|
+
}, d = i(!1);
|
|
17
26
|
//#endregion
|
|
18
|
-
export {
|
|
27
|
+
export { u as MoniteScopedProviders };
|
|
@@ -1,21 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { UUserSquare as t } from "./index91.js";
|
|
3
|
-
import { UListUiAlt as n } from "./index140.js";
|
|
4
|
-
import { UUserCircle as r } from "./index141.js";
|
|
5
|
-
import { UUsersAlt as i } from "./index142.js";
|
|
6
|
-
import { ColumnList as a } from "./index143.js";
|
|
7
|
-
import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
8
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js
|
|
9
|
-
|
|
10
|
-
let {
|
|
11
|
-
return
|
|
12
|
-
|
|
13
|
-
case "single_user": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(r, { width: 18 }), u(e)] }, e);
|
|
14
|
-
case "users_from_list": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(i, { width: 18 }), u(e)] }, e);
|
|
15
|
-
case "roles_from_list": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(t, { width: 18 }), u(e)] }, e);
|
|
16
|
-
case "approval_chain": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(n, { width: 18 }), u(e)] }, e);
|
|
17
|
-
}
|
|
18
|
-
}) }) : null;
|
|
19
|
-
};
|
|
3
|
+
function t() {
|
|
4
|
+
let { userPermissions: t } = e();
|
|
5
|
+
return t;
|
|
6
|
+
}
|
|
20
7
|
//#endregion
|
|
21
|
-
export {
|
|
8
|
+
export { t as useUserPermissions };
|
|
@@ -1,29 +1,43 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
1
|
+
import { useRootElements as e } from "./index63.js";
|
|
2
|
+
import "./index64.js";
|
|
3
|
+
import { cn as t } from "./index49.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "lucide-react";
|
|
6
|
+
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import * as r from "@radix-ui/react-dropdown-menu";
|
|
7
8
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}), { i18n: m } = a(), h = e[l];
|
|
13
|
-
return /* @__PURE__ */ r(u, {
|
|
14
|
-
className: "Monite-ApprovalStatusChip",
|
|
15
|
-
ref: i,
|
|
16
|
-
color: t[l],
|
|
17
|
-
icon: d && h ? /* @__PURE__ */ r(h, { fontSize: "small" }) : /* @__PURE__ */ r(o, { sx: { fontSize: "10px" } }),
|
|
18
|
-
label: n(m)[l],
|
|
19
|
-
size: f,
|
|
20
|
-
status: l,
|
|
21
|
-
variant: p ?? "filled"
|
|
9
|
+
function i({ ...e }) {
|
|
10
|
+
return /* @__PURE__ */ n(r.Root, {
|
|
11
|
+
"data-slot": "dropdown-menu",
|
|
12
|
+
...e
|
|
22
13
|
});
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
14
|
+
}
|
|
15
|
+
function a({ ...e }) {
|
|
16
|
+
return /* @__PURE__ */ n(r.Trigger, {
|
|
17
|
+
"data-slot": "dropdown-menu-trigger",
|
|
18
|
+
...e
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
function o({ className: i, sideOffset: a = 4, ...o }) {
|
|
22
|
+
let { root: s } = e();
|
|
23
|
+
return /* @__PURE__ */ n(r.Portal, {
|
|
24
|
+
container: s,
|
|
25
|
+
children: /* @__PURE__ */ n(r.Content, {
|
|
26
|
+
"data-slot": "dropdown-menu-content",
|
|
27
|
+
sideOffset: a,
|
|
28
|
+
className: t("ttw:bg-popover ttw:text-popover-foreground ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:z-1300 ttw:max-h-(--radix-dropdown-menu-content-available-height) ttw:min-w-[8rem] ttw:origin-(--radix-dropdown-menu-content-transform-origin) ttw:overflow-x-hidden ttw:overflow-y-auto ttw:rounded-md ttw:border-none ttw:p-1 ttw:shadow-md", i),
|
|
29
|
+
...o
|
|
30
|
+
})
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function s({ className: e, inset: i, variant: a = "default", ...o }) {
|
|
34
|
+
return /* @__PURE__ */ n(r.Item, {
|
|
35
|
+
"data-slot": "dropdown-menu-item",
|
|
36
|
+
"data-inset": i,
|
|
37
|
+
"data-variant": a,
|
|
38
|
+
className: t("ttw:focus:bg-accent ttw:focus:text-accent-foreground ttw:data-[variant=destructive]:text-destructive ttw:data-[variant=destructive]:focus:bg-destructive/10 ttw:dark:data-[variant=destructive]:focus:bg-destructive/20 ttw:data-[variant=destructive]:focus:text-destructive ttw:data-[variant=destructive]:*:[svg]:!text-destructive ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:relative ttw:flex ttw:cursor-pointer ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:px-2 ttw:py-1.5 ttw:text-sm ttw:outline-hidden ttw:select-none ttw:data-[disabled]:pointer-events-none ttw:data-[disabled]:opacity-50 ttw:data-[inset]:pl-8 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", e),
|
|
39
|
+
...o
|
|
40
|
+
});
|
|
41
|
+
}
|
|
28
42
|
//#endregion
|
|
29
|
-
export {
|
|
43
|
+
export { i as DropdownMenu, o as DropdownMenuContent, s as DropdownMenuItem, a as DropdownMenuTrigger };
|
|
@@ -1 +1,51 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { cva as t } from "class-variance-authority";
|
|
3
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js
|
|
4
|
+
var n = t(void 0, {
|
|
5
|
+
variants: {
|
|
6
|
+
variant: {
|
|
7
|
+
h1: "ttw:scroll-m-20 ttw:text-4xl ttw:font-extrabold ttw:tracking-tight",
|
|
8
|
+
h2: "ttw:scroll-m-20 ttw:text-3xl ttw:font-semibold ttw:tracking-tight",
|
|
9
|
+
h3: "ttw:scroll-m-20 ttw:text-2xl ttw:font-semibold ttw:tracking-tight",
|
|
10
|
+
h4: "ttw:scroll-m-20 ttw:text-xl ttw:font-semibold ttw:tracking-tight",
|
|
11
|
+
h5: "ttw:scroll-m-20 ttw:text-lg ttw:font-semibold ttw:tracking-tight",
|
|
12
|
+
h6: "ttw:scroll-m-20 ttw:text-base ttw:font-semibold ttw:tracking-tight",
|
|
13
|
+
body1: "ttw:text-base ttw:leading-7",
|
|
14
|
+
body2: "ttw:text-sm ttw:leading-6",
|
|
15
|
+
caption: "ttw:text-xs ttw:leading-5"
|
|
16
|
+
},
|
|
17
|
+
color: {
|
|
18
|
+
default: "ttw:text-foreground",
|
|
19
|
+
muted: "ttw:text-muted-foreground",
|
|
20
|
+
primary: "ttw:text-primary",
|
|
21
|
+
destructive: "ttw:text-destructive"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
defaultVariants: {
|
|
25
|
+
variant: "body1",
|
|
26
|
+
color: "default"
|
|
27
|
+
}
|
|
28
|
+
}), r = {
|
|
29
|
+
h1: "h1",
|
|
30
|
+
h2: "h2",
|
|
31
|
+
h3: "h3",
|
|
32
|
+
h4: "h4",
|
|
33
|
+
h5: "h5",
|
|
34
|
+
h6: "h6",
|
|
35
|
+
body1: "p",
|
|
36
|
+
body2: "p",
|
|
37
|
+
caption: "span"
|
|
38
|
+
};
|
|
39
|
+
function i({ className: t, variant: i = "body1", color: a = "default", component: o, children: s, ...c }) {
|
|
40
|
+
let l = o || r[i ?? "body1"];
|
|
41
|
+
return e.createElement(l, {
|
|
42
|
+
className: n({
|
|
43
|
+
variant: i,
|
|
44
|
+
color: a,
|
|
45
|
+
className: t
|
|
46
|
+
}),
|
|
47
|
+
...c
|
|
48
|
+
}, s);
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
export { i as Typography, n as typographyVariants };
|