@tesouro/embedded-components-react 0.2.26 → 0.2.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/ReceivablesWidget.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +75 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +6 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +33 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +29 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +10 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +12 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +23 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +14 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +119 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +7 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +12 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +12 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +47 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +49 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +11 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +40 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +152 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +25 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +56 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +71 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +29 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +3 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +62 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +80 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +5 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +97 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +57 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +37 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +72 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +55 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +196 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +22 -148
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +77 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +29 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +39 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +7 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +243 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +178 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +14 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +113 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +84 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +105 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +108 -195
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +58 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +60 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +86 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +48 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +34 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +116 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +68 -248
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +185 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +30 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +115 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +53 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +18 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +26 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +19 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +12 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +12 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +21 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +4 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +5 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +7 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +47 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +366 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +19 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +19 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +18 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +13 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +92 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +25 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +20 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +20 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +10 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +18 -366
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +27 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +114 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +68 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +12 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +14 -491
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +69 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +77 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +44 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +68 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +487 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +162 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +42 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +55 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +30 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +113 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +21 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +44 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +53 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +21 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +56 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +27 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +59 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +19 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +41 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +35 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +345 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +295 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +97 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +158 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +267 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +23 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +2 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +92 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +96 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +192 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +17 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +29 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +41 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +63 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +95 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +110 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +86 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +62 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +153 -165
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +28 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +26 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +78 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +44 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +63 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +43 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +21 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +187 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +106 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +81 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +287 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +47 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +82 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +220 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +35 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +44 -187
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +37 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +31 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +6 -288
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +98 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +30 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +54 -218
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +38 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +17 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +57 -299
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +12 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +89 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +115 -254
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +38 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +41 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +61 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +149 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +47 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +48 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +103 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +22 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +12 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +20 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +18 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +170 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +131 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +156 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +12 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +18 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +60 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +67 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +58 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +6 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +6 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +58 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +22 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +59 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +14 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +30 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +19 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +28 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +127 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +96 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +38 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +27 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +119 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +18 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +16 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +16 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +14 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +72 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +16 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +15 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +11 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +7 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +48 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +29 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +69 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +97 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +34 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +9 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +11 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +255 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +11 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +106 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +61 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +8 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +15 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +21 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +18 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +11 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +37 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +13 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +65 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +21 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +2 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +12 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +29 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +23 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +38 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +5 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +85 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +26 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +75 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +65 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +36 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +20 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +50 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +36 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +17 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +59 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +65 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +47 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +38 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +17 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +80 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +32 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +40 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +55 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +72 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +20 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +94 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +73 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +20 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +43 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +36 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +18 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +49 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +56 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +29 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +30 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +67 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +39 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +49 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +54 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +15 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +19 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +51 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +35 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +17 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +23 -23
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as t, jsxs as a, Fragment as B } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { useState as s, useMemo as N, useCallback as G } from "react";
|
|
3
|
-
import { ProductDeleteModal as W } from "./
|
|
4
|
-
import { ProductType as q } from "./
|
|
5
|
-
import { Filters as H } from "./
|
|
3
|
+
import { ProductDeleteModal as W } from "./index214.js";
|
|
4
|
+
import { ProductType as q } from "./index215.js";
|
|
5
|
+
import { Filters as H } from "./index216.js";
|
|
6
6
|
import { useMoniteContext as Y } from "./index59.js";
|
|
7
7
|
import { MoniteScopedProviders as J } from "./index85.js";
|
|
8
8
|
import { useCurrencies as Q } from "./index60.js";
|
|
@@ -10,27 +10,27 @@ import "./index94.js";
|
|
|
10
10
|
import { useLingui as V } from "@lingui/react";
|
|
11
11
|
import "react-dom";
|
|
12
12
|
import "@mui/x-data-grid";
|
|
13
|
-
import { useUserPermissions as X } from "./
|
|
13
|
+
import { useUserPermissions as X } from "./index148.js";
|
|
14
14
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
15
15
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
16
16
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
17
17
|
import "@tanstack/react-query";
|
|
18
18
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
19
19
|
import { Scope as k } from "../../shared/data-access/dist/lib/scopes.js";
|
|
20
|
-
import { AccessRestriction as Z } from "./
|
|
20
|
+
import { AccessRestriction as Z } from "./index158.js";
|
|
21
21
|
import { Button as f } from "./index86.js";
|
|
22
22
|
import "clsx";
|
|
23
23
|
import "tailwind-merge";
|
|
24
24
|
import "@radix-ui/react-dialog";
|
|
25
25
|
import { ArrowUp as ee, ArrowDown as te, ArrowUpDown as oe, Plus as ie } from "lucide-react";
|
|
26
|
-
import { DataTable as re } from "./
|
|
27
|
-
import { GetNoRowsOverlay as ae } from "./
|
|
28
|
-
import { MeasureUnit as se } from "./
|
|
29
|
-
import { hasSelectedText as ne } from "./
|
|
30
|
-
import { FILTER_TYPE_SEARCH as S } from "./
|
|
26
|
+
import { DataTable as re } from "./index165.js";
|
|
27
|
+
import { GetNoRowsOverlay as ae } from "./index164.js";
|
|
28
|
+
import { MeasureUnit as se } from "./index217.js";
|
|
29
|
+
import { hasSelectedText as ne } from "./index166.js";
|
|
30
|
+
import { FILTER_TYPE_SEARCH as S } from "./index218.js";
|
|
31
31
|
import "react-hot-toast";
|
|
32
|
-
import { useGetProducts as le } from "./
|
|
33
|
-
import { ManageMeasureUnits as ce } from "./
|
|
32
|
+
import { useGetProducts as le } from "./index219.js";
|
|
33
|
+
import { ManageMeasureUnits as ce } from "./index220.js";
|
|
34
34
|
const Ge = (d) => /* @__PURE__ */ t(J, { children: /* @__PURE__ */ t(de, { ...d }) }), de = ({
|
|
35
35
|
onFilterChanged: d,
|
|
36
36
|
onSortChanged: g,
|
|
@@ -1,18 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsx as e, jsxs as a, Fragment as m } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useCurrencies as b } from "./index60.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "./index94.js";
|
|
5
|
+
import { useLingui as x } from "@lingui/react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import "./index59.js";
|
|
8
|
+
import "@mui/x-data-grid";
|
|
9
|
+
import { ConfirmationModal as y } from "./index272.js";
|
|
10
|
+
import { Table as C, TableBody as _, TableRow as D, TableCell as l } from "./index324.js";
|
|
11
|
+
import { Typography as r } from "./index87.js";
|
|
12
|
+
import { Loader2 as L } from "lucide-react";
|
|
13
|
+
import { useGetProducts as T } from "./index219.js";
|
|
14
|
+
const R = ({
|
|
15
|
+
onClose: c,
|
|
16
|
+
onDelete: d,
|
|
17
|
+
name: p,
|
|
18
|
+
isLoading: u,
|
|
19
|
+
open: h,
|
|
20
|
+
id: n
|
|
21
|
+
}) => {
|
|
22
|
+
const {
|
|
23
|
+
i18n: t
|
|
24
|
+
} = x(), {
|
|
25
|
+
formatCurrencyToDisplay: w
|
|
26
|
+
} = b(), {
|
|
27
|
+
data: s,
|
|
28
|
+
isLoading: o
|
|
29
|
+
} = T({
|
|
30
|
+
measure_unit_id: n ?? ""
|
|
31
|
+
}, !!n), f = s?.data.length === 0, g = () => f ? /* @__PURE__ */ a(m, { children: [
|
|
32
|
+
/* @__PURE__ */ e(r, { children: t._("There are no items created with this measure unit.") }),
|
|
33
|
+
/* @__PURE__ */ e(r, { color: "muted", children: t._("Deleting it won't affect your items.") })
|
|
34
|
+
] }) : /* @__PURE__ */ a(m, { children: [
|
|
35
|
+
/* @__PURE__ */ e(r, { children: t._("Any products or services referencing this unit will update to use a blank unit of measure.") }),
|
|
36
|
+
/* @__PURE__ */ e(r, { color: "muted", children: t._("Previously issued invoices will not be impacted.") }),
|
|
37
|
+
o && /* @__PURE__ */ e(L, { className: "ttw:mx-auto ttw:size-6 ttw:animate-spin" }),
|
|
38
|
+
!o && /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(_, { children: s?.data.map((i) => /* @__PURE__ */ a(D, { className: "ttw:border-border ttw:hover:bg-transparent", children: [
|
|
39
|
+
/* @__PURE__ */ e(l, { className: "ttw:pl-0 ttw:whitespace-normal ttw:text-text ttw:font-medium", children: i.name }),
|
|
40
|
+
/* @__PURE__ */ e(l, { className: "ttw:pr-0 ttw:text-right ttw:text-text ttw:font-medium", children: i.price && w(i.price?.value, i.price?.currency) })
|
|
41
|
+
] }, i.id)) }) })
|
|
42
|
+
] });
|
|
43
|
+
return /* @__PURE__ */ e(y, { open: h, title: t._('Delete "{name}"?', {
|
|
44
|
+
name: p
|
|
45
|
+
}), confirmLabel: t._("Delete"), cancelLabel: t._("Cancel"), onClose: c, onConfirm: d, isLoading: u || o, children: g() });
|
|
46
|
+
};
|
|
16
47
|
export {
|
|
17
|
-
|
|
48
|
+
R as ConfirmDeleteMeasureUnitDialog
|
|
18
49
|
};
|
|
@@ -1,18 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
}))
|
|
1
|
+
import { jsxs as i, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { DropdownMenu as s, DropdownMenuTrigger as a, DropdownMenuContent as d, DropdownMenuItem as r } from "./index140.js";
|
|
3
|
+
import { Button as c } from "./index86.js";
|
|
4
|
+
import { useLingui as u } from "@lingui/react";
|
|
5
|
+
import { MoreVertical as m, Pencil as p, Trash2 as h } from "lucide-react";
|
|
6
|
+
const A = ({
|
|
7
|
+
onEdit: t,
|
|
8
|
+
onDelete: l,
|
|
9
|
+
permissions: o
|
|
10
|
+
}) => {
|
|
11
|
+
const {
|
|
12
|
+
i18n: n
|
|
13
|
+
} = u();
|
|
14
|
+
return o.isUpdateAllowed || o.isDeleteAllowed ? /* @__PURE__ */ i(s, { children: [
|
|
15
|
+
/* @__PURE__ */ e(a, { asChild: !0, children: /* @__PURE__ */ e(c, { variant: "ghost", size: "icon", "aria-label": "actions-menu-button", children: /* @__PURE__ */ e(m, {}) }) }),
|
|
16
|
+
/* @__PURE__ */ i(d, { align: "end", children: [
|
|
17
|
+
o.isUpdateAllowed && /* @__PURE__ */ i(r, { onClick: t, children: [
|
|
18
|
+
/* @__PURE__ */ e(p, {}),
|
|
19
|
+
n._("Edit")
|
|
20
|
+
] }),
|
|
21
|
+
o.isDeleteAllowed && /* @__PURE__ */ i(r, { onClick: l, variant: "destructive", children: [
|
|
22
|
+
/* @__PURE__ */ e(h, {}),
|
|
23
|
+
n._("Delete")
|
|
24
|
+
] })
|
|
25
|
+
] })
|
|
26
|
+
] }) : null;
|
|
27
|
+
};
|
|
16
28
|
export {
|
|
17
|
-
|
|
29
|
+
A as TableActions
|
|
18
30
|
};
|
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}));
|
|
1
|
+
import { useMoniteContext as n } from "./index59.js";
|
|
2
|
+
import { useLingui as a } from "@lingui/react";
|
|
3
|
+
import { toast as s } from "react-hot-toast";
|
|
4
|
+
const m = (e) => {
|
|
5
|
+
const {
|
|
6
|
+
api: t,
|
|
7
|
+
queryClient: i
|
|
8
|
+
} = n(), {
|
|
9
|
+
i18n: o
|
|
10
|
+
} = a();
|
|
11
|
+
return t.finops.deleteMeasureUnitsId.useMutation(void 0, {
|
|
12
|
+
onSuccess: async () => {
|
|
13
|
+
e && (await t.finops.getMeasureUnits.invalidateQueries(i), s.success(o._("Unit {name} was deleted from the list.", {
|
|
14
|
+
name: e
|
|
15
|
+
})));
|
|
16
|
+
},
|
|
17
|
+
onError: (r) => {
|
|
18
|
+
console.error(r), s.error(o._("Failed to delete Unit."));
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
};
|
|
16
22
|
export {
|
|
17
|
-
|
|
23
|
+
m as useDeleteMeasureUnit
|
|
18
24
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
1
|
+
const o = ["draft", "new", "waiting_to_be_paid", "approve_in_progress"], s = (n) => {
|
|
2
|
+
if (!n.due_date) return 0;
|
|
3
|
+
const e = /* @__PURE__ */ new Date();
|
|
4
|
+
e.setUTCHours(0, 0, 0, 0);
|
|
5
|
+
const t = new Date(n.due_date);
|
|
6
|
+
if (t.setUTCHours(0, 0, 0, 0), t.getTime() === e.getTime()) return 0;
|
|
7
|
+
const r = o.includes(n.status), i = t.getTime() < e.getTime();
|
|
8
|
+
return !r || !i ? 0 : Math.floor((e.getTime() - t.getTime()) / 864e5);
|
|
9
|
+
};
|
|
10
10
|
export {
|
|
11
|
-
|
|
12
|
-
t as getUsersFromListLabel
|
|
11
|
+
s as getInvoiceOverdueDays
|
|
13
12
|
};
|
|
@@ -1,36 +1,30 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { useMoniteContext as u } from "./index59.js";
|
|
2
|
+
import { getAPIErrorMessage as m } from "./index121.js";
|
|
3
|
+
import { useLingui as c } from "@lingui/react";
|
|
4
|
+
import { toast as n } from "react-hot-toast";
|
|
5
|
+
const M = (a, i) => {
|
|
5
6
|
const {
|
|
6
|
-
api:
|
|
7
|
-
queryClient:
|
|
8
|
-
} =
|
|
9
|
-
i18n:
|
|
10
|
-
} =
|
|
11
|
-
return
|
|
12
|
-
onSuccess: async (
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
bank_account_id: t.id
|
|
17
|
-
}
|
|
18
|
-
}, (a) => ({
|
|
19
|
-
...a,
|
|
20
|
-
...t
|
|
21
|
-
}), n), await r.finops.getCounterpartsIdBankAccounts.invalidateQueries({
|
|
22
|
-
parameters: {
|
|
23
|
-
path: {
|
|
24
|
-
counterpart_id: t.counterpart_id
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}, n);
|
|
7
|
+
api: t,
|
|
8
|
+
queryClient: o
|
|
9
|
+
} = u(), {
|
|
10
|
+
i18n: r
|
|
11
|
+
} = c();
|
|
12
|
+
return t.finops.postMeasureUnits.useMutation({}, {
|
|
13
|
+
onSuccess: async (e) => {
|
|
14
|
+
await t.finops.getMeasureUnits.invalidateQueries(o), n.success(r._("Unit {name} was added to the list", {
|
|
15
|
+
name: e.name
|
|
16
|
+
})), a?.();
|
|
28
17
|
},
|
|
29
|
-
onError: () => {
|
|
30
|
-
|
|
18
|
+
onError: async (e) => {
|
|
19
|
+
const s = m(r, e);
|
|
20
|
+
if (s.includes("already exists")) {
|
|
21
|
+
i?.(s);
|
|
22
|
+
return;
|
|
23
|
+
} else
|
|
24
|
+
n.error(s);
|
|
31
25
|
}
|
|
32
26
|
});
|
|
33
27
|
};
|
|
34
28
|
export {
|
|
35
|
-
|
|
29
|
+
M as useCreateMeasureUnit
|
|
36
30
|
};
|
|
@@ -1,31 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import { useMoniteContext as p } from "./index59.js";
|
|
2
|
+
import { getAPIErrorMessage as m } from "./index121.js";
|
|
3
|
+
import { useLingui as d } from "@lingui/react";
|
|
4
|
+
import { toast as n } from "react-hot-toast";
|
|
5
|
+
const g = (i, o, u) => {
|
|
6
|
+
const {
|
|
7
|
+
api: e,
|
|
8
|
+
queryClient: r
|
|
9
|
+
} = p(), {
|
|
10
|
+
i18n: a
|
|
11
|
+
} = d();
|
|
12
|
+
return e.finops.patchMeasureUnitsId.useMutation({
|
|
13
|
+
path: {
|
|
14
|
+
unit_id: i
|
|
15
|
+
}
|
|
16
|
+
}, {
|
|
17
|
+
onSuccess: async (s) => {
|
|
18
|
+
await Promise.all([e.finops.getMeasureUnits.invalidateQueries(r), e.finops.getMeasureUnitsId.invalidateQueries({
|
|
19
|
+
parameters: {
|
|
20
|
+
path: {
|
|
21
|
+
unit_id: i
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}, r)]), n.success(a._("Unit {name} was updated", {
|
|
25
|
+
name: s.name
|
|
26
|
+
})), o?.();
|
|
27
|
+
},
|
|
28
|
+
onError: (s) => {
|
|
29
|
+
const t = m(a, s);
|
|
30
|
+
if (t.includes("already exists")) {
|
|
31
|
+
u?.(t);
|
|
32
|
+
return;
|
|
33
|
+
} else
|
|
34
|
+
n.error(t);
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
};
|
|
27
38
|
export {
|
|
28
|
-
|
|
29
|
-
u as MoniteCardItem,
|
|
30
|
-
b as StyledLabelTableCell
|
|
39
|
+
g as useUpdateMeasureUnit
|
|
31
40
|
};
|
|
@@ -1,71 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
root: l
|
|
17
|
-
} = D();
|
|
18
|
-
return /* @__PURE__ */ a(y, { control: p, name: n, render: ({
|
|
19
|
-
field: e,
|
|
20
|
-
fieldState: {
|
|
21
|
-
error: r,
|
|
22
|
-
isTouched: u
|
|
23
|
-
},
|
|
24
|
-
formState: {
|
|
25
|
-
isValid: f
|
|
26
|
-
}
|
|
27
|
-
}) => {
|
|
28
|
-
const m = (u || !f) && !i(r), g = e.value !== null ? typeof e.value == "string" ? P(e.value, s, /* @__PURE__ */ new Date()) : new Date(e.value) : null;
|
|
29
|
-
return /* @__PURE__ */ x(h, { children: [
|
|
30
|
-
/* @__PURE__ */ a(
|
|
31
|
-
C,
|
|
32
|
-
{
|
|
33
|
-
...e,
|
|
34
|
-
...d,
|
|
35
|
-
value: g,
|
|
36
|
-
onChange: (t) => {
|
|
37
|
-
if (t instanceof Date && !Number.isNaN(t.getTime())) {
|
|
38
|
-
const v = c === "string" ? T(t, s) : t;
|
|
39
|
-
e.onChange(v);
|
|
40
|
-
} else
|
|
41
|
-
e.onChange(null);
|
|
42
|
-
},
|
|
43
|
-
slotProps: {
|
|
44
|
-
...o,
|
|
45
|
-
popper: {
|
|
46
|
-
...o?.popper,
|
|
47
|
-
container: l
|
|
48
|
-
},
|
|
49
|
-
dialog: {
|
|
50
|
-
...o?.dialog,
|
|
51
|
-
container: l
|
|
52
|
-
},
|
|
53
|
-
textField: {
|
|
54
|
-
variant: "standard",
|
|
55
|
-
...o?.textField,
|
|
56
|
-
id: n,
|
|
57
|
-
error: m && !!r?.message,
|
|
58
|
-
helperText: m && r?.message
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
),
|
|
63
|
-
i(r) && /* @__PURE__ */ a(F, { severity: "error", icon: !1, sx: {
|
|
64
|
-
marginTop: -2
|
|
65
|
-
}, children: r?.message })
|
|
66
|
-
] });
|
|
67
|
-
} });
|
|
68
|
-
};
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as l } from "./index102.js";
|
|
3
|
+
import * as r from "@radix-ui/react-avatar";
|
|
4
|
+
function n({
|
|
5
|
+
className: t,
|
|
6
|
+
...a
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(r.Root, { "data-slot": "avatar", className: l("ttw:relative ttw:flex ttw:size-8 ttw:shrink-0 ttw:overflow-hidden ttw:rounded-full", t), ...a });
|
|
9
|
+
}
|
|
10
|
+
function f({
|
|
11
|
+
className: t,
|
|
12
|
+
...a
|
|
13
|
+
}) {
|
|
14
|
+
return /* @__PURE__ */ e(r.Fallback, { "data-slot": "avatar-fallback", className: l("ttw:bg-muted ttw:flex ttw:size-full ttw:items-center ttw:justify-center ttw:rounded-full", t), ...a });
|
|
15
|
+
}
|
|
69
16
|
export {
|
|
70
|
-
|
|
17
|
+
n as Avatar,
|
|
18
|
+
f as AvatarFallback
|
|
71
19
|
};
|
|
@@ -1,59 +1,85 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
SelectProps: s,
|
|
9
|
-
type: a,
|
|
10
|
-
...c
|
|
1
|
+
const i = ({
|
|
2
|
+
variant: t,
|
|
3
|
+
isError: e = !1,
|
|
4
|
+
componentType: s,
|
|
5
|
+
showAvatar: a = !1,
|
|
6
|
+
showUsersAsEmail: n = !1,
|
|
7
|
+
className: w = ""
|
|
11
8
|
}) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const o = f.target.value;
|
|
27
|
-
a === "number" ? e.onChange(o === "" ? void 0 : Number(o)) : e.onChange(o);
|
|
9
|
+
if (e) {
|
|
10
|
+
const r = `ttw:text-muted-foreground ${w}`;
|
|
11
|
+
return s === "user" && t !== "badge" ? {
|
|
12
|
+
useBadge: !1,
|
|
13
|
+
badgeVariant: "outline",
|
|
14
|
+
className: r,
|
|
15
|
+
showAvatar: !1,
|
|
16
|
+
showIcon: !1
|
|
17
|
+
} : {
|
|
18
|
+
useBadge: !0,
|
|
19
|
+
badgeVariant: "outline",
|
|
20
|
+
className: r,
|
|
21
|
+
showAvatar: !1,
|
|
22
|
+
showIcon: !1
|
|
28
23
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
T,
|
|
32
|
-
{
|
|
33
|
-
...e,
|
|
34
|
-
...c,
|
|
35
|
-
id: n,
|
|
36
|
-
variant: "standard",
|
|
37
|
-
type: a,
|
|
38
|
-
value: e.value ?? "",
|
|
39
|
-
onChange: g,
|
|
40
|
-
error: m && !!r?.message,
|
|
41
|
-
helperText: m && r?.message,
|
|
42
|
-
SelectProps: {
|
|
43
|
-
...s,
|
|
44
|
-
MenuProps: {
|
|
45
|
-
...s?.MenuProps,
|
|
46
|
-
container: p
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
),
|
|
51
|
-
i(r) && /* @__PURE__ */ t(y, { severity: "error", icon: !1, sx: {
|
|
52
|
-
marginTop: -2
|
|
53
|
-
}, children: r?.message })
|
|
54
|
-
] });
|
|
55
|
-
} });
|
|
24
|
+
}
|
|
25
|
+
return s === "user" ? o(t, a, n, w) : l(t, w);
|
|
56
26
|
};
|
|
27
|
+
function o(t, e, s, a) {
|
|
28
|
+
switch (t) {
|
|
29
|
+
case "badge":
|
|
30
|
+
return {
|
|
31
|
+
useBadge: !0,
|
|
32
|
+
badgeVariant: "secondary",
|
|
33
|
+
className: `ttw:gap-1 ttw:px-2 ttw:py-1 ${a}`,
|
|
34
|
+
showAvatar: e,
|
|
35
|
+
showIcon: !1
|
|
36
|
+
};
|
|
37
|
+
case "cell":
|
|
38
|
+
return {
|
|
39
|
+
useBadge: !1,
|
|
40
|
+
badgeVariant: "secondary",
|
|
41
|
+
className: `ttw:text-sm ttw:font-medium ttw:text-foreground ttw:overflow-hidden ttw:text-ellipsis ttw:whitespace-nowrap ttw:block ${s ? "ttw:text-blue-600" : ""} ${a}`,
|
|
42
|
+
showAvatar: !1,
|
|
43
|
+
showIcon: !1
|
|
44
|
+
};
|
|
45
|
+
default:
|
|
46
|
+
return {
|
|
47
|
+
useBadge: !1,
|
|
48
|
+
badgeVariant: "secondary",
|
|
49
|
+
className: `ttw:text-sm ttw:font-medium ttw:text-foreground ${a}`,
|
|
50
|
+
showAvatar: !1,
|
|
51
|
+
showIcon: !1
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function l(t, e) {
|
|
56
|
+
switch (t) {
|
|
57
|
+
case "filled":
|
|
58
|
+
return {
|
|
59
|
+
useBadge: !0,
|
|
60
|
+
badgeVariant: "secondary",
|
|
61
|
+
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:h-8 ttw:bg-gray-100 ttw:text-gray-800 ttw:text-sm ttw:leading-4 ttw:font-medium ttw:whitespace-nowrap ttw:border-0 ttw:rounded-lg ttw:px-4 ttw:py-1 ${e}`,
|
|
62
|
+
showAvatar: !1,
|
|
63
|
+
showIcon: !1
|
|
64
|
+
};
|
|
65
|
+
case "outlined":
|
|
66
|
+
return {
|
|
67
|
+
useBadge: !0,
|
|
68
|
+
badgeVariant: "outline",
|
|
69
|
+
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:text-sm ttw:font-medium ttw:whitespace-nowrap ttw:rounded ttw:px-2 ttw:py-1 ttw:gap-1 ${e}`,
|
|
70
|
+
showAvatar: !1,
|
|
71
|
+
showIcon: !0
|
|
72
|
+
};
|
|
73
|
+
default:
|
|
74
|
+
return {
|
|
75
|
+
useBadge: !0,
|
|
76
|
+
badgeVariant: "secondary",
|
|
77
|
+
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:h-8 ttw:bg-[rgb(248,248,255)] ttw:text-[rgb(55,55,255)] ttw:text-sm ttw:leading-4 ttw:font-medium ttw:whitespace-nowrap ttw:border-0 ttw:rounded-[7.98px] ttw:px-2 ttw:py-[7px] ttw:gap-2 ttw:transition-colors ${e}`,
|
|
78
|
+
showAvatar: !1,
|
|
79
|
+
showIcon: !0
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
57
83
|
export {
|
|
58
|
-
|
|
84
|
+
i as getVariantProps
|
|
59
85
|
};
|