@tesouro/embedded-components-react 0.7.58 → 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 +5 -261
- package/dist/lib/monite-sdk.js +46 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +50 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +176 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +48 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +3 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -1224
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +2 -176
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +53 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +41 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +69 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +14 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +71 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +170 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +6 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +65 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +1 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +77 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +32 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +1 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +57 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +44 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +1 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +568 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +0 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +156 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +24 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +10 -567
- 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 +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +16 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +26 -1
- 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 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +41 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +49 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +62 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +1 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +27 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +40 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +78 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +2 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +49 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +75 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +113 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +10 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +10 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +20 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +77 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +1 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +125 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +1 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +11 -5
- 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 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +1 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +117 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +29 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +54 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +75 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +26 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +1 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +59 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +20 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +184 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +1 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +29 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +3 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +35 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +17 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +16 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +24 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +5 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +9 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +23 -14
- 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 -21
- 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 +14 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +81 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +14 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +102 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +42 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +101 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +37 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +171 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +4 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +67 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +24 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +212 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +87 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +20 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +1 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +17 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +160 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +101 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +43 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +4 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +20 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +75 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +5 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +9 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +11 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +133 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +5 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +5 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +217 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +31 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +34 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +19 -130
- 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 +181 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +196 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +99 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +63 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +53 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +91 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +39 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +72 -177
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +85 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +12 -204
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +22 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +17 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +20 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +1 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +22 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +28 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +20 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +18 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +33 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +29 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +825 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index35.js +20 -930
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +68 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +5 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +6 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +22 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +6 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +23 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +10 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +6 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +4 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +18 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +9 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +70 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +19 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +15 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +47 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +64 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +31 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +40 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +12 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +53 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +10 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +23 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +69 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +1 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +25 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +4 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +3 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +2 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +35 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +103 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +53 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +1 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +15 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +153 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +1222 -53
- 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 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +0 -2
|
@@ -1 +1,113 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { Button as e } from "./index110.js";
|
|
2
|
+
import { Table as t, TableBody as n, TableCell as r, TableHead as i, TableHeader as a, TableRow as o } from "./index154.js";
|
|
3
|
+
import { Select as s, SelectContent as c, SelectItem as l, SelectTrigger as u, SelectValue as d } from "./index155.js";
|
|
4
|
+
import { useEffect as f, useState as p } from "react";
|
|
5
|
+
import { flexRender as m, getCoreRowModel as h, useReactTable as g } from "@tanstack/react-table";
|
|
6
|
+
import { ChevronLeft as _, ChevronRight as v } from "lucide-react";
|
|
7
|
+
import { twMerge as y } from "tailwind-merge";
|
|
8
|
+
import { Fragment as b, jsx as x, jsxs as S } from "@emotion/react/jsx-runtime";
|
|
9
|
+
import { useLingui as C } from "@lingui/react";
|
|
10
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js
|
|
11
|
+
function w({ columns: w, data: T, sorting: E, onSortingChange: D, pageSize: O, onPageSizeChange: k, nextPaginationToken: A, prevPaginationToken: j, onPaginationTokenChange: M, onRowClick: N, filterComponent: P, children: F, rowLabel: I }) {
|
|
12
|
+
let { i18n: L } = C(), [R, z] = p(0);
|
|
13
|
+
f(() => {
|
|
14
|
+
!j && R !== 0 && z(0);
|
|
15
|
+
}, [j, R]);
|
|
16
|
+
let B = T.length === 0 ? 0 : R + 1, V = R + T.length, H = I ? `${B}-${V} ${I}` : `${B}-${V}`, U = g({
|
|
17
|
+
data: T,
|
|
18
|
+
columns: w,
|
|
19
|
+
getCoreRowModel: h(),
|
|
20
|
+
manualPagination: !0,
|
|
21
|
+
manualSorting: !0,
|
|
22
|
+
enableMultiSort: !1,
|
|
23
|
+
onSortingChange: D,
|
|
24
|
+
state: {
|
|
25
|
+
sorting: E,
|
|
26
|
+
pagination: {
|
|
27
|
+
pageIndex: 0,
|
|
28
|
+
pageSize: O
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
return /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ S("div", {
|
|
33
|
+
className: y("ttw:flex ttw:flex-col ttw:overflow-hidden ttw:min-h-125 ttw:gap-4 ttw:border ttw:border-zinc-100 ttw:rounded-xl ttw:bg-white", P && "ttw:pt-4"),
|
|
34
|
+
children: [P, /* @__PURE__ */ S(t, {
|
|
35
|
+
className: "ttw:border-none",
|
|
36
|
+
children: [/* @__PURE__ */ x(a, { children: U.getHeaderGroups().map((e) => /* @__PURE__ */ x(o, { children: e.headers.map((e) => /* @__PURE__ */ x(i, {
|
|
37
|
+
className: "ttw:p-3 ttw:text-xs ttw:text-zinc-950 ttw:border-b ttw:border-zinc-100 ttw:w-44.5",
|
|
38
|
+
children: e.isPlaceholder ? null : m(e.column.columnDef.header, e.getContext())
|
|
39
|
+
}, e.id)) }, e.id)) }), /* @__PURE__ */ x(n, { children: U.getRowModel().rows?.length ? U.getRowModel().rows.map((e) => /* @__PURE__ */ x(o, {
|
|
40
|
+
onClick: () => N(e.original),
|
|
41
|
+
"data-state": e.getIsSelected() && "selected",
|
|
42
|
+
children: e.getVisibleCells().map((e) => /* @__PURE__ */ x(r, {
|
|
43
|
+
className: "ttw:px-3 ttw:h-13 ttw:font-medium ttw:border-zinc-100 ttw:border-b",
|
|
44
|
+
children: m(e.column.columnDef.cell, e.getContext())
|
|
45
|
+
}, e.id))
|
|
46
|
+
}, e.id)) : /* @__PURE__ */ x(o, { children: /* @__PURE__ */ x(r, {
|
|
47
|
+
colSpan: w.length,
|
|
48
|
+
className: "ttw:min-h-24 ttw:text-center",
|
|
49
|
+
children: F || L._("No results.")
|
|
50
|
+
}) }) })]
|
|
51
|
+
})]
|
|
52
|
+
}), /* @__PURE__ */ S("div", {
|
|
53
|
+
className: "ttw:flex ttw:items-center ttw:justify-end ttw:space-x-6.5 ttw:py-3 ttw:bg-transparent",
|
|
54
|
+
children: [
|
|
55
|
+
/* @__PURE__ */ S("span", {
|
|
56
|
+
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-sm ttw:leading-5 ttw:font-medium ttw:text-zinc-950",
|
|
57
|
+
children: [L._("Rows per page:"), /* @__PURE__ */ S(s, {
|
|
58
|
+
value: String(O),
|
|
59
|
+
onValueChange: (e) => {
|
|
60
|
+
k(Number(e)), M(void 0), z(0);
|
|
61
|
+
},
|
|
62
|
+
children: [/* @__PURE__ */ x(u, {
|
|
63
|
+
size: "sm",
|
|
64
|
+
children: /* @__PURE__ */ x(d, {})
|
|
65
|
+
}), /* @__PURE__ */ S(c, { children: [
|
|
66
|
+
/* @__PURE__ */ x(l, {
|
|
67
|
+
value: "10",
|
|
68
|
+
children: "10"
|
|
69
|
+
}),
|
|
70
|
+
/* @__PURE__ */ x(l, {
|
|
71
|
+
value: "25",
|
|
72
|
+
children: "25"
|
|
73
|
+
}),
|
|
74
|
+
/* @__PURE__ */ x(l, {
|
|
75
|
+
value: "50",
|
|
76
|
+
children: "50"
|
|
77
|
+
}),
|
|
78
|
+
/* @__PURE__ */ x(l, {
|
|
79
|
+
value: "100",
|
|
80
|
+
children: "100"
|
|
81
|
+
})
|
|
82
|
+
] })]
|
|
83
|
+
})]
|
|
84
|
+
}),
|
|
85
|
+
/* @__PURE__ */ x("span", {
|
|
86
|
+
className: "ttw:text-sm ttw:leading-5 ttw:font-medium ttw:text-zinc-950",
|
|
87
|
+
children: H
|
|
88
|
+
}),
|
|
89
|
+
/* @__PURE__ */ S("div", {
|
|
90
|
+
className: "ttw:flex ttw:items-center ttw:space-x-3",
|
|
91
|
+
children: [/* @__PURE__ */ x(e, {
|
|
92
|
+
variant: "ghost",
|
|
93
|
+
className: "ttw:px-2 ttw:py-2 ttw:border ttw:border-zinc-200 ttw:rounded-lg",
|
|
94
|
+
onClick: () => {
|
|
95
|
+
M(j), z((e) => e - O);
|
|
96
|
+
},
|
|
97
|
+
disabled: !j,
|
|
98
|
+
children: /* @__PURE__ */ x(_, {})
|
|
99
|
+
}), /* @__PURE__ */ x(e, {
|
|
100
|
+
variant: "ghost",
|
|
101
|
+
className: "ttw:px-2 ttw:py-2 ttw:border ttw:border-zinc-200 ttw:rounded-lg",
|
|
102
|
+
onClick: () => {
|
|
103
|
+
M(A), z((e) => e + O);
|
|
104
|
+
},
|
|
105
|
+
disabled: !A,
|
|
106
|
+
children: /* @__PURE__ */ x(v, {})
|
|
107
|
+
})]
|
|
108
|
+
})
|
|
109
|
+
]
|
|
110
|
+
})] });
|
|
111
|
+
}
|
|
112
|
+
//#endregion
|
|
113
|
+
export { w as DataTable };
|
|
@@ -1,31 +1,7 @@
|
|
|
1
|
-
import { DataGridEmptyState as e } from "./index155.js";
|
|
2
|
-
import "./index156.js";
|
|
3
|
-
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
|
-
import { useLingui as n } from "@lingui/react";
|
|
5
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js
|
|
6
|
-
|
|
7
|
-
let
|
|
8
|
-
return
|
|
9
|
-
|
|
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;
|
|
29
|
-
};
|
|
2
|
+
function e() {
|
|
3
|
+
let e = window.getSelection();
|
|
4
|
+
return !!e && !!e.toString();
|
|
5
|
+
}
|
|
30
6
|
//#endregion
|
|
31
|
-
export {
|
|
7
|
+
export { e as hasSelectedText };
|
|
@@ -1,43 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CenteredContentBox as t } from "./index55.js";
|
|
3
|
-
import "./index56.js";
|
|
4
|
-
import "./index126.js";
|
|
5
|
-
import { IconWrapper as n } from "./index129.js";
|
|
6
|
-
import "./index130.js";
|
|
7
|
-
import { LockKeyhole as r, X as i } from "lucide-react";
|
|
8
|
-
import { Fragment as a, jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
9
|
-
import { useLingui as c } from "@lingui/react";
|
|
1
|
+
import { createElement as e } from "react";
|
|
10
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
children: /* @__PURE__ */ o(n, {
|
|
20
|
-
onClick: d.onClose,
|
|
21
|
-
color: "inherit",
|
|
22
|
-
"aria-label": "close",
|
|
23
|
-
children: /* @__PURE__ */ o(i, {})
|
|
24
|
-
})
|
|
25
|
-
}), /* @__PURE__ */ o(t, {
|
|
26
|
-
className: u + "-Content",
|
|
27
|
-
children: /* @__PURE__ */ s("div", {
|
|
28
|
-
className: "ttw:flex ttw:flex-col ttw:items-center ttw:space-y-4",
|
|
29
|
-
children: [/* @__PURE__ */ o(r, { className: "ttw:w-8 ttw:h-8 ttw:text-primary" }), /* @__PURE__ */ s("div", {
|
|
30
|
-
className: "ttw:flex ttw:flex-col ttw:items-center ttw:space-y-2",
|
|
31
|
-
children: [/* @__PURE__ */ o("h3", {
|
|
32
|
-
className: "ttw:text-2xl ttw:font-semibold",
|
|
33
|
-
children: p
|
|
34
|
-
}), /* @__PURE__ */ o("p", {
|
|
35
|
-
className: "ttw:text-center",
|
|
36
|
-
children: m
|
|
37
|
-
})]
|
|
38
|
-
})]
|
|
39
|
-
})
|
|
40
|
-
})] });
|
|
41
|
-
};
|
|
3
|
+
var t = ({ color: t = "currentColor", size: n, ...r }) => e("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: n,
|
|
6
|
+
height: n,
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: t,
|
|
9
|
+
...r
|
|
10
|
+
}, e("path", { d: "M14,8h1a1,1,0,0,0,0-2H14a1,1,0,0,0,0,2Zm0,4h1a1,1,0,0,0,0-2H14a1,1,0,0,0,0,2ZM9,8h1a1,1,0,0,0,0-2H9A1,1,0,0,0,9,8Zm0,4h1a1,1,0,0,0,0-2H9a1,1,0,0,0,0,2Zm12,8H20V3a1,1,0,0,0-1-1H5A1,1,0,0,0,4,3V20H3a1,1,0,0,0,0,2H21a1,1,0,0,0,0-2Zm-8,0H11V16h2Zm5,0H15V15a1,1,0,0,0-1-1H10a1,1,0,0,0-1,1v5H6V4H18Z" }));
|
|
42
11
|
//#endregion
|
|
43
|
-
export {
|
|
12
|
+
export { t as UBuilding };
|
|
@@ -1,80 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index70.js";
|
|
3
|
-
import { cn as t } from "./index54.js";
|
|
4
|
-
import "react";
|
|
5
|
-
import { XIcon as n } from "lucide-react";
|
|
6
|
-
import { jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
7
|
-
import * as a from "@radix-ui/react-dialog";
|
|
1
|
+
import { createElement as e } from "react";
|
|
8
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"data-slot": "dialog-portal",
|
|
18
|
-
...e
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
function c({ className: e, ...n }) {
|
|
22
|
-
return /* @__PURE__ */ r(a.Overlay, {
|
|
23
|
-
"data-slot": "dialog-overlay",
|
|
24
|
-
className: t("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:fixed ttw:inset-0 ttw:z-1300 ttw:bg-black/50", e),
|
|
25
|
-
...n
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
function l({ className: o, children: l, showCloseButton: u = !0, fullScreen: d = !1, container: f, ...p }) {
|
|
29
|
-
let { root: m } = e();
|
|
30
|
-
return /* @__PURE__ */ i(s, {
|
|
31
|
-
container: f ?? m,
|
|
32
|
-
"data-slot": "dialog-portal",
|
|
33
|
-
children: [/* @__PURE__ */ r(c, {}), /* @__PURE__ */ i(a.Content, {
|
|
34
|
-
"data-slot": "dialog-content",
|
|
35
|
-
className: t("ttw:bg-background 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:fixed ttw:top-[50%] ttw:left-[50%] ttw:z-1300 ttw:grid ttw:w-full ttw:max-w-[calc(100%-2rem)] ttw:translate-x-[-50%] ttw:translate-y-[-50%] ttw:gap-4 ttw:rounded-lg ttw:border ttw:p-6 ttw:shadow-lg ttw:duration-200 ttw:sm:max-w-lg", d && "ttw:border-none ttw:rounded-none ttw:h-screen ttw:max-w-screen ttw:sm:max-w-screen", o),
|
|
36
|
-
...p,
|
|
37
|
-
onCloseAutoFocus: (e) => {
|
|
38
|
-
e.preventDefault(), (f ?? document.body).style.pointerEvents = "";
|
|
39
|
-
},
|
|
40
|
-
children: [l, u && /* @__PURE__ */ i(a.Close, {
|
|
41
|
-
"data-slot": "dialog-close",
|
|
42
|
-
className: "ttw:ring-offset-background ttw:focus:ring-ring ttw:data-[state=open]:bg-accent ttw:data-[state=open]:text-muted-foreground ttw:absolute ttw:top-4 ttw:right-4 ttw:rounded-xs ttw:opacity-70 ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:ring-2 ttw:focus:ring-offset-2 ttw:focus:outline-hidden ttw:disabled:pointer-events-none ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4",
|
|
43
|
-
children: [/* @__PURE__ */ r(n, {}), /* @__PURE__ */ r("span", {
|
|
44
|
-
className: "ttw:sr-only",
|
|
45
|
-
children: "Close"
|
|
46
|
-
})]
|
|
47
|
-
})]
|
|
48
|
-
})]
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
function u({ className: e, ...n }) {
|
|
52
|
-
return /* @__PURE__ */ r("div", {
|
|
53
|
-
"data-slot": "dialog-header",
|
|
54
|
-
className: t("ttw:flex ttw:flex-col ttw:gap-2 ttw:text-center ttw:sm:text-left", e),
|
|
55
|
-
...n
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
function d({ className: e, ...n }) {
|
|
59
|
-
return /* @__PURE__ */ r("div", {
|
|
60
|
-
"data-slot": "dialog-footer",
|
|
61
|
-
className: t("ttw:flex ttw:flex-col-reverse ttw:gap-2 ttw:sm:flex-row ttw:sm:justify-end", e),
|
|
62
|
-
...n
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function f({ className: e, ...n }) {
|
|
66
|
-
return /* @__PURE__ */ r(a.Title, {
|
|
67
|
-
"data-slot": "dialog-title",
|
|
68
|
-
className: t("ttw:text-lg ttw:leading-none ttw:font-semibold", e),
|
|
69
|
-
...n
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
function p({ className: e, ...n }) {
|
|
73
|
-
return /* @__PURE__ */ r(a.Description, {
|
|
74
|
-
"data-slot": "dialog-description",
|
|
75
|
-
className: t("ttw:text-muted-foreground ttw:text-sm", e),
|
|
76
|
-
...n
|
|
77
|
-
});
|
|
78
|
-
}
|
|
3
|
+
var t = ({ color: t = "currentColor", size: n, ...r }) => e("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: n,
|
|
6
|
+
height: n,
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: t,
|
|
9
|
+
...r
|
|
10
|
+
}, e("path", { d: "M6,11a1,1,0,1,0,1,1A1,1,0,0,0,6,11Zm12,0a1,1,0,1,0,1,1A1,1,0,0,0,18,11Zm2-6H4A3,3,0,0,0,1,8v8a3,3,0,0,0,3,3H20a3,3,0,0,0,3-3V8A3,3,0,0,0,20,5Zm1,11a1,1,0,0,1-1,1H4a1,1,0,0,1-1-1V8A1,1,0,0,1,4,7H20a1,1,0,0,1,1,1ZM12,9a3,3,0,1,0,3,3A3,3,0,0,0,12,9Zm0,4a1,1,0,1,1,1-1A1,1,0,0,1,12,13Z" }));
|
|
79
11
|
//#endregion
|
|
80
|
-
export {
|
|
12
|
+
export { t as UMoneyBill };
|
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
1
|
+
import { useApprovalPolicyTrigger as e } from "./index75.js";
|
|
2
|
+
import { UUserCircle as t } from "./index134.js";
|
|
3
|
+
import { ColumnList as n } from "./index136.js";
|
|
4
|
+
import { UBuilding as r } from "./index158.js";
|
|
5
|
+
import { UMoneyBill as i } from "./index159.js";
|
|
6
|
+
import { jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js
|
|
8
|
+
var s = ({ approvalPolicy: s }) => {
|
|
9
|
+
let { triggers: c, getTriggerName: l } = e({ approvalPolicy: s });
|
|
10
|
+
return s ? /* @__PURE__ */ a(n, { children: Object.keys(c).map((e) => {
|
|
11
|
+
switch (e) {
|
|
12
|
+
case "amount": return /* @__PURE__ */ o("li", { children: [/* @__PURE__ */ a(i, { width: 18 }), l(e)] }, e);
|
|
13
|
+
case "was_created_by_user_id": return /* @__PURE__ */ o("li", { children: [/* @__PURE__ */ a(t, { width: 18 }), l(e)] }, e);
|
|
14
|
+
case "counterpart_id": return /* @__PURE__ */ o("li", { children: [/* @__PURE__ */ a(r, { width: 18 }), l(e)] }, e);
|
|
15
|
+
default: return null;
|
|
16
|
+
}
|
|
17
|
+
}) }) : null;
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { s as ApprovalPoliciesTriggers };
|
|
@@ -1,2 +1,77 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "./
|
|
1
|
+
import { Combobox as e, DatePicker as t, SearchInput as n } from "../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { useMoniteContext as r } from "./index36.js";
|
|
3
|
+
import { useRootElements as i } from "./index63.js";
|
|
4
|
+
import "./index64.js";
|
|
5
|
+
import { useDebounce as a, useDebounceCallback as o } from "./index69.js";
|
|
6
|
+
import { FILTER_TYPE_CREATED_AT as s, FILTER_TYPE_CREATED_BY as c, FILTER_TYPE_SEARCH as l } from "./index81.js";
|
|
7
|
+
import { useMemo as u, useState as d } from "react";
|
|
8
|
+
import { X as f } from "lucide-react";
|
|
9
|
+
import { jsx as p, jsxs as m } from "@emotion/react/jsx-runtime";
|
|
10
|
+
import { useLingui as h } from "@lingui/react";
|
|
11
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js
|
|
12
|
+
var g = 500, _ = (e) => {
|
|
13
|
+
let t = `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim();
|
|
14
|
+
return t && e.email ? `${t} (${e.email})` : t || e.email || e.id;
|
|
15
|
+
}, v = ({ onChange: t }) => {
|
|
16
|
+
let { i18n: n } = h(), { api: i } = r(), [o, s] = d(null), [c, l] = d(""), f = a(c, g), { data: m } = i.finops.getEntityUsers.useQuery({ query: { name__istartswith: f || void 0 } }), v = u(() => m?.data ?? [], [m]), y = u(() => v.map((e) => ({
|
|
17
|
+
value: e.id,
|
|
18
|
+
label: _(e)
|
|
19
|
+
})), [v]), b = u(() => !o || y.some((e) => e.value === o.value) ? y : [o, ...y], [y, o]);
|
|
20
|
+
return /* @__PURE__ */ p(e, {
|
|
21
|
+
items: b,
|
|
22
|
+
value: o?.value ?? "",
|
|
23
|
+
labels: {
|
|
24
|
+
placeholder: n._("Added by"),
|
|
25
|
+
emptyMessage: n._("No users found"),
|
|
26
|
+
clearAriaLabel: n._("Clear selection")
|
|
27
|
+
},
|
|
28
|
+
onQueryChange: l,
|
|
29
|
+
onValueChange: (e) => {
|
|
30
|
+
let n = Array.isArray(e) ? e[0] ?? "" : e ?? "";
|
|
31
|
+
s(b.find((e) => e.value === n) ?? null), t(n || void 0);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
}, y = ({ onChangeFilter: e }) => {
|
|
35
|
+
let { i18n: r } = h(), { root: a } = i(), [u, _] = d(void 0), y = o((t) => {
|
|
36
|
+
e(l, t.trim() ? t : null);
|
|
37
|
+
}, g);
|
|
38
|
+
return /* @__PURE__ */ m("div", {
|
|
39
|
+
className: "ttw:flex ttw:items-center ttw:gap-3 ttw:px-2 ttw:py-2",
|
|
40
|
+
children: [
|
|
41
|
+
/* @__PURE__ */ p("div", {
|
|
42
|
+
className: "ttw:flex-1",
|
|
43
|
+
children: /* @__PURE__ */ p(n, {
|
|
44
|
+
placeholder: r._("Search"),
|
|
45
|
+
className: "ttw:h-9 ttw:w-full",
|
|
46
|
+
onChange: (e) => y(e.target.value)
|
|
47
|
+
})
|
|
48
|
+
}),
|
|
49
|
+
/* @__PURE__ */ p("div", {
|
|
50
|
+
className: "ttw:w-48 ttw:shrink-0",
|
|
51
|
+
children: /* @__PURE__ */ p(v, { onChange: (t) => e(c, t ?? null) })
|
|
52
|
+
}),
|
|
53
|
+
/* @__PURE__ */ m("div", {
|
|
54
|
+
className: "ttw:relative ttw:w-44 ttw:shrink-0",
|
|
55
|
+
children: [/* @__PURE__ */ p(t, {
|
|
56
|
+
value: u,
|
|
57
|
+
placeholder: r._("Created at"),
|
|
58
|
+
className: `ttw:h-9 ttw:border-border${u ? " ttw:pr-8" : ""}`,
|
|
59
|
+
container: a,
|
|
60
|
+
onChange: (t) => {
|
|
61
|
+
_(t), e(s, t ?? null);
|
|
62
|
+
}
|
|
63
|
+
}), u ? /* @__PURE__ */ p("button", {
|
|
64
|
+
type: "button",
|
|
65
|
+
"aria-label": r._("Clear created at filter"),
|
|
66
|
+
className: "ttw:absolute ttw:right-2 ttw:top-1/2 ttw:inline-flex ttw:size-4 ttw:-translate-y-1/2 ttw:cursor-pointer ttw:items-center ttw:justify-center ttw:rounded-sm ttw:text-muted-foreground ttw:opacity-70 hover:ttw:opacity-100",
|
|
67
|
+
onClick: () => {
|
|
68
|
+
_(void 0), e(s, null);
|
|
69
|
+
},
|
|
70
|
+
children: /* @__PURE__ */ p(f, { className: "ttw:size-3.5" })
|
|
71
|
+
}) : null]
|
|
72
|
+
})
|
|
73
|
+
]
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
//#endregion
|
|
77
|
+
export { y as Filters };
|
|
@@ -1,52 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js
|
|
5
|
-
function n({ className: n, ...r }) {
|
|
6
|
-
return /* @__PURE__ */ t("div", {
|
|
7
|
-
"data-slot": "table-container",
|
|
8
|
-
className: "ttw:flex-1 ttw:relative ttw:w-0 ttw:min-w-full ttw:overflow-x-auto",
|
|
9
|
-
children: /* @__PURE__ */ t("table", {
|
|
10
|
-
"data-slot": "table",
|
|
11
|
-
className: e("ttw:w-full ttw:caption-bottom ttw:text-sm", n),
|
|
12
|
-
...r
|
|
13
|
-
})
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
function r({ className: n, ...r }) {
|
|
17
|
-
return /* @__PURE__ */ t("thead", {
|
|
18
|
-
"data-slot": "table-header",
|
|
19
|
-
className: e("ttw:[&_tr]:border-b", n),
|
|
20
|
-
...r
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
function i({ className: n, ...r }) {
|
|
24
|
-
return /* @__PURE__ */ t("tbody", {
|
|
25
|
-
"data-slot": "table-body",
|
|
26
|
-
className: e("ttw:[&_tr:last-child]:border-0", n),
|
|
27
|
-
...r
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
function a({ className: n, ...r }) {
|
|
31
|
-
return /* @__PURE__ */ t("tr", {
|
|
32
|
-
"data-slot": "table-row",
|
|
33
|
-
className: e("ttw:border-b ttw:transition-colors ttw:hover:bg-muted/50 ttw:data-[state=selected]:bg-muted", n),
|
|
34
|
-
...r
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
function o({ className: n, ...r }) {
|
|
38
|
-
return /* @__PURE__ */ t("th", {
|
|
39
|
-
"data-slot": "table-head",
|
|
40
|
-
className: e("ttw:h-10 ttw:px-2 ttw:text-left ttw:align-middle ttw:font-medium ttw:whitespace-nowrap ttw:text-foreground ttw:[&:has([role=checkbox])]:pr-0 ttw:[&>[role=checkbox]]:translate-y-[2px]", n),
|
|
41
|
-
...r
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
function s({ className: n, ...r }) {
|
|
45
|
-
return /* @__PURE__ */ t("td", {
|
|
46
|
-
"data-slot": "table-cell",
|
|
47
|
-
className: e("ttw:p-2 ttw:align-middle ttw:whitespace-nowrap ttw:[&:has([role=checkbox])]:pr-0 ttw:[&>[role=checkbox]]:translate-y-[2px]", n),
|
|
48
|
-
...r
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
//#endregion
|
|
52
|
-
export { n as Table, i as TableBody, s as TableCell, o as TableHead, r as TableHeader, a as TableRow };
|
|
1
|
+
import "./index161.js";
|