@tesouro/embedded-components-react 0.7.50 → 0.7.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +0 -25
- package/dist/lib/monite-sdk.d.ts +44 -79
- package/dist/lib/monite-sdk.js +56 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +60 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +1 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +153 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +52 -150
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +2 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +53 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +37 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +71 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +39 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +65 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +158 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +7 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +76 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +78 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +0 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +35 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +42 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +568 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +0 -568
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +160 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +0 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +27 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +26 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +16 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +68 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +23 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +6 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +39 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +48 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +58 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +1 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +27 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +43 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +78 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +4 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +2 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +52 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +81 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +119 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +4 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +10 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +75 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +122 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +11 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +16 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +62 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +122 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +21 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +6 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +35 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +54 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +72 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +25 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +1 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +58 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +19 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +181 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +27 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +61 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +34 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +9 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index20.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +42 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +11 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +17 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +3 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +8 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +9 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index21.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +34 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +111 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +66 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +196 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +1 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +9 -198
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +17 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +5 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +358 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +20 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +85 -351
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +2 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +179 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +95 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +15 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +53 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +43 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +36 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +0 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +161 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +56 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +93 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +45 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +49 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +82 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +7 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +301 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +27 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +25 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +20 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +158 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +34 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +3 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +100 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +187 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +116 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +195 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +11 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +12 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +29 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +237 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +33 -239
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +142 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +159 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +24 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +16 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +20 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +21 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +18 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +9 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +22 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +8 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +14 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +79 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +99 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +44 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +26 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +102 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +168 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +11 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +4 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +65 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +26 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +208 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +88 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +17 -210
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +153 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +102 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +40 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +4 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +21 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +77 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +18 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +129 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +4 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +219 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +34 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +11 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +34 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +73 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +181 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +14 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +189 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +100 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +58 -198
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +52 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +91 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +40 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +73 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +81 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +12 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +22 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +17 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +5 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +44 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +4 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +33 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +30 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +95 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +8 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +13 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +3 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +69 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +51 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +1 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +46 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +15 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +45 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +63 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +33 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +36 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +19 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +12 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +24 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +53 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +23 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +73 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +79 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +1 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +8 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +3 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +10 -56
- 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/index367.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +0 -97
|
@@ -1,52 +1,125 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
1
|
+
import { Button as e } from "./index120.js";
|
|
2
|
+
import { Table as t, TableBody as n, TableCell as r, TableHead as i, TableHeader as a, TableRow as o } from "./index164.js";
|
|
3
|
+
import { Select as s, SelectContent as c, SelectItem as l, SelectTrigger as u, SelectValue as d } from "./index165.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 { ArrowDown as _, ArrowUp as v, ArrowUpDown as y, ChevronLeft as b, ChevronRight as x } from "lucide-react";
|
|
7
|
+
import { twMerge as S } from "tailwind-merge";
|
|
8
|
+
import { Fragment as C, jsx as w, jsxs as T } from "@emotion/react/jsx-runtime";
|
|
9
|
+
import { useLingui as E } from "@lingui/react";
|
|
4
10
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js
|
|
5
|
-
function
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
function D({ columns: _, data: v, sorting: y, onSortingChange: D, pageSize: O, onPageSizeChange: k, nextPaginationToken: A, prevPaginationToken: j, onPaginationTokenChange: M, onRowClick: N, filterComponent: P, children: F, rowLabel: I }) {
|
|
12
|
+
let { i18n: L } = E(), [R, z] = p(0);
|
|
13
|
+
f(() => {
|
|
14
|
+
!j && R !== 0 && z(0);
|
|
15
|
+
}, [j, R]);
|
|
16
|
+
let B = v.length === 0 ? 0 : R + 1, V = R + v.length, H = I ? `${B}-${V} ${I}` : `${B}-${V}`, U = g({
|
|
17
|
+
data: v,
|
|
18
|
+
columns: _,
|
|
19
|
+
getCoreRowModel: h(),
|
|
20
|
+
manualPagination: !0,
|
|
21
|
+
manualSorting: !0,
|
|
22
|
+
enableMultiSort: !1,
|
|
23
|
+
onSortingChange: D,
|
|
24
|
+
state: {
|
|
25
|
+
sorting: y,
|
|
26
|
+
pagination: {
|
|
27
|
+
pageIndex: 0,
|
|
28
|
+
pageSize: O
|
|
29
|
+
}
|
|
30
|
+
}
|
|
14
31
|
});
|
|
32
|
+
return /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ T("div", {
|
|
33
|
+
className: S("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__ */ T(t, {
|
|
35
|
+
className: "ttw:border-none",
|
|
36
|
+
children: [/* @__PURE__ */ w(a, { children: U.getHeaderGroups().map((e) => /* @__PURE__ */ w(o, { children: e.headers.map((e) => /* @__PURE__ */ w(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__ */ w(n, { children: U.getRowModel().rows?.length ? U.getRowModel().rows.map((e) => /* @__PURE__ */ w(o, {
|
|
40
|
+
onClick: () => N(e.original),
|
|
41
|
+
"data-state": e.getIsSelected() && "selected",
|
|
42
|
+
children: e.getVisibleCells().map((e) => /* @__PURE__ */ w(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__ */ w(o, { children: /* @__PURE__ */ w(r, {
|
|
47
|
+
colSpan: _.length,
|
|
48
|
+
className: "ttw:min-h-24 ttw:text-center",
|
|
49
|
+
children: F || L._("No results.")
|
|
50
|
+
}) }) })]
|
|
51
|
+
})]
|
|
52
|
+
}), /* @__PURE__ */ T("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__ */ T("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__ */ T(s, {
|
|
58
|
+
value: String(O),
|
|
59
|
+
onValueChange: (e) => {
|
|
60
|
+
k(Number(e)), M(void 0), z(0);
|
|
61
|
+
},
|
|
62
|
+
children: [/* @__PURE__ */ w(u, {
|
|
63
|
+
size: "sm",
|
|
64
|
+
children: /* @__PURE__ */ w(d, {})
|
|
65
|
+
}), /* @__PURE__ */ T(c, { children: [
|
|
66
|
+
/* @__PURE__ */ w(l, {
|
|
67
|
+
value: "10",
|
|
68
|
+
children: "10"
|
|
69
|
+
}),
|
|
70
|
+
/* @__PURE__ */ w(l, {
|
|
71
|
+
value: "25",
|
|
72
|
+
children: "25"
|
|
73
|
+
}),
|
|
74
|
+
/* @__PURE__ */ w(l, {
|
|
75
|
+
value: "50",
|
|
76
|
+
children: "50"
|
|
77
|
+
}),
|
|
78
|
+
/* @__PURE__ */ w(l, {
|
|
79
|
+
value: "100",
|
|
80
|
+
children: "100"
|
|
81
|
+
})
|
|
82
|
+
] })]
|
|
83
|
+
})]
|
|
84
|
+
}),
|
|
85
|
+
/* @__PURE__ */ w("span", {
|
|
86
|
+
className: "ttw:text-sm ttw:leading-5 ttw:font-medium ttw:text-zinc-950",
|
|
87
|
+
children: H
|
|
88
|
+
}),
|
|
89
|
+
/* @__PURE__ */ T("div", {
|
|
90
|
+
className: "ttw:flex ttw:items-center ttw:space-x-3",
|
|
91
|
+
children: [/* @__PURE__ */ w(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__ */ w(b, {})
|
|
99
|
+
}), /* @__PURE__ */ w(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__ */ w(x, {})
|
|
107
|
+
})]
|
|
108
|
+
})
|
|
109
|
+
]
|
|
110
|
+
})] });
|
|
15
111
|
}
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
className:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
|
112
|
+
function O({ column: t, title: n, ariaLabel: r }) {
|
|
113
|
+
let i = t.getIsSorted();
|
|
114
|
+
return /* @__PURE__ */ T("div", {
|
|
115
|
+
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
|
|
116
|
+
children: [n, /* @__PURE__ */ w(e, {
|
|
117
|
+
variant: "ghost",
|
|
118
|
+
"aria-label": r,
|
|
119
|
+
onClick: () => t.toggleSorting(i === "asc"),
|
|
120
|
+
children: w(i === "asc" ? v : i === "desc" ? _ : y, { className: "ttw:size-4" })
|
|
121
|
+
})]
|
|
49
122
|
});
|
|
50
123
|
}
|
|
51
124
|
//#endregion
|
|
52
|
-
export {
|
|
125
|
+
export { D as DataTable, O as SortableHeader };
|
|
@@ -1,81 +1,7 @@
|
|
|
1
|
-
import { useRootElements as e } from "./index78.js";
|
|
2
|
-
import "./index79.js";
|
|
3
|
-
import { cn as t } from "./index64.js";
|
|
4
|
-
import "react";
|
|
5
|
-
import { CheckIcon as n, ChevronDownIcon as r, ChevronUpIcon as i } from "lucide-react";
|
|
6
|
-
import { jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
|
-
import * as s from "@radix-ui/react-select";
|
|
8
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js
|
|
9
|
-
function
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
...e
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
function l({ ...e }) {
|
|
16
|
-
return /* @__PURE__ */ a(s.Value, {
|
|
17
|
-
"data-slot": "select-value",
|
|
18
|
-
...e
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
function u({ className: e, size: n = "default", children: i, ...c }) {
|
|
22
|
-
return /* @__PURE__ */ o(s.Trigger, {
|
|
23
|
-
"data-slot": "select-trigger",
|
|
24
|
-
"data-size": n,
|
|
25
|
-
className: t("ttw:border-input ttw:data-[placeholder]:text-muted-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:dark:bg-input/30 ttw:dark:hover:bg-input/50 ttw:flex ttw:w-fit ttw:items-center ttw:justify-between ttw:gap-2 ttw:rounded-md ttw:border ttw:bg-transparent ttw:px-3 ttw:py-2 ttw:text-sm ttw:whitespace-nowrap ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:data-[size=default]:h-9 ttw:data-[size=sm]:h-8 ttw:*:data-[slot=select-value]:line-clamp-1 ttw:*:data-[slot=select-value]:flex ttw:*:data-[slot=select-value]:min-w-0 ttw:*:data-[slot=select-value]:flex-1 ttw:*:data-[slot=select-value]:items-center ttw:*:data-[slot=select-value]:gap-2 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", e),
|
|
26
|
-
...c,
|
|
27
|
-
children: [i, /* @__PURE__ */ a(s.Icon, {
|
|
28
|
-
asChild: !0,
|
|
29
|
-
children: /* @__PURE__ */ a(r, { className: "ttw:size-4 ttw:opacity-50" })
|
|
30
|
-
})]
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
function d({ className: n, children: r, position: i = "popper", ...c }) {
|
|
34
|
-
let { root: l } = e();
|
|
35
|
-
return /* @__PURE__ */ a(s.Portal, {
|
|
36
|
-
container: l,
|
|
37
|
-
children: /* @__PURE__ */ o(s.Content, {
|
|
38
|
-
"data-slot": "select-content",
|
|
39
|
-
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:relative ttw:z-1300 ttw:max-h-(--radix-select-content-available-height) ttw:min-w-[8rem] ttw:origin-(--radix-select-content-transform-origin) ttw:overflow-x-hidden ttw:overflow-y-auto ttw:rounded-md ttw:border-none ttw:shadow-md", i === "popper" && "ttw:data-[side=bottom]:translate-y-1 ttw:data-[side=left]:-translate-x-1 ttw:data-[side=right]:translate-x-1 ttw:data-[side=top]:-translate-y-1", n),
|
|
40
|
-
position: i,
|
|
41
|
-
...c,
|
|
42
|
-
children: [
|
|
43
|
-
/* @__PURE__ */ a(p, {}),
|
|
44
|
-
/* @__PURE__ */ a(s.Viewport, {
|
|
45
|
-
className: t("ttw:p-1", i === "popper" && "ttw:h-[var(--radix-select-trigger-height)] ttw:w-full ttw:min-w-[var(--radix-select-trigger-width)] ttw:scroll-my-1"),
|
|
46
|
-
children: r
|
|
47
|
-
}),
|
|
48
|
-
/* @__PURE__ */ a(m, {})
|
|
49
|
-
]
|
|
50
|
-
})
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
function f({ className: e, children: r, ...i }) {
|
|
54
|
-
return /* @__PURE__ */ o(s.Item, {
|
|
55
|
-
"data-slot": "select-item",
|
|
56
|
-
className: t("ttw:focus:bg-accent ttw:focus:text-accent-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:relative ttw:flex ttw:w-full ttw:cursor-default ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:py-1.5 ttw:pr-8 ttw:pl-2 ttw:text-sm ttw:outline-hidden ttw:select-none ttw:data-[disabled]:pointer-events-none ttw:data-[disabled]:opacity-50 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4 ttw:*:[span]:last:flex ttw:*:[span]:last:min-w-0 ttw:*:[span]:last:flex-1 ttw:*:[span]:last:items-center ttw:*:[span]:last:gap-2", e),
|
|
57
|
-
...i,
|
|
58
|
-
children: [/* @__PURE__ */ a("span", {
|
|
59
|
-
className: "ttw:absolute ttw:right-2 ttw:flex ttw:size-3.5 ttw:items-center ttw:justify-center",
|
|
60
|
-
children: /* @__PURE__ */ a(s.ItemIndicator, { children: /* @__PURE__ */ a(n, { className: "ttw:size-4" }) })
|
|
61
|
-
}), /* @__PURE__ */ a(s.ItemText, { children: r })]
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
function p({ className: e, ...n }) {
|
|
65
|
-
return /* @__PURE__ */ a(s.ScrollUpButton, {
|
|
66
|
-
"data-slot": "select-scroll-up-button",
|
|
67
|
-
className: t("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e),
|
|
68
|
-
...n,
|
|
69
|
-
children: /* @__PURE__ */ a(i, { className: "ttw:size-4" })
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
function m({ className: e, ...n }) {
|
|
73
|
-
return /* @__PURE__ */ a(s.ScrollDownButton, {
|
|
74
|
-
"data-slot": "select-scroll-down-button",
|
|
75
|
-
className: t("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e),
|
|
76
|
-
...n,
|
|
77
|
-
children: /* @__PURE__ */ a(r, { className: "ttw:size-4" })
|
|
78
|
-
});
|
|
2
|
+
function e() {
|
|
3
|
+
let e = window.getSelection();
|
|
4
|
+
return !!e && !!e.toString();
|
|
79
5
|
}
|
|
80
6
|
//#endregion
|
|
81
|
-
export {
|
|
7
|
+
export { e as hasSelectedText };
|
|
@@ -1,125 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Table as t, TableBody as n, TableCell as r, TableHead as i, TableHeader as a, TableRow as o } from "./index166.js";
|
|
3
|
-
import { Select as s, SelectContent as c, SelectItem as l, SelectTrigger as u, SelectValue as d } from "./index167.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 { ArrowDown as _, ArrowUp as v, ArrowUpDown as y, ChevronLeft as b, ChevronRight as x } from "lucide-react";
|
|
7
|
-
import { twMerge as S } from "tailwind-merge";
|
|
8
|
-
import { Fragment as C, jsx as w, jsxs as T } from "@emotion/react/jsx-runtime";
|
|
9
|
-
import { useLingui as E } from "@lingui/react";
|
|
1
|
+
import { createElement as e } from "react";
|
|
10
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
getCoreRowModel: h(),
|
|
20
|
-
manualPagination: !0,
|
|
21
|
-
manualSorting: !0,
|
|
22
|
-
enableMultiSort: !1,
|
|
23
|
-
onSortingChange: D,
|
|
24
|
-
state: {
|
|
25
|
-
sorting: y,
|
|
26
|
-
pagination: {
|
|
27
|
-
pageIndex: 0,
|
|
28
|
-
pageSize: O
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
return /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ T("div", {
|
|
33
|
-
className: S("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__ */ T(t, {
|
|
35
|
-
className: "ttw:border-none",
|
|
36
|
-
children: [/* @__PURE__ */ w(a, { children: U.getHeaderGroups().map((e) => /* @__PURE__ */ w(o, { children: e.headers.map((e) => /* @__PURE__ */ w(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__ */ w(n, { children: U.getRowModel().rows?.length ? U.getRowModel().rows.map((e) => /* @__PURE__ */ w(o, {
|
|
40
|
-
onClick: () => N(e.original),
|
|
41
|
-
"data-state": e.getIsSelected() && "selected",
|
|
42
|
-
children: e.getVisibleCells().map((e) => /* @__PURE__ */ w(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__ */ w(o, { children: /* @__PURE__ */ w(r, {
|
|
47
|
-
colSpan: _.length,
|
|
48
|
-
className: "ttw:min-h-24 ttw:text-center",
|
|
49
|
-
children: F || L._("No results.")
|
|
50
|
-
}) }) })]
|
|
51
|
-
})]
|
|
52
|
-
}), /* @__PURE__ */ T("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__ */ T("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__ */ T(s, {
|
|
58
|
-
value: String(O),
|
|
59
|
-
onValueChange: (e) => {
|
|
60
|
-
k(Number(e)), M(void 0), z(0);
|
|
61
|
-
},
|
|
62
|
-
children: [/* @__PURE__ */ w(u, {
|
|
63
|
-
size: "sm",
|
|
64
|
-
children: /* @__PURE__ */ w(d, {})
|
|
65
|
-
}), /* @__PURE__ */ T(c, { children: [
|
|
66
|
-
/* @__PURE__ */ w(l, {
|
|
67
|
-
value: "10",
|
|
68
|
-
children: "10"
|
|
69
|
-
}),
|
|
70
|
-
/* @__PURE__ */ w(l, {
|
|
71
|
-
value: "25",
|
|
72
|
-
children: "25"
|
|
73
|
-
}),
|
|
74
|
-
/* @__PURE__ */ w(l, {
|
|
75
|
-
value: "50",
|
|
76
|
-
children: "50"
|
|
77
|
-
}),
|
|
78
|
-
/* @__PURE__ */ w(l, {
|
|
79
|
-
value: "100",
|
|
80
|
-
children: "100"
|
|
81
|
-
})
|
|
82
|
-
] })]
|
|
83
|
-
})]
|
|
84
|
-
}),
|
|
85
|
-
/* @__PURE__ */ w("span", {
|
|
86
|
-
className: "ttw:text-sm ttw:leading-5 ttw:font-medium ttw:text-zinc-950",
|
|
87
|
-
children: H
|
|
88
|
-
}),
|
|
89
|
-
/* @__PURE__ */ T("div", {
|
|
90
|
-
className: "ttw:flex ttw:items-center ttw:space-x-3",
|
|
91
|
-
children: [/* @__PURE__ */ w(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__ */ w(b, {})
|
|
99
|
-
}), /* @__PURE__ */ w(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__ */ w(x, {})
|
|
107
|
-
})]
|
|
108
|
-
})
|
|
109
|
-
]
|
|
110
|
-
})] });
|
|
111
|
-
}
|
|
112
|
-
function O({ column: t, title: n, ariaLabel: r }) {
|
|
113
|
-
let i = t.getIsSorted();
|
|
114
|
-
return /* @__PURE__ */ T("div", {
|
|
115
|
-
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
|
|
116
|
-
children: [n, /* @__PURE__ */ w(e, {
|
|
117
|
-
variant: "ghost",
|
|
118
|
-
"aria-label": r,
|
|
119
|
-
onClick: () => t.toggleSorting(i === "asc"),
|
|
120
|
-
children: w(i === "asc" ? v : i === "desc" ? _ : y, { className: "ttw:size-4" })
|
|
121
|
-
})]
|
|
122
|
-
});
|
|
123
|
-
}
|
|
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" }));
|
|
124
11
|
//#endregion
|
|
125
|
-
export {
|
|
12
|
+
export { t as UBuilding };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { createElement as e } from "react";
|
|
1
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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" }));
|
|
6
11
|
//#endregion
|
|
7
|
-
export {
|
|
12
|
+
export { t as UMoneyBill };
|
|
@@ -1,12 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useApprovalPolicyTrigger as e } from "./index89.js";
|
|
2
|
+
import { UUserCircle as t } from "./index144.js";
|
|
3
|
+
import { ColumnList as n } from "./index146.js";
|
|
4
|
+
import { UBuilding as r } from "./index168.js";
|
|
5
|
+
import { UMoneyBill as i } from "./index169.js";
|
|
6
|
+
import { jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
2
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
+
};
|
|
11
19
|
//#endregion
|
|
12
|
-
export {
|
|
20
|
+
export { s as ApprovalPoliciesTriggers };
|
|
@@ -1,12 +1,77 @@
|
|
|
1
|
-
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 "./index45.js";
|
|
3
|
+
import { useRootElements as i } from "./index76.js";
|
|
4
|
+
import "./index77.js";
|
|
5
|
+
import { useDebounce as a, useDebounceCallback as o } from "./index83.js";
|
|
6
|
+
import { FILTER_TYPE_CREATED_AT as s, FILTER_TYPE_CREATED_BY as c, FILTER_TYPE_SEARCH as l } from "./index95.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";
|
|
2
11
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
},
|
|
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
|
+
};
|
|
11
76
|
//#endregion
|
|
12
|
-
export {
|
|
77
|
+
export { y as Filters };
|
|
@@ -1,20 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { UUserCircle as t } from "./index145.js";
|
|
3
|
-
import { ColumnList as n } from "./index147.js";
|
|
4
|
-
import { UBuilding as r } from "./index170.js";
|
|
5
|
-
import { UMoneyBill as i } from "./index171.js";
|
|
6
|
-
import { jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index172.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
|
+
import "./index171.js";
|