@tesouro/embedded-components-react 0.7.58 → 0.7.59
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/lib/monite-sdk.d.ts +3 -98
- package/dist/lib/monite-sdk.js +51 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +153 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1222 -151
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +171 -1219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +6 -174
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +15 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +5 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +55 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +53 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +37 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +71 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +39 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +65 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +158 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +7 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +69 -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 +78 -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 +35 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +42 -56
- 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 +568 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +0 -568
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +160 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +0 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -0
- 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 +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +27 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +26 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +68 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +24 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +6 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +40 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +48 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +58 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +1 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +30 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +40 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +76 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +4 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +52 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +66 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +108 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +4 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +73 -16
- 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 +128 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +0 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +54 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +5 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +120 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +22 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +6 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +35 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +6 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +56 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +71 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +25 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +1 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +61 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +17 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +183 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +1 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +1 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +0 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +17 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +5 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +15 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +18 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +14 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +9 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +26 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +11 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +14 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +81 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +14 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +100 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +42 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +27 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +1 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +105 -0
- 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 +35 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +166 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +12 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +70 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +20 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +209 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +88 -208
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +20 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +1 -22
- 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 +158 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +91 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +42 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +4 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +73 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +16 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +5 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +131 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +5 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +221 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +31 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +11 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +20 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +72 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +181 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +14 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +204 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +88 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +61 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +54 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +83 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +40 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +75 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +71 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +12 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +23 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +0 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +21 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +32 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +21 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +30 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +27 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +2 -31
- 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 +14 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +14 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +43 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +21 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +4 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +6 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +27 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +8 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +69 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +50 -68
- 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 +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +46 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +11 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +1 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +47 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +35 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +64 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +29 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +32 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +21 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +15 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +53 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +12 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +71 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +77 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +1 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +10 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +27 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +2 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +17 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +3 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +57 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +10 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +37 -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 +105 -0
- 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 +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +1 -55
- 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/index276.js +0 -2
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { getAPIErrorMessage as e } from "./index18.js";
|
|
2
|
+
import { useMoniteContext as t } from "./index36.js";
|
|
3
|
+
import { messageWithTruncatedName as n } from "./index197.js";
|
|
4
|
+
import { toast as r } from "react-hot-toast";
|
|
5
|
+
import { useLingui as i } from "@lingui/react";
|
|
5
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js
|
|
6
|
-
var
|
|
7
|
-
let { api:
|
|
8
|
-
return
|
|
9
|
-
onSuccess: async () => {
|
|
10
|
-
|
|
7
|
+
var a = (a, o) => {
|
|
8
|
+
let { api: s, queryClient: c } = t(), { i18n: l } = i();
|
|
9
|
+
return s.finops.postMeasureUnits.useMutation({}, {
|
|
10
|
+
onSuccess: async (e) => {
|
|
11
|
+
await s.finops.getMeasureUnits.invalidateQueries(c), r.success(n(l._("Unit {name} was added to the list", { name: "\0" }), e.name)), a?.();
|
|
11
12
|
},
|
|
12
|
-
onError: (
|
|
13
|
-
|
|
13
|
+
onError: async (t) => {
|
|
14
|
+
let n = e(l, t);
|
|
15
|
+
if (n.includes("already exists")) {
|
|
16
|
+
o?.(n);
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
r.error(n);
|
|
14
20
|
}
|
|
15
21
|
});
|
|
16
22
|
};
|
|
17
23
|
//#endregion
|
|
18
|
-
export {
|
|
24
|
+
export { a as useCreateMeasureUnit };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { getAPIErrorMessage as e } from "./index18.js";
|
|
2
|
-
import { useMoniteContext as t } from "./
|
|
3
|
-
import { messageWithTruncatedName as n } from "./
|
|
2
|
+
import { useMoniteContext as t } from "./index36.js";
|
|
3
|
+
import { messageWithTruncatedName as n } from "./index197.js";
|
|
4
4
|
import { toast as r } from "react-hot-toast";
|
|
5
5
|
import { useLingui as i } from "@lingui/react";
|
|
6
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js
|
|
7
|
-
var a = (a, o) => {
|
|
8
|
-
let { api:
|
|
9
|
-
return
|
|
7
|
+
var a = (a, o, s) => {
|
|
8
|
+
let { api: c, queryClient: l } = t(), { i18n: u } = i();
|
|
9
|
+
return c.finops.patchMeasureUnitsId.useMutation({ path: { unit_id: a } }, {
|
|
10
10
|
onSuccess: async (e) => {
|
|
11
|
-
await
|
|
11
|
+
await Promise.all([c.finops.getMeasureUnits.invalidateQueries(l), c.finops.getMeasureUnitsId.invalidateQueries({ parameters: { path: { unit_id: a } } }, l)]), r.success(n(u._("Unit {name} was updated", { name: "\0" }), e.name)), o?.();
|
|
12
12
|
},
|
|
13
|
-
onError:
|
|
14
|
-
let n = e(
|
|
13
|
+
onError: (t) => {
|
|
14
|
+
let n = e(u, t);
|
|
15
15
|
if (n.includes("already exists")) {
|
|
16
|
-
|
|
16
|
+
s?.(n);
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
19
|
r.error(n);
|
|
@@ -21,4 +21,4 @@ var a = (a, o) => {
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
//#endregion
|
|
24
|
-
export { a as
|
|
24
|
+
export { a as useUpdateMeasureUnit };
|
|
@@ -1,24 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useMoniteContext as t } from "./index37.js";
|
|
3
|
-
import { messageWithTruncatedName as n } from "./index198.js";
|
|
4
|
-
import { toast as r } from "react-hot-toast";
|
|
5
|
-
import { useLingui as i } from "@lingui/react";
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
6
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js
|
|
7
|
-
var
|
|
8
|
-
let { api:
|
|
9
|
-
return
|
|
10
|
-
onSuccess: async (e) => {
|
|
11
|
-
await Promise.all([c.finops.getMeasureUnits.invalidateQueries(l), c.finops.getMeasureUnitsId.invalidateQueries({ parameters: { path: { unit_id: a } } }, l)]), r.success(n(u._("Unit {name} was updated", { name: "\0" }), e.name)), o?.();
|
|
12
|
-
},
|
|
13
|
-
onError: (t) => {
|
|
14
|
-
let n = e(u, t);
|
|
15
|
-
if (n.includes("already exists")) {
|
|
16
|
-
s?.(n);
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
r.error(n);
|
|
20
|
-
}
|
|
21
|
-
});
|
|
3
|
+
var t = (t, n = !0) => {
|
|
4
|
+
let { api: r } = e();
|
|
5
|
+
return r.finops.getProducts.useQuery({ query: t }, { enabled: n });
|
|
22
6
|
};
|
|
23
7
|
//#endregion
|
|
24
|
-
export {
|
|
8
|
+
export { t as useGetProducts };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
2
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js
|
|
3
3
|
var t = (t, n = !0) => {
|
|
4
4
|
let { api: r } = e();
|
|
5
|
-
return r.finops.
|
|
5
|
+
return r.finops.getProductsId.useQuery({ path: { product_id: t } }, { enabled: n });
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
8
|
-
export { t as
|
|
8
|
+
export { t as useGetProductById };
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
2
|
+
import { toast as t } from "react-hot-toast";
|
|
3
|
+
import { useLingui as n } from "@lingui/react";
|
|
2
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js
|
|
3
|
-
var
|
|
4
|
-
let { api:
|
|
5
|
-
return
|
|
5
|
+
var r = (r, i) => {
|
|
6
|
+
let { i18n: a } = n(), { api: o, queryClient: s } = e();
|
|
7
|
+
return o.finops.deleteProductsId.useMutation({ path: { product_id: r } }, {
|
|
8
|
+
onSuccess: async () => {
|
|
9
|
+
await o.finops.getProducts.invalidateQueries(s), t.success(a._("Product was deleted.")), i?.();
|
|
10
|
+
},
|
|
11
|
+
onError: () => {
|
|
12
|
+
t.error(a._("Failed to delete product."));
|
|
13
|
+
}
|
|
14
|
+
});
|
|
6
15
|
};
|
|
7
16
|
//#endregion
|
|
8
|
-
export {
|
|
17
|
+
export { r as useDeleteProduct };
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { getAPIErrorMessage as e } from "./index18.js";
|
|
2
|
+
import { useMoniteContext as t } from "./index36.js";
|
|
3
|
+
import { messageWithTruncatedName as n } from "./index197.js";
|
|
4
|
+
import { toast as r } from "react-hot-toast";
|
|
5
|
+
import { useLingui as i } from "@lingui/react";
|
|
4
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js
|
|
5
|
-
var
|
|
6
|
-
let { i18n:
|
|
7
|
-
return
|
|
8
|
-
onSuccess: async () => {
|
|
9
|
-
await
|
|
7
|
+
var a = (a) => {
|
|
8
|
+
let { i18n: o } = i(), { api: s, queryClient: c } = t();
|
|
9
|
+
return s.finops.patchProductsId.useMutation({ path: { product_id: a } }, {
|
|
10
|
+
onSuccess: async (e) => {
|
|
11
|
+
await s.finops.getProducts.invalidateQueries(c), await s.finops.getProductsId.invalidateQueries({ parameters: { path: { product_id: e.id } } }, c), r.success(n(e.type === "product" ? o._("Product {name} was updated.", { name: "\0" }) : o._("Service {name} was updated.", { name: "\0" }), e.name));
|
|
10
12
|
},
|
|
11
|
-
onError: () => {
|
|
12
|
-
|
|
13
|
+
onError: (t) => {
|
|
14
|
+
let n = e(o, t, { defaultMessage: "" });
|
|
15
|
+
r.error(n ? o._("Failed to update: {reason}", { reason: n }) : o._("Failed to update"));
|
|
13
16
|
}
|
|
14
17
|
});
|
|
15
18
|
};
|
|
16
19
|
//#endregion
|
|
17
|
-
export {
|
|
20
|
+
export { a as useUpdateProduct };
|
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
onSuccess: async (e) => {
|
|
11
|
-
await s.finops.getProducts.invalidateQueries(c), await s.finops.getProductsId.invalidateQueries({ parameters: { path: { product_id: e.id } } }, c), r.success(n(e.type === "product" ? o._("Product {name} was updated.", { name: "\0" }) : o._("Service {name} was updated.", { name: "\0" }), e.name));
|
|
12
|
-
},
|
|
13
|
-
onError: (t) => {
|
|
14
|
-
let n = e(o, t, { defaultMessage: "" });
|
|
15
|
-
r.error(n ? o._("Failed to update: {reason}", { reason: n }) : o._("Failed to update"));
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
};
|
|
19
|
-
//#endregion
|
|
20
|
-
export { a as useUpdateProduct };
|
|
1
|
+
import "./index203.js";
|
|
2
|
+
import "./index198.js";
|
|
3
|
+
import "./index199.js";
|
|
4
|
+
import "./index200.js";
|
|
5
|
+
import "./index201.js";
|
|
6
|
+
import "./index202.js";
|
|
7
|
+
import "./index204.js";
|
|
8
|
+
import "./index205.js";
|
|
9
|
+
import "./index206.js";
|
|
@@ -1,9 +1,27 @@
|
|
|
1
|
-
import "./index204.js";
|
|
2
|
-
import "./
|
|
3
|
-
import "./index200.js";
|
|
4
|
-
import "./index201.js";
|
|
5
|
-
import "./index202.js";
|
|
6
|
-
import "./index203.js";
|
|
7
|
-
import "./index205.js";
|
|
8
|
-
import "./index206.js";
|
|
1
|
+
import { useGetProductById as e } from "./index204.js";
|
|
2
|
+
import { useDeleteProduct as t } from "./index205.js";
|
|
9
3
|
import "./index207.js";
|
|
4
|
+
import { ConfirmationModal as n } from "./index195.js";
|
|
5
|
+
import "./index196.js";
|
|
6
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import { useLingui as i } from "@lingui/react";
|
|
8
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js
|
|
9
|
+
var a = ({ id: a, open: o, onClose: s, onDeleted: c }) => {
|
|
10
|
+
let { i18n: l } = i(), { data: u } = e(a), d = t(a, () => {
|
|
11
|
+
s(), c?.(a);
|
|
12
|
+
});
|
|
13
|
+
return u ? /* @__PURE__ */ r(n, {
|
|
14
|
+
open: o && !!a,
|
|
15
|
+
title: l._("Delete \"{name}\"?", { name: u.name }),
|
|
16
|
+
message: l._("It will remain in all the documents where it is added. You can't undo this action."),
|
|
17
|
+
confirmLabel: l._("Delete"),
|
|
18
|
+
cancelLabel: l._("Cancel"),
|
|
19
|
+
onClose: s,
|
|
20
|
+
onConfirm: () => {
|
|
21
|
+
d.mutate(void 0);
|
|
22
|
+
},
|
|
23
|
+
isLoading: d.isPending
|
|
24
|
+
}) : null;
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { a as ProductDeleteModal };
|
|
@@ -1,27 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import {
|
|
5
|
-
import "./index197.js";
|
|
6
|
-
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
7
|
-
import { useLingui as i } from "@lingui/react";
|
|
1
|
+
import { Badge as e } from "./index60.js";
|
|
2
|
+
import { twMerge as t } from "tailwind-merge";
|
|
3
|
+
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
4
|
+
import { useLingui as r } from "@lingui/react";
|
|
8
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js
|
|
9
|
-
var
|
|
10
|
-
let { i18n:
|
|
11
|
-
|
|
6
|
+
var i = ({ type: i }) => {
|
|
7
|
+
let { i18n: a } = r(), o = i === "product", s = o ? a._("Product") : a._("Service");
|
|
8
|
+
return /* @__PURE__ */ n(e, {
|
|
9
|
+
variant: "secondary",
|
|
10
|
+
className: t(o ? "ttw:bg-blue-100 ttw:text-blue-700" : "ttw:bg-pink-100 ttw:text-pink-700"),
|
|
11
|
+
children: s
|
|
12
12
|
});
|
|
13
|
-
return u ? /* @__PURE__ */ r(n, {
|
|
14
|
-
open: o && !!a,
|
|
15
|
-
title: l._("Delete \"{name}\"?", { name: u.name }),
|
|
16
|
-
message: l._("It will remain in all the documents where it is added. You can't undo this action."),
|
|
17
|
-
confirmLabel: l._("Delete"),
|
|
18
|
-
cancelLabel: l._("Cancel"),
|
|
19
|
-
onClose: s,
|
|
20
|
-
onConfirm: () => {
|
|
21
|
-
d.mutate(void 0);
|
|
22
|
-
},
|
|
23
|
-
isLoading: d.isPending
|
|
24
|
-
}) : null;
|
|
25
13
|
};
|
|
26
14
|
//#endregion
|
|
27
|
-
export {
|
|
15
|
+
export { i as ProductType };
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import { Badge as e } from "./index61.js";
|
|
2
|
-
import { twMerge as t } from "tailwind-merge";
|
|
3
|
-
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
4
|
-
import { useLingui as r } from "@lingui/react";
|
|
5
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
var e = "search", t = {
|
|
3
|
+
name: "name",
|
|
4
|
+
type: "type",
|
|
5
|
+
description: "description",
|
|
6
|
+
"price.value": "pricePerUnit",
|
|
7
|
+
"price.currency": "currency",
|
|
8
|
+
measure_unit_id: "measureUnitId"
|
|
13
9
|
};
|
|
14
10
|
//#endregion
|
|
15
|
-
export {
|
|
11
|
+
export { e as FILTER_TYPE_SEARCH, t as PRODUCT_API_FIELD_MAP };
|
|
@@ -1,11 +1,27 @@
|
|
|
1
|
+
import { useDebounceCallback as e } from "./index75.js";
|
|
2
|
+
import { InputGroup as t, InputGroupAddon as n, InputGroupInput as r } from "./index120.js";
|
|
3
|
+
import { FILTER_TYPE_SEARCH as i } from "./index210.js";
|
|
4
|
+
import { Search as a } from "lucide-react";
|
|
5
|
+
import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { useLingui as c } from "@lingui/react";
|
|
1
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
var l = ({ onChangeFilter: l }) => {
|
|
9
|
+
let { i18n: u } = c(), d = e((e) => {
|
|
10
|
+
l(i, e);
|
|
11
|
+
}, 500);
|
|
12
|
+
return /* @__PURE__ */ o("div", {
|
|
13
|
+
className: "ttw:flex ttw:justify-between ttw:items-center ttw:gap-4",
|
|
14
|
+
children: /* @__PURE__ */ s(t, {
|
|
15
|
+
className: "ttw:w-80",
|
|
16
|
+
children: [/* @__PURE__ */ o(n, {
|
|
17
|
+
align: "inline-start",
|
|
18
|
+
children: /* @__PURE__ */ o(a, {})
|
|
19
|
+
}), /* @__PURE__ */ o(r, {
|
|
20
|
+
placeholder: u._("Search by name"),
|
|
21
|
+
onChange: (e) => d(e.target.value)
|
|
22
|
+
})]
|
|
23
|
+
})
|
|
24
|
+
});
|
|
9
25
|
};
|
|
10
26
|
//#endregion
|
|
11
|
-
export {
|
|
27
|
+
export { l as Filters };
|
|
@@ -1,27 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { jsx as
|
|
6
|
-
import { useLingui as c } from "@lingui/react";
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
2
|
+
import { Skeleton as t } from "./index61.js";
|
|
3
|
+
import { Typography as n } from "./index153.js";
|
|
4
|
+
import { memo as r } from "react";
|
|
5
|
+
import { jsx as i } from "@emotion/react/jsx-runtime";
|
|
7
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js
|
|
8
|
-
var
|
|
9
|
-
let {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
children: [/* @__PURE__ */ o(n, {
|
|
17
|
-
align: "inline-start",
|
|
18
|
-
children: /* @__PURE__ */ o(a, {})
|
|
19
|
-
}), /* @__PURE__ */ o(r, {
|
|
20
|
-
placeholder: u._("Search by name"),
|
|
21
|
-
onChange: (e) => d(e.target.value)
|
|
22
|
-
})]
|
|
23
|
-
})
|
|
24
|
-
});
|
|
25
|
-
};
|
|
7
|
+
var a = r(({ unitId: r }) => {
|
|
8
|
+
let { api: a } = e(), { data: o, isLoading: s } = a.finops.getMeasureUnitsId.useQuery({ path: { unit_id: r } });
|
|
9
|
+
return s ? /* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-4" }) : o ? /* @__PURE__ */ i(n, {
|
|
10
|
+
color: "muted",
|
|
11
|
+
variant: "body2",
|
|
12
|
+
children: o.name
|
|
13
|
+
}) : null;
|
|
14
|
+
});
|
|
26
15
|
//#endregion
|
|
27
|
-
export {
|
|
16
|
+
export { a as MeasureUnit };
|
|
@@ -1,16 +1,83 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
1
|
+
import { useRootElements as e } from "./index68.js";
|
|
2
|
+
import "./index69.js";
|
|
3
|
+
import { cn as t } from "./index53.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";
|
|
6
8
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
function o({ ...e }) {
|
|
10
|
+
return /* @__PURE__ */ r(a.Root, {
|
|
11
|
+
"data-slot": "sheet",
|
|
12
|
+
...e
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
function s({ ...e }) {
|
|
16
|
+
return /* @__PURE__ */ r(a.Close, {
|
|
17
|
+
"data-slot": "sheet-close",
|
|
18
|
+
...e
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
function c({ container: e, ...t }) {
|
|
22
|
+
return /* @__PURE__ */ r(a.Portal, {
|
|
23
|
+
"data-slot": "sheet-portal",
|
|
24
|
+
...t,
|
|
25
|
+
container: e
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
var l = (e) => e === "under-dialogs" ? "ttw:z-1295" : "ttw:z-1300";
|
|
29
|
+
function u({ className: e, layer: n = "default", ...i }) {
|
|
30
|
+
return /* @__PURE__ */ r(a.Overlay, {
|
|
31
|
+
"data-slot": "sheet-overlay",
|
|
32
|
+
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:bg-black/50", l(n), e),
|
|
33
|
+
...i
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
function d({ className: o, children: s, side: d = "right", container: f, showCloseButton: p = !0, layer: m = "default", ...h }) {
|
|
37
|
+
let { root: g } = e();
|
|
38
|
+
return /* @__PURE__ */ i(c, {
|
|
39
|
+
container: f ?? g,
|
|
40
|
+
children: [/* @__PURE__ */ r(u, { layer: m }), /* @__PURE__ */ i(a.Content, {
|
|
41
|
+
"data-slot": "sheet-content",
|
|
42
|
+
className: t("ttw:bg-background ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:fixed ttw:flex ttw:flex-col ttw:gap-4 ttw:shadow-lg ttw:transition ttw:ease-in-out ttw:data-[state=closed]:duration-300 ttw:data-[state=open]:duration-500", l(m), d === "right" && "ttw:data-[state=closed]:slide-out-to-right ttw:data-[state=open]:slide-in-from-right ttw:inset-y-0 ttw:right-0 ttw:h-full ttw:w-3/4 ttw:sm:max-w-[600px]", d === "left" && "ttw:data-[state=closed]:slide-out-to-left ttw:data-[state=open]:slide-in-from-left ttw:inset-y-0 ttw:left-0 ttw:h-full ttw:w-3/4 ttw:sm:max-w-[600px]", d === "top" && "ttw:data-[state=closed]:slide-out-to-top ttw:data-[state=open]:slide-in-from-top ttw:inset-x-0 ttw:top-0 ttw:h-auto ttw:border-b", d === "bottom" && "ttw:data-[state=closed]:slide-out-to-bottom ttw:data-[state=open]:slide-in-from-bottom ttw:inset-x-0 ttw:bottom-0 ttw:h-auto ttw:border-t", o),
|
|
43
|
+
...h,
|
|
44
|
+
children: [s, p && /* @__PURE__ */ i(a.Close, {
|
|
45
|
+
className: "ttw:p-2 ttw:ring-offset-background ttw:focus:ring-ring ttw:data-[state=open]:bg-neutral 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:cursor-pointer ttw:disabled:pointer-events-none",
|
|
46
|
+
children: [/* @__PURE__ */ r(n, { className: "ttw:size-4" }), /* @__PURE__ */ r("span", {
|
|
47
|
+
className: "ttw:sr-only",
|
|
48
|
+
children: "Close"
|
|
49
|
+
})]
|
|
50
|
+
})]
|
|
51
|
+
})]
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
function f({ className: e, ...n }) {
|
|
55
|
+
return /* @__PURE__ */ r("div", {
|
|
56
|
+
"data-slot": "sheet-header",
|
|
57
|
+
className: t("ttw:flex ttw:flex-col ttw:gap-1.5 ttw:p-4", e),
|
|
58
|
+
...n
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
function p({ className: e, ...n }) {
|
|
62
|
+
return /* @__PURE__ */ r("div", {
|
|
63
|
+
"data-slot": "sheet-footer",
|
|
64
|
+
className: t("ttw:mt-auto ttw:flex ttw:flex-col ttw:gap-2 ttw:p-4", e),
|
|
65
|
+
...n
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
function m({ className: e, ...n }) {
|
|
69
|
+
return /* @__PURE__ */ r(a.Title, {
|
|
70
|
+
"data-slot": "sheet-title",
|
|
71
|
+
className: t("ttw:text-foreground ttw:font-semibold", e),
|
|
72
|
+
...n
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
function h({ className: e, ...n }) {
|
|
76
|
+
return /* @__PURE__ */ r(a.Description, {
|
|
77
|
+
"data-slot": "sheet-description",
|
|
78
|
+
className: t("ttw:text-muted-foreground ttw:text-sm", e),
|
|
79
|
+
...n
|
|
80
|
+
});
|
|
81
|
+
}
|
|
15
82
|
//#endregion
|
|
16
|
-
export {
|
|
83
|
+
export { o as Sheet, s as SheetClose, d as SheetContent, h as SheetDescription, p as SheetFooter, f as SheetHeader, m as SheetTitle };
|
|
@@ -1,83 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
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 { CurrencyEnumSchema as e } from "./index102.js";
|
|
2
|
+
import { z as t } from "zod";
|
|
8
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
})
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
function c({ container: e, ...t }) {
|
|
22
|
-
return /* @__PURE__ */ r(a.Portal, {
|
|
23
|
-
"data-slot": "sheet-portal",
|
|
24
|
-
...t,
|
|
25
|
-
container: e
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
var l = (e) => e === "under-dialogs" ? "ttw:z-1295" : "ttw:z-1300";
|
|
29
|
-
function u({ className: e, layer: n = "default", ...i }) {
|
|
30
|
-
return /* @__PURE__ */ r(a.Overlay, {
|
|
31
|
-
"data-slot": "sheet-overlay",
|
|
32
|
-
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:bg-black/50", l(n), e),
|
|
33
|
-
...i
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
function d({ className: o, children: s, side: d = "right", container: f, showCloseButton: p = !0, layer: m = "default", ...h }) {
|
|
37
|
-
let { root: g } = e();
|
|
38
|
-
return /* @__PURE__ */ i(c, {
|
|
39
|
-
container: f ?? g,
|
|
40
|
-
children: [/* @__PURE__ */ r(u, { layer: m }), /* @__PURE__ */ i(a.Content, {
|
|
41
|
-
"data-slot": "sheet-content",
|
|
42
|
-
className: t("ttw:bg-background ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:fixed ttw:flex ttw:flex-col ttw:gap-4 ttw:shadow-lg ttw:transition ttw:ease-in-out ttw:data-[state=closed]:duration-300 ttw:data-[state=open]:duration-500", l(m), d === "right" && "ttw:data-[state=closed]:slide-out-to-right ttw:data-[state=open]:slide-in-from-right ttw:inset-y-0 ttw:right-0 ttw:h-full ttw:w-3/4 ttw:sm:max-w-[600px]", d === "left" && "ttw:data-[state=closed]:slide-out-to-left ttw:data-[state=open]:slide-in-from-left ttw:inset-y-0 ttw:left-0 ttw:h-full ttw:w-3/4 ttw:sm:max-w-[600px]", d === "top" && "ttw:data-[state=closed]:slide-out-to-top ttw:data-[state=open]:slide-in-from-top ttw:inset-x-0 ttw:top-0 ttw:h-auto ttw:border-b", d === "bottom" && "ttw:data-[state=closed]:slide-out-to-bottom ttw:data-[state=open]:slide-in-from-bottom ttw:inset-x-0 ttw:bottom-0 ttw:h-auto ttw:border-t", o),
|
|
43
|
-
...h,
|
|
44
|
-
children: [s, p && /* @__PURE__ */ i(a.Close, {
|
|
45
|
-
className: "ttw:p-2 ttw:ring-offset-background ttw:focus:ring-ring ttw:data-[state=open]:bg-neutral 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:cursor-pointer ttw:disabled:pointer-events-none",
|
|
46
|
-
children: [/* @__PURE__ */ r(n, { className: "ttw:size-4" }), /* @__PURE__ */ r("span", {
|
|
47
|
-
className: "ttw:sr-only",
|
|
48
|
-
children: "Close"
|
|
49
|
-
})]
|
|
50
|
-
})]
|
|
51
|
-
})]
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
function f({ className: e, ...n }) {
|
|
55
|
-
return /* @__PURE__ */ r("div", {
|
|
56
|
-
"data-slot": "sheet-header",
|
|
57
|
-
className: t("ttw:flex ttw:flex-col ttw:gap-1.5 ttw:p-4", e),
|
|
58
|
-
...n
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
function p({ className: e, ...n }) {
|
|
62
|
-
return /* @__PURE__ */ r("div", {
|
|
63
|
-
"data-slot": "sheet-footer",
|
|
64
|
-
className: t("ttw:mt-auto ttw:flex ttw:flex-col ttw:gap-2 ttw:p-4", e),
|
|
65
|
-
...n
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
function m({ className: e, ...n }) {
|
|
69
|
-
return /* @__PURE__ */ r(a.Title, {
|
|
70
|
-
"data-slot": "sheet-title",
|
|
71
|
-
className: t("ttw:text-foreground ttw:font-semibold", e),
|
|
72
|
-
...n
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
function h({ className: e, ...n }) {
|
|
76
|
-
return /* @__PURE__ */ r(a.Description, {
|
|
77
|
-
"data-slot": "sheet-description",
|
|
78
|
-
className: t("ttw:text-muted-foreground ttw:text-sm", e),
|
|
79
|
-
...n
|
|
80
|
-
});
|
|
81
|
-
}
|
|
4
|
+
var n = (n) => t.object({
|
|
5
|
+
name: t.string().trim().min(1, n._("Product name is required")).max(100, n._("Product name must be 100 characters or less")).meta({ title: n._("Product Name") }),
|
|
6
|
+
type: t.enum(["product", "service"], n._("Product type is required")).meta({ title: n._("Type") }),
|
|
7
|
+
pricePerUnit: t.number().min(0, n._("Price per unit must be 0 or greater")).meta({ title: n._("Price Per Unit") }),
|
|
8
|
+
currency: e.meta({ title: n._("Currency") }),
|
|
9
|
+
description: t.string().trim().max(255, n._("Description must be 255 characters or less")).optional().meta({ title: n._("Description") }),
|
|
10
|
+
measureUnitId: t.string().optional().meta({ title: n._("Unit") })
|
|
11
|
+
}), r = (e) => t.object({
|
|
12
|
+
name: t.string().trim().min(1, e._("Unit label is required")),
|
|
13
|
+
description: t.string().trim().optional()
|
|
14
|
+
});
|
|
82
15
|
//#endregion
|
|
83
|
-
export {
|
|
16
|
+
export { r as getMeasureUnitValidationSchema, n as getProductValidationSchema };
|