@tesouro/embedded-components-react 0.7.57 → 0.7.58
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 -28
- package/dist/lib/monite-sdk.d.ts +2376 -4041
- package/dist/lib/monite-sdk.js +53 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +58 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +1 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +153 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1222 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +176 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +5 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +17 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +5 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +2 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +3 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +10 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +38 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +68 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +38 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +11 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +50 -1222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +9 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +65 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +167 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +6 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +2 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +76 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +75 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +32 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +2 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +56 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +44 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +564 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +1 -569
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +159 -0
- 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 +22 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +18 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +27 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +23 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +162 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +68 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +6 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +39 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +48 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +58 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +1 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +27 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +43 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +78 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index16.js +3 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +4 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +2 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +52 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +81 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +109 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +4 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +10 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +75 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index17.js +59 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +122 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +11 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +16 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +62 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +122 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index18.js +20 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +22 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +6 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +35 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +54 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +73 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +25 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +58 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +19 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +182 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +27 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +38 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +1 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +17 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index20.js +8 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +5 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +15 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +20 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +14 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index21.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +23 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +81 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +97 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +46 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +28 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +1 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +96 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +102 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +166 -193
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +67 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +24 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +209 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +89 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index23.js +23 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +153 -354
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +104 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +43 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +4 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +19 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +73 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +17 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +20 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +6 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +5 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +10 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +129 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +5 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +5 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +221 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +34 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +11 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +12 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +76 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +175 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +204 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +93 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +63 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +54 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +92 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +7 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +37 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +77 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +80 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +16 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +21 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +28 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +33 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +30 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +28 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +2 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +5 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +156 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +10 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +57 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index35.js +929 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +29 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +67 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +11 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +14 -930
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +43 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +22 -67
- 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 +5 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +32 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +8 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +5 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +4 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +32 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +70 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +49 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +11 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +45 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +37 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +66 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +31 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +40 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +12 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +53 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +12 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +23 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +69 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +1 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +8 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +25 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +4 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +3 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +2 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +35 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +103 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +53 -10
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +0 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +0 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +0 -242
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +0 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +0 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +0 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +0 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +0 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +0 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +0 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +0 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +0 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +0 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +0 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +0 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +0 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +0 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +0 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +0 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +0 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +0 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +0 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +0 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +0 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +0 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +0 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +0 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +0 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +0 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +0 -97
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import "./index198.js";
|
|
2
|
-
import "./index199.js";
|
|
3
|
-
import "./index200.js";
|
|
4
|
-
import "./index201.js";
|
|
5
|
-
import "./index202.js";
|
|
6
|
-
import "./index203.js";
|
|
7
|
-
import "./index204.js";
|
|
8
|
-
import "./index205.js";
|
|
9
|
-
import "./index206.js";
|
|
10
|
-
import "./index207.js";
|
|
11
|
-
import "./index208.js";
|
|
12
|
-
import "./index209.js";
|
|
13
|
-
import "./index210.js";
|
|
14
|
-
import "./index211.js";
|
|
15
|
-
import "./index212.js";
|
|
16
|
-
import "./index213.js";
|
|
17
|
-
import "./index214.js";
|
|
18
|
-
import "./index215.js";
|
|
19
|
-
import "./index216.js";
|
|
20
|
-
import "./index217.js";
|
|
21
|
-
import "./index270.js";
|
|
22
|
-
import "./index283.js";
|
|
23
|
-
import "./index271.js";
|
|
24
|
-
import "./index284.js";
|
|
25
|
-
import "./index288.js";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Fragment as e } from "react";
|
|
2
|
-
import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js
|
|
4
|
-
function r(r, i) {
|
|
5
|
-
let a = r.split("\0");
|
|
6
|
-
return a.length === 1 ? /* @__PURE__ */ t("span", { children: r }) : /* @__PURE__ */ t("span", {
|
|
7
|
-
className: "ttw:flex ttw:min-w-0",
|
|
8
|
-
children: a.map((r, o) => /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("span", {
|
|
9
|
-
className: "ttw:whitespace-pre-wrap",
|
|
10
|
-
children: r
|
|
11
|
-
}), o < a.length - 1 && /* @__PURE__ */ t("span", {
|
|
12
|
-
className: "ttw:min-w-[4ch] ttw:shrink-[9999] ttw:truncate",
|
|
13
|
-
title: i,
|
|
14
|
-
children: i
|
|
15
|
-
})] }, o))
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
export { r as messageWithTruncatedName };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { getAPIErrorMessage as e } from "./index26.js";
|
|
2
|
-
import { useMoniteContext as t } from "./index45.js";
|
|
3
|
-
import { messageWithTruncatedName as n } from "./index290.js";
|
|
4
|
-
import { toast as r } from "react-hot-toast";
|
|
5
|
-
import { useLingui as i } from "@lingui/react";
|
|
6
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js
|
|
7
|
-
var a = (a) => {
|
|
8
|
-
let { api: o, queryClient: s } = t(), { i18n: c } = i();
|
|
9
|
-
return o.finops.postProducts.useMutation(void 0, {
|
|
10
|
-
onSuccess: async (e) => {
|
|
11
|
-
a?.(e), await o.finops.getProducts.invalidateQueries(s), r.success(n(c._("{name} has been added to the list.", { name: "\0" }), e.name));
|
|
12
|
-
},
|
|
13
|
-
onError: (t) => {
|
|
14
|
-
let n = e(c, t, { defaultMessage: "" });
|
|
15
|
-
r.error(n ? c._("Failed to create: {reason}", { reason: n }) : c._("Failed to create"));
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
};
|
|
19
|
-
//#endregion
|
|
20
|
-
export { a as useCreateProduct };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js
|
|
3
|
-
var t = () => {
|
|
4
|
-
let { api: t } = e();
|
|
5
|
-
return t.finops.getMeasureUnits.useQuery();
|
|
6
|
-
};
|
|
7
|
-
//#endregion
|
|
8
|
-
export { t as useGetMeasureUnits };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
-
import { messageWithTruncatedName as t } from "./index290.js";
|
|
3
|
-
import { toast as n } from "react-hot-toast";
|
|
4
|
-
import { useLingui as r } from "@lingui/react";
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js
|
|
6
|
-
var i = (i) => {
|
|
7
|
-
let { api: a, queryClient: o } = e(), { i18n: s } = r();
|
|
8
|
-
return a.finops.deleteMeasureUnitsId.useMutation(void 0, {
|
|
9
|
-
onSuccess: async () => {
|
|
10
|
-
i && (await a.finops.getMeasureUnits.invalidateQueries(o), n.success(t(s._("Unit {name} was deleted from the list.", { name: "\0" }), i)));
|
|
11
|
-
},
|
|
12
|
-
onError: (e) => {
|
|
13
|
-
console.error(e), n.error(s._("Failed to delete Unit."));
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
//#endregion
|
|
18
|
-
export { i as useDeleteMeasureUnit };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { getAPIErrorMessage as e } from "./index26.js";
|
|
2
|
-
import { useMoniteContext as t } from "./index45.js";
|
|
3
|
-
import { messageWithTruncatedName as n } from "./index290.js";
|
|
4
|
-
import { toast as r } from "react-hot-toast";
|
|
5
|
-
import { useLingui as i } from "@lingui/react";
|
|
6
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js
|
|
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?.();
|
|
12
|
-
},
|
|
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);
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
//#endregion
|
|
24
|
-
export { a as useCreateMeasureUnit };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { getAPIErrorMessage as e } from "./index26.js";
|
|
2
|
-
import { useMoniteContext as t } from "./index45.js";
|
|
3
|
-
import { messageWithTruncatedName as n } from "./index290.js";
|
|
4
|
-
import { toast as r } from "react-hot-toast";
|
|
5
|
-
import { useLingui as i } from "@lingui/react";
|
|
6
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js
|
|
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
|
-
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
|
-
});
|
|
22
|
-
};
|
|
23
|
-
//#endregion
|
|
24
|
-
export { a as useUpdateMeasureUnit };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js
|
|
3
|
-
var t = (t, n = !0) => {
|
|
4
|
-
let { api: r } = e();
|
|
5
|
-
return r.finops.getProductsId.useQuery({ path: { product_id: t } }, { enabled: n });
|
|
6
|
-
};
|
|
7
|
-
//#endregion
|
|
8
|
-
export { t as useGetProductById };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
-
import { toast as t } from "react-hot-toast";
|
|
3
|
-
import { useLingui as n } from "@lingui/react";
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js
|
|
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
|
-
});
|
|
15
|
-
};
|
|
16
|
-
//#endregion
|
|
17
|
-
export { r as useDeleteProduct };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { getAPIErrorMessage as e } from "./index26.js";
|
|
2
|
-
import { useMoniteContext as t } from "./index45.js";
|
|
3
|
-
import { messageWithTruncatedName as n } from "./index290.js";
|
|
4
|
-
import { toast as r } from "react-hot-toast";
|
|
5
|
-
import { useLingui as i } from "@lingui/react";
|
|
6
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js
|
|
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));
|
|
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,27 +0,0 @@
|
|
|
1
|
-
import { ConfirmationModal as e } from "./index249.js";
|
|
2
|
-
import "./index250.js";
|
|
3
|
-
import { useGetProductById as t } from "./index296.js";
|
|
4
|
-
import { useDeleteProduct as n } from "./index297.js";
|
|
5
|
-
import "./index299.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/index300.js
|
|
9
|
-
var a = ({ id: a, open: o, onClose: s, onDeleted: c }) => {
|
|
10
|
-
let { i18n: l } = i(), { data: u } = t(a), d = n(a, () => {
|
|
11
|
-
s(), c?.(a);
|
|
12
|
-
});
|
|
13
|
-
return u ? /* @__PURE__ */ r(e, {
|
|
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,15 +0,0 @@
|
|
|
1
|
-
import { Badge as e } from "./index69.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
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js
|
|
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
|
-
});
|
|
13
|
-
};
|
|
14
|
-
//#endregion
|
|
15
|
-
export { i as ProductType };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js
|
|
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"
|
|
9
|
-
};
|
|
10
|
-
//#endregion
|
|
11
|
-
export { e as FILTER_TYPE_SEARCH, t as PRODUCT_API_FIELD_MAP };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { useDebounceCallback as e } from "./index83.js";
|
|
2
|
-
import { InputGroup as t, InputGroupAddon as n, InputGroupInput as r } from "./index123.js";
|
|
3
|
-
import { FILTER_TYPE_SEARCH as i } from "./index302.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";
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js
|
|
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
|
-
});
|
|
25
|
-
};
|
|
26
|
-
//#endregion
|
|
27
|
-
export { l as Filters };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
-
import { Skeleton as t } from "./index70.js";
|
|
3
|
-
import { Typography as n } from "./index156.js";
|
|
4
|
-
import { memo as r } from "react";
|
|
5
|
-
import { jsx as i } from "@emotion/react/jsx-runtime";
|
|
6
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js
|
|
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
|
-
});
|
|
15
|
-
//#endregion
|
|
16
|
-
export { a as MeasureUnit };
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { useRootElements as e } from "./index76.js";
|
|
2
|
-
import "./index77.js";
|
|
3
|
-
import { cn as t } from "./index62.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";
|
|
8
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js
|
|
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
|
-
}
|
|
82
|
-
//#endregion
|
|
83
|
-
export { o as Sheet, s as SheetClose, d as SheetContent, h as SheetDescription, p as SheetFooter, f as SheetHeader, m as SheetTitle };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CurrencyEnumSchema as e } from "./index110.js";
|
|
2
|
-
import { z as t } from "zod";
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js
|
|
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
|
-
});
|
|
15
|
-
//#endregion
|
|
16
|
-
export { r as getMeasureUnitValidationSchema, n as getProductValidationSchema };
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { Button as e } from "./index120.js";
|
|
2
|
-
import { Input as t } from "./index121.js";
|
|
3
|
-
import { TableCell as n, TableRow as r } from "./index164.js";
|
|
4
|
-
import { useCreateMeasureUnit as i } from "./index294.js";
|
|
5
|
-
import { useUpdateMeasureUnit as a } from "./index295.js";
|
|
6
|
-
import { getMeasureUnitValidationSchema as o } from "./index306.js";
|
|
7
|
-
import { Check as s, X as c } from "lucide-react";
|
|
8
|
-
import { jsx as l, jsxs as u } from "@emotion/react/jsx-runtime";
|
|
9
|
-
import { useLingui as d } from "@lingui/react";
|
|
10
|
-
import { Controller as f, useForm as p } from "react-hook-form";
|
|
11
|
-
import { zodResolver as m } from "@hookform/resolvers/zod";
|
|
12
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js
|
|
13
|
-
var h = {
|
|
14
|
-
name: "",
|
|
15
|
-
description: ""
|
|
16
|
-
}, g = ({ id: g, isEditMode: _, initialValues: v = h, onCancel: y, onEdit: b }) => {
|
|
17
|
-
let { i18n: x } = d(), S = o(x), { handleSubmit: C, control: w, reset: T, setError: E } = p({
|
|
18
|
-
defaultValues: v,
|
|
19
|
-
resolver: m(S)
|
|
20
|
-
}), D = i(() => T(), (e) => E("name", {
|
|
21
|
-
type: "custom",
|
|
22
|
-
message: e
|
|
23
|
-
})), O = a(g ?? "", () => b?.(), (e) => E("name", {
|
|
24
|
-
type: "custom",
|
|
25
|
-
message: e
|
|
26
|
-
})), k = (e) => {
|
|
27
|
-
if (!_ || !g) {
|
|
28
|
-
console.error("handleEdit called without valid id or edit mode");
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
O.mutate(e);
|
|
32
|
-
}, A = (e) => {
|
|
33
|
-
D.mutate(e);
|
|
34
|
-
}, j = D.isPending || O.isPending;
|
|
35
|
-
return /* @__PURE__ */ l(r, {
|
|
36
|
-
className: "ttw:border-border ttw:hover:bg-transparent",
|
|
37
|
-
children: /* @__PURE__ */ l(n, {
|
|
38
|
-
colSpan: 3,
|
|
39
|
-
className: "ttw:w-full ttw:whitespace-normal",
|
|
40
|
-
children: /* @__PURE__ */ u("div", {
|
|
41
|
-
className: "ttw:flex ttw:gap-2 ttw:justify-between ttw:items-start",
|
|
42
|
-
children: [
|
|
43
|
-
/* @__PURE__ */ l(f, {
|
|
44
|
-
name: "name",
|
|
45
|
-
control: w,
|
|
46
|
-
render: ({ field: e, fieldState: { error: n } }) => /* @__PURE__ */ u("div", {
|
|
47
|
-
className: "ttw:w-[35%]",
|
|
48
|
-
children: [/* @__PURE__ */ l(t, {
|
|
49
|
-
...e,
|
|
50
|
-
disabled: j,
|
|
51
|
-
"aria-invalid": !!n || void 0,
|
|
52
|
-
className: "ttw:h-8"
|
|
53
|
-
}), n && /* @__PURE__ */ l("p", {
|
|
54
|
-
className: "ttw:text-xs ttw:text-destructive ttw:mt-1",
|
|
55
|
-
children: n.message
|
|
56
|
-
})]
|
|
57
|
-
})
|
|
58
|
-
}),
|
|
59
|
-
/* @__PURE__ */ l(f, {
|
|
60
|
-
name: "description",
|
|
61
|
-
control: w,
|
|
62
|
-
render: ({ field: e, fieldState: { error: n } }) => /* @__PURE__ */ l("div", {
|
|
63
|
-
className: "ttw:w-[55%]",
|
|
64
|
-
children: /* @__PURE__ */ l(t, {
|
|
65
|
-
...e,
|
|
66
|
-
id: e.name,
|
|
67
|
-
disabled: j,
|
|
68
|
-
"aria-invalid": !!n || void 0,
|
|
69
|
-
className: "ttw:h-8"
|
|
70
|
-
})
|
|
71
|
-
})
|
|
72
|
-
}),
|
|
73
|
-
_ ? /* @__PURE__ */ u("div", {
|
|
74
|
-
className: "ttw:flex ttw:justify-center ttw:gap-1",
|
|
75
|
-
children: [/* @__PURE__ */ l(e, {
|
|
76
|
-
variant: "outline",
|
|
77
|
-
size: "icon",
|
|
78
|
-
className: "ttw:size-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0",
|
|
79
|
-
disabled: O.isPending,
|
|
80
|
-
onClick: C(k),
|
|
81
|
-
children: /* @__PURE__ */ l(s, { className: "ttw:size-4" })
|
|
82
|
-
}), /* @__PURE__ */ l(e, {
|
|
83
|
-
variant: "outline",
|
|
84
|
-
size: "icon",
|
|
85
|
-
className: "ttw:size-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0",
|
|
86
|
-
onClick: y,
|
|
87
|
-
children: /* @__PURE__ */ l(c, { className: "ttw:size-4" })
|
|
88
|
-
})]
|
|
89
|
-
}) : /* @__PURE__ */ l(e, {
|
|
90
|
-
variant: "outline",
|
|
91
|
-
size: "sm",
|
|
92
|
-
className: "ttw:h-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0",
|
|
93
|
-
onClick: C(A),
|
|
94
|
-
children: x._("Add")
|
|
95
|
-
})
|
|
96
|
-
]
|
|
97
|
-
})
|
|
98
|
-
})
|
|
99
|
-
});
|
|
100
|
-
};
|
|
101
|
-
//#endregion
|
|
102
|
-
export { g as MeasureUnitsFormRow };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { useCurrencies as e } from "./index74.js";
|
|
2
|
-
import "./index87.js";
|
|
3
|
-
import { Typography as t } from "./index156.js";
|
|
4
|
-
import { Table as n, TableBody as r, TableCell as i, TableRow as a } from "./index164.js";
|
|
5
|
-
import { useGetProducts as o } from "./index227.js";
|
|
6
|
-
import { ConfirmationModal as s } from "./index249.js";
|
|
7
|
-
import "./index250.js";
|
|
8
|
-
import { Loader2 as c } from "lucide-react";
|
|
9
|
-
import { Fragment as l, jsx as u, jsxs as d } from "@emotion/react/jsx-runtime";
|
|
10
|
-
import { useLingui as f } from "@lingui/react";
|
|
11
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js
|
|
12
|
-
var p = ({ onClose: p, onDelete: m, name: h, isLoading: g, open: _, id: v }) => {
|
|
13
|
-
let { i18n: y } = f(), { formatCurrencyToDisplay: b } = e(), { data: x, isLoading: S } = o({ measure_unit_id: v ?? "" }, !!v), C = x?.data.length === 0;
|
|
14
|
-
return /* @__PURE__ */ u(s, {
|
|
15
|
-
open: _,
|
|
16
|
-
title: y._("Delete \"{name}\"?", { name: h }),
|
|
17
|
-
confirmLabel: y._("Delete"),
|
|
18
|
-
cancelLabel: y._("Cancel"),
|
|
19
|
-
onClose: p,
|
|
20
|
-
onConfirm: m,
|
|
21
|
-
isLoading: g || S,
|
|
22
|
-
children: C ? /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(t, { children: y._("There are no items created with this measure unit.") }), /* @__PURE__ */ u(t, {
|
|
23
|
-
color: "muted",
|
|
24
|
-
children: y._("Deleting it won't affect your items.")
|
|
25
|
-
})] }) : /* @__PURE__ */ d(l, { children: [
|
|
26
|
-
/* @__PURE__ */ u(t, { children: y._("Any products or services referencing this unit will update to use a blank unit of measure.") }),
|
|
27
|
-
/* @__PURE__ */ u(t, {
|
|
28
|
-
color: "muted",
|
|
29
|
-
children: y._("Previously issued invoices will not be impacted.")
|
|
30
|
-
}),
|
|
31
|
-
S && /* @__PURE__ */ u(c, { className: "ttw:mx-auto ttw:size-6 ttw:animate-spin" }),
|
|
32
|
-
!S && /* @__PURE__ */ u(n, { children: /* @__PURE__ */ u(r, { children: x?.data.map((e) => /* @__PURE__ */ d(a, {
|
|
33
|
-
className: "ttw:border-border ttw:hover:bg-transparent",
|
|
34
|
-
children: [/* @__PURE__ */ u(i, {
|
|
35
|
-
className: "ttw:pl-0 ttw:whitespace-normal ttw:text-text ttw:font-medium",
|
|
36
|
-
children: e.name
|
|
37
|
-
}), /* @__PURE__ */ u(i, {
|
|
38
|
-
className: "ttw:pr-0 ttw:text-right ttw:text-text ttw:font-medium",
|
|
39
|
-
children: e.price && b(e.price?.value, e.price?.currency)
|
|
40
|
-
})]
|
|
41
|
-
}, e.id)) }) })
|
|
42
|
-
] })
|
|
43
|
-
});
|
|
44
|
-
};
|
|
45
|
-
//#endregion
|
|
46
|
-
export { p as ConfirmDeleteMeasureUnitDialog };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Button as e } from "./index120.js";
|
|
2
|
-
import { DropdownMenu as t, DropdownMenuContent as n, DropdownMenuItem as r, DropdownMenuTrigger as i } from "./index155.js";
|
|
3
|
-
import { MoreVertical as a, Pencil as o, Trash2 as s } from "lucide-react";
|
|
4
|
-
import { jsx as c, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
5
|
-
import { useLingui as u } from "@lingui/react";
|
|
6
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js
|
|
7
|
-
var d = ({ onEdit: d, onDelete: f, permissions: p }) => {
|
|
8
|
-
let { i18n: m } = u();
|
|
9
|
-
return p.isUpdateAllowed || p.isDeleteAllowed ? /* @__PURE__ */ l(t, { children: [/* @__PURE__ */ c(i, {
|
|
10
|
-
asChild: !0,
|
|
11
|
-
children: /* @__PURE__ */ c(e, {
|
|
12
|
-
variant: "ghost",
|
|
13
|
-
size: "icon",
|
|
14
|
-
"aria-label": "actions-menu-button",
|
|
15
|
-
children: /* @__PURE__ */ c(a, {})
|
|
16
|
-
})
|
|
17
|
-
}), /* @__PURE__ */ l(n, {
|
|
18
|
-
align: "end",
|
|
19
|
-
children: [p.isUpdateAllowed && /* @__PURE__ */ l(r, {
|
|
20
|
-
onClick: d,
|
|
21
|
-
children: [/* @__PURE__ */ c(o, {}), m._("Edit")]
|
|
22
|
-
}), p.isDeleteAllowed && /* @__PURE__ */ l(r, {
|
|
23
|
-
onClick: f,
|
|
24
|
-
variant: "destructive",
|
|
25
|
-
children: [/* @__PURE__ */ c(s, {}), m._("Delete")]
|
|
26
|
-
})]
|
|
27
|
-
})] }) : null;
|
|
28
|
-
};
|
|
29
|
-
//#endregion
|
|
30
|
-
export { d as TableActions };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./index309.js";
|