@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,8 +1,212 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useCurrencies as e } from "./index67.js";
|
|
2
|
+
import "./index80.js";
|
|
3
|
+
import { Input as t } from "./index119.js";
|
|
4
|
+
import { InputGroup as n, InputGroupAddon as r, InputGroupInput as i, InputGroupTextarea as a } from "./index121.js";
|
|
5
|
+
import { Combobox as o, ComboboxCollection as s, ComboboxContent as c, ComboboxEmpty as l, ComboboxInput as u, ComboboxItem as d, ComboboxList as f } from "./index122.js";
|
|
6
|
+
import { Typography as p } from "./index154.js";
|
|
7
|
+
import { useGetMeasureUnits as m } from "./index200.js";
|
|
8
|
+
import "./index208.js";
|
|
9
|
+
import "./index215.js";
|
|
10
|
+
import { Label as h } from "./index223.js";
|
|
11
|
+
import { Field as g, FieldContent as _, FieldError as v, FieldLabel as y } from "./index225.js";
|
|
12
|
+
import { RadioGroup as b, RadioGroupItem as x } from "./index226.js";
|
|
13
|
+
import { useCallback as S, useMemo as C, useRef as w } from "react";
|
|
14
|
+
import { twMerge as T } from "tailwind-merge";
|
|
15
|
+
import { jsx as E, jsxs as D } from "@emotion/react/jsx-runtime";
|
|
16
|
+
import { useLingui as O } from "@lingui/react";
|
|
17
|
+
import { Controller as k, useFormContext as A } from "react-hook-form";
|
|
2
18
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js
|
|
3
|
-
var
|
|
4
|
-
let {
|
|
5
|
-
return
|
|
19
|
+
var j = ({ isLoading: j, isEditMode: M, isProduct: N }) => {
|
|
20
|
+
let { i18n: P } = O(), { getSymbolFromCurrency: F } = e(), I = w(null), { data: L } = m(), R = L?.data ?? [], { control: z, formState: { errors: B } } = A(), V = C(() => R.map((e) => e.id), [R]), H = C(() => new Map(R.map((e) => [e.id, e.name])), [R]), U = S((e) => H.get(e) ?? e, [H]);
|
|
21
|
+
return /* @__PURE__ */ D("div", {
|
|
22
|
+
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
23
|
+
children: [
|
|
24
|
+
M && /* @__PURE__ */ E("div", {
|
|
25
|
+
className: "ttw:flex ttw:items-center ttw:gap-3 ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border",
|
|
26
|
+
children: /* @__PURE__ */ E(p, {
|
|
27
|
+
variant: "body1",
|
|
28
|
+
className: "ttw:font-medium",
|
|
29
|
+
children: P._("Editing {type} details", { type: N ? "product" : "service" })
|
|
30
|
+
})
|
|
31
|
+
}),
|
|
32
|
+
/* @__PURE__ */ E(k, {
|
|
33
|
+
name: "type",
|
|
34
|
+
control: z,
|
|
35
|
+
render: ({ field: e }) => /* @__PURE__ */ D("div", {
|
|
36
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
37
|
+
children: [/* @__PURE__ */ E(y, { children: P._("Type") }), /* @__PURE__ */ D(b, {
|
|
38
|
+
className: "ttw:flex",
|
|
39
|
+
value: e.value,
|
|
40
|
+
disabled: j,
|
|
41
|
+
onValueChange: e.onChange,
|
|
42
|
+
children: [/* @__PURE__ */ D("div", {
|
|
43
|
+
className: T("ttw:flex ttw:p-4 ttw:flex-1 ttw:gap-2 ttw:border ttw:rounded-xl ttw:border-border ttw:hover:bg-primary/10 ttw:hover:border-primary/30", e.value === "product" && "ttw:bg-primary/10 ttw:border-primary/30"),
|
|
44
|
+
children: [/* @__PURE__ */ E(x, {
|
|
45
|
+
value: "product",
|
|
46
|
+
id: "type-product",
|
|
47
|
+
className: T(e.value === "product" ? "ttw:bg-primary" : "ttw:bg-white"),
|
|
48
|
+
dotClassName: T(e.value === "product" && "ttw:fill-white"),
|
|
49
|
+
disabled: j
|
|
50
|
+
}), /* @__PURE__ */ D(h, {
|
|
51
|
+
htmlFor: "type-product",
|
|
52
|
+
className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5",
|
|
53
|
+
children: [/* @__PURE__ */ E(p, {
|
|
54
|
+
variant: "body2",
|
|
55
|
+
className: "ttw:leading-3.5",
|
|
56
|
+
children: P._("Product")
|
|
57
|
+
}), /* @__PURE__ */ E(p, {
|
|
58
|
+
variant: "caption",
|
|
59
|
+
color: "muted",
|
|
60
|
+
children: P._("A physical or digital item")
|
|
61
|
+
})]
|
|
62
|
+
})]
|
|
63
|
+
}), /* @__PURE__ */ D("div", {
|
|
64
|
+
className: T("ttw:flex ttw:p-4 ttw:flex-1 ttw:gap-2 ttw:border ttw:rounded-xl ttw:border-border ttw:hover:bg-primary/10 ttw:hover:border-primary/30", e.value === "service" && "ttw:bg-primary/10 ttw:border-primary/30"),
|
|
65
|
+
children: [/* @__PURE__ */ E(x, {
|
|
66
|
+
value: "service",
|
|
67
|
+
id: "type-service",
|
|
68
|
+
className: T(e.value === "service" ? "ttw:bg-primary" : "ttw:bg-white"),
|
|
69
|
+
dotClassName: T(e.value === "service" && "ttw:fill-white"),
|
|
70
|
+
disabled: j
|
|
71
|
+
}), /* @__PURE__ */ D(h, {
|
|
72
|
+
htmlFor: "type-service",
|
|
73
|
+
className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5",
|
|
74
|
+
children: [/* @__PURE__ */ E(p, {
|
|
75
|
+
variant: "body2",
|
|
76
|
+
className: "ttw:leading-3.5",
|
|
77
|
+
children: P._("Service")
|
|
78
|
+
}), /* @__PURE__ */ E(p, {
|
|
79
|
+
variant: "caption",
|
|
80
|
+
color: "muted",
|
|
81
|
+
children: P._("Work or labor you provide")
|
|
82
|
+
})]
|
|
83
|
+
})]
|
|
84
|
+
})]
|
|
85
|
+
})]
|
|
86
|
+
})
|
|
87
|
+
}),
|
|
88
|
+
/* @__PURE__ */ E(k, {
|
|
89
|
+
name: "name",
|
|
90
|
+
control: z,
|
|
91
|
+
render: ({ field: e, fieldState: { error: n } }) => /* @__PURE__ */ E(g, { children: /* @__PURE__ */ D(_, { children: [
|
|
92
|
+
/* @__PURE__ */ E(y, {
|
|
93
|
+
htmlFor: e.name,
|
|
94
|
+
children: P._("Name")
|
|
95
|
+
}),
|
|
96
|
+
/* @__PURE__ */ E(t, {
|
|
97
|
+
...e,
|
|
98
|
+
id: e.name,
|
|
99
|
+
placeholder: P._("e.g. House blend espresso beans"),
|
|
100
|
+
className: M ? "ttw:bg-white" : "",
|
|
101
|
+
disabled: j,
|
|
102
|
+
"aria-invalid": !!n || void 0
|
|
103
|
+
}),
|
|
104
|
+
/* @__PURE__ */ E(v, { errors: [n] })
|
|
105
|
+
] }) })
|
|
106
|
+
}),
|
|
107
|
+
/* @__PURE__ */ D("div", {
|
|
108
|
+
className: "ttw:w-1/2 ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
109
|
+
children: [
|
|
110
|
+
/* @__PURE__ */ E(y, { children: P._("Price per unit") }),
|
|
111
|
+
/* @__PURE__ */ D("div", {
|
|
112
|
+
className: T("ttw:flex ttw:overflow-hidden ttw:rounded-md ttw:border ttw:border-input ttw:shadow-xs ttw:transition-[color,box-shadow]", "ttw:focus-within:border-ring ttw:focus-within:ring-[3px] ttw:focus-within:ring-ring/50", "ttw:has-[[data-slot][aria-invalid=true]]:border-destructive ttw:has-[[data-slot][aria-invalid=true]]:ring-[3px] ttw:has-[[data-slot][aria-invalid=true]]:ring-destructive/20", M && "ttw:bg-white"),
|
|
113
|
+
ref: I,
|
|
114
|
+
children: [
|
|
115
|
+
/* @__PURE__ */ E(k, {
|
|
116
|
+
name: "pricePerUnit",
|
|
117
|
+
control: z,
|
|
118
|
+
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ D(n, {
|
|
119
|
+
className: "ttw:flex-1 ttw:border-0 ttw:shadow-none ttw:rounded-none ttw:has-[[data-slot=input-group-control]:focus-visible]:border-transparent ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-0",
|
|
120
|
+
children: [/* @__PURE__ */ E(r, {
|
|
121
|
+
align: "inline-start",
|
|
122
|
+
children: F("USD")
|
|
123
|
+
}), /* @__PURE__ */ E(i, {
|
|
124
|
+
type: "number",
|
|
125
|
+
name: e.name,
|
|
126
|
+
ref: e.ref,
|
|
127
|
+
value: e.value ?? "",
|
|
128
|
+
onChange: (t) => e.onChange(t.target.value === "" ? void 0 : Number(t.target.value)),
|
|
129
|
+
className: "ttw:text-end",
|
|
130
|
+
onBlur: e.onBlur,
|
|
131
|
+
placeholder: "0.00",
|
|
132
|
+
"aria-invalid": !!t || void 0,
|
|
133
|
+
disabled: j
|
|
134
|
+
})]
|
|
135
|
+
})
|
|
136
|
+
}),
|
|
137
|
+
/* @__PURE__ */ E("div", { className: "ttw:w-px ttw:shrink-0 ttw:bg-border" }),
|
|
138
|
+
/* @__PURE__ */ E(k, {
|
|
139
|
+
name: "measureUnitId",
|
|
140
|
+
control: z,
|
|
141
|
+
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ D(o, {
|
|
142
|
+
value: e.value ?? null,
|
|
143
|
+
onValueChange: (t) => e.onChange(t ?? void 0),
|
|
144
|
+
items: V,
|
|
145
|
+
itemToStringLabel: U,
|
|
146
|
+
disabled: j,
|
|
147
|
+
children: [/* @__PURE__ */ E(u, {
|
|
148
|
+
showClear: !!e.value,
|
|
149
|
+
placeholder: "-",
|
|
150
|
+
disabled: j,
|
|
151
|
+
"aria-invalid": !!t || void 0,
|
|
152
|
+
className: "ttw:w-28 ttw:border-0 ttw:shadow-none ttw:rounded-none ttw:has-[[data-slot=input-group-control]:focus-visible]:border-transparent ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-0"
|
|
153
|
+
}), /* @__PURE__ */ E(c, {
|
|
154
|
+
container: I.current,
|
|
155
|
+
children: /* @__PURE__ */ D(f, { children: [/* @__PURE__ */ E(l, { children: P._("No units found") }), /* @__PURE__ */ E(s, { children: (e) => /* @__PURE__ */ E(d, {
|
|
156
|
+
value: e,
|
|
157
|
+
children: U(e)
|
|
158
|
+
}, e) })] })
|
|
159
|
+
})]
|
|
160
|
+
})
|
|
161
|
+
})
|
|
162
|
+
]
|
|
163
|
+
}),
|
|
164
|
+
/* @__PURE__ */ E(v, { errors: [B.pricePerUnit, B.measureUnitId] })
|
|
165
|
+
]
|
|
166
|
+
}),
|
|
167
|
+
/* @__PURE__ */ E(k, {
|
|
168
|
+
name: "description",
|
|
169
|
+
control: z,
|
|
170
|
+
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ E(g, {
|
|
171
|
+
className: "ttw:block",
|
|
172
|
+
children: /* @__PURE__ */ D(_, { children: [
|
|
173
|
+
/* @__PURE__ */ D(y, {
|
|
174
|
+
htmlFor: e.name,
|
|
175
|
+
className: "ttw:gap-1",
|
|
176
|
+
children: [P._("Description"), /* @__PURE__ */ E(p, {
|
|
177
|
+
variant: "body2",
|
|
178
|
+
color: "muted",
|
|
179
|
+
className: "ttw:leading-snug",
|
|
180
|
+
children: P._("(optional)")
|
|
181
|
+
})]
|
|
182
|
+
}),
|
|
183
|
+
/* @__PURE__ */ D(n, {
|
|
184
|
+
className: T(M && "ttw:bg-white"),
|
|
185
|
+
children: [/* @__PURE__ */ E(a, {
|
|
186
|
+
...e,
|
|
187
|
+
id: e.name,
|
|
188
|
+
placeholder: P._("e.g. 16oz whole bean, medium-dark roast, ground to order"),
|
|
189
|
+
rows: 4,
|
|
190
|
+
maxLength: 255,
|
|
191
|
+
disabled: j,
|
|
192
|
+
"aria-invalid": !!t || void 0
|
|
193
|
+
}), /* @__PURE__ */ E(r, {
|
|
194
|
+
align: "block-end",
|
|
195
|
+
className: "ttw:cursor-default",
|
|
196
|
+
children: /* @__PURE__ */ E(p, {
|
|
197
|
+
variant: "caption",
|
|
198
|
+
color: "muted",
|
|
199
|
+
className: "ttw:leading-none",
|
|
200
|
+
children: P._("{count}/255 characters", { count: (e.value ?? "").length })
|
|
201
|
+
})
|
|
202
|
+
})]
|
|
203
|
+
}),
|
|
204
|
+
/* @__PURE__ */ E(v, { errors: [t] })
|
|
205
|
+
] })
|
|
206
|
+
})
|
|
207
|
+
})
|
|
208
|
+
]
|
|
209
|
+
});
|
|
6
210
|
};
|
|
7
211
|
//#endregion
|
|
8
|
-
export {
|
|
212
|
+
export { j as ProductFormContent };
|
|
@@ -1,12 +1,92 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { applyAPIValidationErrors as e, parseAPIValidationErrors as t } from "./index17.js";
|
|
2
|
+
import { useCurrencies as n } from "./index67.js";
|
|
3
|
+
import "./index80.js";
|
|
4
|
+
import { Button as r } from "./index118.js";
|
|
5
|
+
import { LoadingSpinner as i } from "./index57.js";
|
|
6
|
+
import { useUpdateProduct as a } from "./index207.js";
|
|
7
|
+
import "./index195.js";
|
|
8
|
+
import { PRODUCT_API_FIELD_MAP as o } from "./index211.js";
|
|
9
|
+
import { getProductValidationSchema as s } from "./index215.js";
|
|
10
|
+
import { ProductFormContent as c } from "./index227.js";
|
|
11
|
+
import { useCallback as l, useId as u, useMemo as d } from "react";
|
|
12
|
+
import { jsx as f, jsxs as p } from "@emotion/react/jsx-runtime";
|
|
13
|
+
import { useLingui as m } from "@lingui/react";
|
|
14
|
+
import { FormProvider as h, useForm as g } from "react-hook-form";
|
|
15
|
+
import { zodResolver as _ } from "@hookform/resolvers/zod";
|
|
3
16
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js
|
|
4
|
-
var
|
|
5
|
-
let {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
17
|
+
var v = ({ product: v, handleClose: y, onUpdate: b }) => {
|
|
18
|
+
let { i18n: x } = m(), { formatToMinorUnits: S, formatFromMinorUnits: C } = n(), w = `product-edit-form-${u()}`, { mutate: T, isPending: E } = a(v.id), D = d(() => ({
|
|
19
|
+
name: v.name,
|
|
20
|
+
type: v.type ?? "product",
|
|
21
|
+
pricePerUnit: C(v.price?.value, v.price?.currency) ?? void 0,
|
|
22
|
+
currency: v.price?.currency ?? "USD",
|
|
23
|
+
description: v.description ?? "",
|
|
24
|
+
measureUnitId: v.measure_unit_id ?? void 0
|
|
25
|
+
}), [
|
|
26
|
+
v.name,
|
|
27
|
+
v.type,
|
|
28
|
+
v.price?.value,
|
|
29
|
+
v.price?.currency,
|
|
30
|
+
v.description,
|
|
31
|
+
v.measure_unit_id,
|
|
32
|
+
C
|
|
33
|
+
]), O = g({
|
|
34
|
+
resolver: _(s(x)),
|
|
35
|
+
defaultValues: D
|
|
36
|
+
}), k = l((n) => {
|
|
37
|
+
n.preventDefault(), n.stopPropagation(), O.handleSubmit((n) => {
|
|
38
|
+
T({
|
|
39
|
+
name: n.name,
|
|
40
|
+
type: n.type,
|
|
41
|
+
price: {
|
|
42
|
+
value: S(n.pricePerUnit, n.currency) ?? n.pricePerUnit,
|
|
43
|
+
currency: n.currency
|
|
44
|
+
},
|
|
45
|
+
description: n.description,
|
|
46
|
+
...n.measureUnitId ? { measure_unit_id: n.measureUnitId } : {}
|
|
47
|
+
}, {
|
|
48
|
+
onSuccess: (e) => {
|
|
49
|
+
b?.(e);
|
|
50
|
+
},
|
|
51
|
+
onError: (n) => {
|
|
52
|
+
e(O.setError, t(n), { fieldMap: o });
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
})(n);
|
|
56
|
+
}, [
|
|
57
|
+
T,
|
|
58
|
+
S,
|
|
59
|
+
b,
|
|
60
|
+
O.handleSubmit,
|
|
61
|
+
O.setError
|
|
62
|
+
]);
|
|
63
|
+
return /* @__PURE__ */ f(h, {
|
|
64
|
+
...O,
|
|
65
|
+
children: /* @__PURE__ */ p("form", {
|
|
66
|
+
id: w,
|
|
67
|
+
onSubmit: k,
|
|
68
|
+
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:p-4 ttw:border ttw:border-primary ttw:rounded-[10px] ttw:bg-zinc-100",
|
|
69
|
+
children: [/* @__PURE__ */ f(c, {
|
|
70
|
+
isLoading: E,
|
|
71
|
+
isProduct: v?.type === "product",
|
|
72
|
+
isEditMode: !0
|
|
73
|
+
}), /* @__PURE__ */ p("div", {
|
|
74
|
+
className: "ttw:flex ttw:gap-4 ttw:pt-6",
|
|
75
|
+
children: [/* @__PURE__ */ f(r, {
|
|
76
|
+
type: "button",
|
|
77
|
+
variant: "outline",
|
|
78
|
+
className: "ttw:border-border ttw:flex-1",
|
|
79
|
+
onClick: y,
|
|
80
|
+
children: x._("Cancel")
|
|
81
|
+
}), /* @__PURE__ */ p(r, {
|
|
82
|
+
type: "submit",
|
|
83
|
+
className: "ttw:flex-1",
|
|
84
|
+
disabled: E || !O.formState.isDirty,
|
|
85
|
+
children: [E && /* @__PURE__ */ f(i, { className: "ttw:border-white ttw:border-t-transparent ttw:size-4" }), x._("Save")]
|
|
86
|
+
})]
|
|
87
|
+
})]
|
|
88
|
+
})
|
|
89
|
+
});
|
|
10
90
|
};
|
|
11
91
|
//#endregion
|
|
12
|
-
export {
|
|
92
|
+
export { v as ProductEditForm };
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { CenteredContentBox as e } from "./index55.js";
|
|
2
|
+
import "./index56.js";
|
|
3
|
+
import { Typography as t } from "./index154.js";
|
|
4
|
+
import { SearchX as n } from "lucide-react";
|
|
5
|
+
import { jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
4
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
7
|
+
var a = ({ title: a, description: o }) => /* @__PURE__ */ r(e, { children: /* @__PURE__ */ i("div", {
|
|
8
|
+
className: "ttw:flex ttw:flex-col ttw:items-center ttw:gap-4",
|
|
9
|
+
children: [/* @__PURE__ */ r(n, { className: "ttw:text-destructive ttw:size-8" }), /* @__PURE__ */ i("div", {
|
|
10
|
+
className: "ttw:flex ttw:flex-col ttw:items-center ttw:gap-2",
|
|
11
|
+
children: [/* @__PURE__ */ r(t, {
|
|
12
|
+
variant: "h4",
|
|
13
|
+
children: a
|
|
14
|
+
}), /* @__PURE__ */ r(t, {
|
|
15
|
+
variant: "body1",
|
|
16
|
+
className: "ttw:text-center",
|
|
17
|
+
children: o
|
|
18
|
+
})]
|
|
19
|
+
})]
|
|
20
|
+
}) });
|
|
18
21
|
//#endregion
|
|
19
|
-
export {
|
|
22
|
+
export { a as NotFound };
|
|
@@ -1,166 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { compileLinguiDynamicMessages as t } from "./index22.js";
|
|
3
|
-
import { Suspense as n, lazy as r, useMemo as i, useRef as a } from "react";
|
|
4
|
-
import { setupI18n as o } from "@lingui/core";
|
|
5
|
-
import s from "deep-eql";
|
|
6
|
-
import { Fragment as c, jsx as l } from "@emotion/react/jsx-runtime";
|
|
1
|
+
import e from "chroma-js";
|
|
7
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index23.js
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}, f = async (e) => {
|
|
30
|
-
let t = e.split("-"), n = t[0], r = t.join(""), i = (e) => e in p;
|
|
31
|
-
try {
|
|
32
|
-
if (i(r)) return p[r]().then((e) => Object.values(e)[0]);
|
|
33
|
-
if (i(n)) return p[n]().then((e) => Object.values(e)[0]);
|
|
34
|
-
} catch (e) {
|
|
35
|
-
console.error("DateFnsLocale has not been loaded: ", e);
|
|
36
|
-
}
|
|
37
|
-
return p.en().then((e) => Object.values(e)[0]);
|
|
38
|
-
}, p = {
|
|
39
|
-
af: () => import("date-fns/locale/af"),
|
|
40
|
-
ar: () => import("date-fns/locale/ar"),
|
|
41
|
-
arDZ: () => import("date-fns/locale/ar-DZ"),
|
|
42
|
-
arEG: () => import("date-fns/locale/ar-EG"),
|
|
43
|
-
arMA: () => import("date-fns/locale/ar-MA"),
|
|
44
|
-
arSA: () => import("date-fns/locale/ar-SA"),
|
|
45
|
-
arTN: () => import("date-fns/locale/ar-TN"),
|
|
46
|
-
az: () => import("date-fns/locale/az"),
|
|
47
|
-
be: () => import("date-fns/locale/be"),
|
|
48
|
-
beTarask: () => import("date-fns/locale/be-tarask"),
|
|
49
|
-
bg: () => import("date-fns/locale/bg"),
|
|
50
|
-
bn: () => import("date-fns/locale/bn"),
|
|
51
|
-
bs: () => import("date-fns/locale/bs"),
|
|
52
|
-
ca: () => import("date-fns/locale/ca"),
|
|
53
|
-
ckb: () => import("date-fns/locale/ckb"),
|
|
54
|
-
cs: () => import("date-fns/locale/cs"),
|
|
55
|
-
cy: () => import("date-fns/locale/cy"),
|
|
56
|
-
da: () => import("date-fns/locale/da"),
|
|
57
|
-
de: () => import("date-fns/locale/de"),
|
|
58
|
-
deAT: () => import("date-fns/locale/de-AT"),
|
|
59
|
-
el: () => import("date-fns/locale/el"),
|
|
60
|
-
en: () => import("date-fns/locale/en-US"),
|
|
61
|
-
enAU: () => import("date-fns/locale/en-AU"),
|
|
62
|
-
enCA: () => import("date-fns/locale/en-CA"),
|
|
63
|
-
enGB: () => import("date-fns/locale/en-GB"),
|
|
64
|
-
enIE: () => import("date-fns/locale/en-IE"),
|
|
65
|
-
enIN: () => import("date-fns/locale/en-IN"),
|
|
66
|
-
enNZ: () => import("date-fns/locale/en-NZ"),
|
|
67
|
-
enUS: () => import("date-fns/locale/en-US"),
|
|
68
|
-
enZA: () => import("date-fns/locale/en-ZA"),
|
|
69
|
-
eo: () => import("date-fns/locale/eo"),
|
|
70
|
-
es: () => import("date-fns/locale/es"),
|
|
71
|
-
et: () => import("date-fns/locale/et"),
|
|
72
|
-
eu: () => import("date-fns/locale/eu"),
|
|
73
|
-
faIR: () => import("date-fns/locale/fa-IR"),
|
|
74
|
-
fi: () => import("date-fns/locale/fi"),
|
|
75
|
-
fr: () => import("date-fns/locale/fr"),
|
|
76
|
-
frCA: () => import("date-fns/locale/fr-CA"),
|
|
77
|
-
frCH: () => import("date-fns/locale/fr-CH"),
|
|
78
|
-
fy: () => import("date-fns/locale/fy"),
|
|
79
|
-
gd: () => import("date-fns/locale/gd"),
|
|
80
|
-
gl: () => import("date-fns/locale/gl"),
|
|
81
|
-
gu: () => import("date-fns/locale/gu"),
|
|
82
|
-
he: () => import("date-fns/locale/he"),
|
|
83
|
-
hi: () => import("date-fns/locale/hi"),
|
|
84
|
-
hr: () => import("date-fns/locale/hr"),
|
|
85
|
-
ht: () => import("date-fns/locale/ht"),
|
|
86
|
-
hu: () => import("date-fns/locale/hu"),
|
|
87
|
-
hy: () => import("date-fns/locale/hy"),
|
|
88
|
-
id: () => import("date-fns/locale/id"),
|
|
89
|
-
is: () => import("date-fns/locale/is"),
|
|
90
|
-
it: () => import("date-fns/locale/it"),
|
|
91
|
-
itCH: () => import("date-fns/locale/it-CH"),
|
|
92
|
-
ja: () => import("date-fns/locale/ja"),
|
|
93
|
-
jaHira: () => import("date-fns/locale/ja-Hira"),
|
|
94
|
-
ka: () => import("date-fns/locale/ka"),
|
|
95
|
-
kk: () => import("date-fns/locale/kk"),
|
|
96
|
-
km: () => import("date-fns/locale/km"),
|
|
97
|
-
kn: () => import("date-fns/locale/kn"),
|
|
98
|
-
ko: () => import("date-fns/locale/ko"),
|
|
99
|
-
lb: () => import("date-fns/locale/lb"),
|
|
100
|
-
lt: () => import("date-fns/locale/lt"),
|
|
101
|
-
lv: () => import("date-fns/locale/lv"),
|
|
102
|
-
mk: () => import("date-fns/locale/mk"),
|
|
103
|
-
mn: () => import("date-fns/locale/mn"),
|
|
104
|
-
ms: () => import("date-fns/locale/ms"),
|
|
105
|
-
mt: () => import("date-fns/locale/mt"),
|
|
106
|
-
nb: () => import("date-fns/locale/nb"),
|
|
107
|
-
nl: () => import("date-fns/locale/nl"),
|
|
108
|
-
nlBE: () => import("date-fns/locale/nl-BE"),
|
|
109
|
-
nn: () => import("date-fns/locale/nn"),
|
|
110
|
-
oc: () => import("date-fns/locale/oc"),
|
|
111
|
-
pl: () => import("date-fns/locale/pl"),
|
|
112
|
-
pt: () => import("date-fns/locale/pt"),
|
|
113
|
-
ptBR: () => import("date-fns/locale/pt-BR"),
|
|
114
|
-
ro: () => import("date-fns/locale/ro"),
|
|
115
|
-
ru: () => import("date-fns/locale/ru"),
|
|
116
|
-
se: () => import("date-fns/locale/se"),
|
|
117
|
-
sk: () => import("date-fns/locale/sk"),
|
|
118
|
-
sl: () => import("date-fns/locale/sl"),
|
|
119
|
-
sq: () => import("date-fns/locale/sq"),
|
|
120
|
-
sr: () => import("date-fns/locale/sr"),
|
|
121
|
-
srLatn: () => import("date-fns/locale/sr-Latn"),
|
|
122
|
-
sv: () => import("date-fns/locale/sv"),
|
|
123
|
-
ta: () => import("date-fns/locale/ta"),
|
|
124
|
-
te: () => import("date-fns/locale/te"),
|
|
125
|
-
th: () => import("date-fns/locale/th"),
|
|
126
|
-
tr: () => import("date-fns/locale/tr"),
|
|
127
|
-
ug: () => import("date-fns/locale/ug"),
|
|
128
|
-
uk: () => import("date-fns/locale/uk"),
|
|
129
|
-
uz: () => import("date-fns/locale/uz"),
|
|
130
|
-
uzCyrl: () => import("date-fns/locale/uz-Cyrl"),
|
|
131
|
-
vi: () => import("date-fns/locale/vi"),
|
|
132
|
-
zhCN: () => import("date-fns/locale/zh-CN"),
|
|
133
|
-
zhHK: () => import("date-fns/locale/zh-HK"),
|
|
134
|
-
zhTW: () => import("date-fns/locale/zh-TW")
|
|
135
|
-
};
|
|
136
|
-
function m(e) {
|
|
137
|
-
let t = e?.code ?? (typeof navigator > "u" ? "en" : navigator.language);
|
|
138
|
-
return {
|
|
139
|
-
...e,
|
|
140
|
-
code: t,
|
|
141
|
-
currencyNumberFormat: {
|
|
142
|
-
localeCode: e?.currencyNumberFormat?.localeCode ?? t,
|
|
143
|
-
display: e?.currencyNumberFormat?.display ?? "symbol"
|
|
144
|
-
},
|
|
145
|
-
dateFormat: {
|
|
146
|
-
...e?.dateFormat?.weekday && { weekday: e?.dateFormat?.weekday },
|
|
147
|
-
year: e?.dateFormat?.year ?? "numeric",
|
|
148
|
-
month: e?.dateFormat?.month ?? "short",
|
|
149
|
-
day: e?.dateFormat?.day ?? "2-digit"
|
|
150
|
-
},
|
|
151
|
-
dateTimeFormat: {
|
|
152
|
-
...e?.dateFormat?.weekday && { weekday: e?.dateFormat?.weekday },
|
|
153
|
-
year: e?.dateFormat?.year ?? "numeric",
|
|
154
|
-
month: e?.dateFormat?.month ?? "short",
|
|
155
|
-
day: e?.dateFormat?.day ?? "2-digit",
|
|
156
|
-
hour: e?.dateFormat?.hour ?? "2-digit",
|
|
157
|
-
minute: e?.dateFormat?.minute ?? "2-digit",
|
|
158
|
-
...e?.dateFormat?.second && { second: e?.dateFormat?.second },
|
|
159
|
-
...e?.dateFormat?.timeZoneName && { timeZoneName: e?.dateFormat?.timeZoneName },
|
|
160
|
-
...e?.dateFormat?.hour12 && { hour12: e?.dateFormat?.hour12 },
|
|
161
|
-
...e?.dateFormat?.timeZone && { timeZone: e?.dateFormat?.timeZone }
|
|
162
|
-
}
|
|
163
|
-
};
|
|
164
|
-
}
|
|
3
|
+
var t = (t, n) => ({
|
|
4
|
+
dark: e(t).darken(.3).saturate(.2).hex(),
|
|
5
|
+
main: t,
|
|
6
|
+
light: e.mix(t, "#ffffff", .94).hex(),
|
|
7
|
+
10: e(t).darken(2.2).saturate(.5).hex(),
|
|
8
|
+
20: e(t).darken(1.8).saturate(.3).hex(),
|
|
9
|
+
25: e(t).darken(1.4).saturate(.2).hex(),
|
|
10
|
+
30: e(t).darken(1).saturate(.1).hex(),
|
|
11
|
+
40: e(t).darken(.5).hex(),
|
|
12
|
+
50: t,
|
|
13
|
+
55: e(t).brighten(.3).desaturate(.1).hex(),
|
|
14
|
+
60: e.mix(t, "#ffffff", .25).desaturate(.1).hex(),
|
|
15
|
+
65: e.mix(t, "#ffffff", .4).desaturate(.2).hex(),
|
|
16
|
+
75: e.mix(t, "#ffffff", .6).desaturate(.3).hex(),
|
|
17
|
+
80: e.mix(t, "#ffffff", .7).desaturate(.4).hex(),
|
|
18
|
+
85: e.mix(t, "#ffffff", .8).desaturate(.5).hex(),
|
|
19
|
+
90: e.mix(t, "#ffffff", .85).desaturate(.3).hex(),
|
|
20
|
+
95: e.mix(t, "#ffffff", .9).desaturate(.4).hex(),
|
|
21
|
+
100: e.mix(t, "#ffffff", .95).desaturate(.5).hex(),
|
|
22
|
+
foreground: { main: n }
|
|
23
|
+
});
|
|
165
24
|
//#endregion
|
|
166
|
-
export {
|
|
25
|
+
export { t as getPrimaryColors };
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { getCurrencies as t } from "./index14.js";
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js
|
|
4
|
-
var n = (e, t) => {
|
|
5
|
-
let n = r(e, t);
|
|
6
|
-
return t.is_default_for_currency ? e._("{bankAccountName} (Default)", { bankAccountName: n }) : n;
|
|
7
|
-
}, r = (n, r) => r.name ? r.name : r.country && r.currency ? `${e(n)[r.country]} (${t(n)[r.currency]})` : r.id;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { n as getBankAccountName };
|
|
1
|
+
import "./index229.js";
|
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Typography as e } from "./index154.js";
|
|
2
|
+
import { twMerge as t } from "tailwind-merge";
|
|
3
|
+
import { jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
|
|
2
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var i = ({ label: i, value: a, isLast: o }) => /* @__PURE__ */ r("li", {
|
|
6
|
+
className: t("ttw:flex ttw:gap-4 ttw:py-2.5", !o && "ttw:border-b ttw:border-border"),
|
|
7
|
+
children: [/* @__PURE__ */ n(e, {
|
|
8
|
+
variant: "body2",
|
|
9
|
+
color: "muted",
|
|
10
|
+
className: "ttw:w-35 ttw:min-w-35 ttw:font-medium",
|
|
11
|
+
children: i
|
|
12
|
+
}), typeof a == "string" ? /* @__PURE__ */ n(e, {
|
|
13
|
+
variant: "body2",
|
|
14
|
+
className: "ttw:font-medium",
|
|
15
|
+
children: a
|
|
16
|
+
}) : a]
|
|
17
|
+
});
|
|
6
18
|
//#endregion
|
|
7
|
-
export {
|
|
19
|
+
export { i as ProductDetailLine };
|