@tesouro/embedded-components-react 0.2.61 → 0.2.65
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 +21 -21
- package/dist/libs/embedded-banking/shared/util/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +10 -13
- 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 +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +34 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1269 -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 +12 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +76 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +6 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +9 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +31 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +14 -6
- 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 +12 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +121 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +7 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +47 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +41 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +15 -12
- 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 +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +149 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +23 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +54 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +70 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +29 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +3 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +56 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +37 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +79 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +27 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +10 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +17 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +18 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +10 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +22 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +22 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +27 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +115 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +67 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +13 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +42 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +75 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +55 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +196 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +14 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +24 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +79 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +28 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +40 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +7 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +112 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +69 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +183 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +122 -10
- 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 +55 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +23 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +29 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +21 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +10 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +19 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +4 -394
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +88 -22
- 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 +4 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +45 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +389 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +20 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +20 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +89 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +94 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +57 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +26 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +86 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +96 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +7 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +32 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +59 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +397 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +68 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +407 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +100 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +24 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +5 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +211 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +10 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +4 -4
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +2 -2
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +73 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +44 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +21 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +56 -191
- 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 +29 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +56 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +19 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +89 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +95 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +190 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +20 -288
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +17 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +19 -15
- 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 +168 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +128 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +158 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +10 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +18 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +62 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +64 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +52 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +6 -265
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +9 -23
- 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 +60 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +20 -487
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +59 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +14 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +20 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +30 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +42 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +63 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +90 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +111 -76
- 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 +86 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +63 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +60 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +44 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +22 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +183 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +108 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +79 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +289 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +45 -155
- 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 +14 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +83 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +225 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +35 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +12 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +149 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +10 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +19 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +37 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +340 -15
- 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 +301 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +88 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +160 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +264 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +23 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +19 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +480 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +157 -151
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +47 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +49 -18
- 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 +109 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +156 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +28 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +78 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +17 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +40 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +14 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +80 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +76 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +42 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +25 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +127 -63
- 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 +62 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +22 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +31 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +7 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +53 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +18 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +32 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +4 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +125 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +32 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +21 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +47 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +11 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +53 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +36 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +23 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +64 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +18 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +20 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +14 -37
- 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 +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +17 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +8 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +11 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +66 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +75 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +68 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +35 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +12 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +28 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +24 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +39 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +96 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +36 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +33 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +31 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +31 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +85 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +23 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +104 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +112 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +5 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +120 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +18 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +16 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +70 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +16 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +69 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +47 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +25 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +12 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +48 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +57 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +29 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +52 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +40 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +46 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +43 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +35 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +13 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +74 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +84 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +53 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +51 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +52 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +29 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +54 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +67 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +21 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +92 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +14 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +74 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +20 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +9 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +15 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +79 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- 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/index87.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +21 -21
- package/package.json +1 -1
|
@@ -1,18 +1,71 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
1
|
+
import { jsx as t, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { getMeasureUnitValidationSchema as z } from "./index169.js";
|
|
3
|
+
import { Button as o } from "./index85.js";
|
|
4
|
+
import { Input as p } from "./index119.js";
|
|
5
|
+
import { TableRow as C, TableCell as M } from "./index277.js";
|
|
6
|
+
import { zodResolver as S } from "@hookform/resolvers/zod";
|
|
7
|
+
import { useLingui as U } from "@lingui/react";
|
|
8
|
+
import { Check as $, X as j } from "lucide-react";
|
|
9
|
+
import { useForm as k, Controller as f } from "react-hook-form";
|
|
10
|
+
import { useCreateMeasureUnit as E } from "./index438.js";
|
|
11
|
+
import { useUpdateMeasureUnit as V } from "./index439.js";
|
|
12
|
+
const P = {
|
|
13
|
+
name: "",
|
|
14
|
+
description: ""
|
|
15
|
+
}, D = ({
|
|
16
|
+
id: s,
|
|
17
|
+
isEditMode: n,
|
|
18
|
+
initialValues: h = P,
|
|
19
|
+
onCancel: g,
|
|
20
|
+
onEdit: v
|
|
21
|
+
}) => {
|
|
22
|
+
const {
|
|
23
|
+
i18n: m
|
|
24
|
+
} = U(), b = z(m), {
|
|
25
|
+
handleSubmit: l,
|
|
26
|
+
control: d,
|
|
27
|
+
reset: y,
|
|
28
|
+
setError: c
|
|
29
|
+
} = k({
|
|
30
|
+
defaultValues: h,
|
|
31
|
+
resolver: S(b)
|
|
32
|
+
}), w = E(() => y(), (e) => c("name", {
|
|
33
|
+
type: "custom",
|
|
34
|
+
message: e
|
|
35
|
+
})), i = V(s ?? "", () => v?.(), (e) => c("name", {
|
|
36
|
+
type: "custom",
|
|
37
|
+
message: e
|
|
38
|
+
})), x = (e) => {
|
|
39
|
+
if (!n || !s) {
|
|
40
|
+
console.error("handleEdit called without valid id or edit mode");
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
i.mutate(e);
|
|
44
|
+
}, N = (e) => {
|
|
45
|
+
w.mutate(e);
|
|
46
|
+
}, u = w.isPending || i.isPending;
|
|
47
|
+
return /* @__PURE__ */ t(C, { className: "ttw:border-border ttw:hover:bg-transparent", children: /* @__PURE__ */ t(M, { colSpan: 3, className: "ttw:w-full ttw:whitespace-normal", children: /* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-2 ttw:justify-between ttw:items-start", children: [
|
|
48
|
+
/* @__PURE__ */ t(f, { name: "name", control: d, render: ({
|
|
49
|
+
field: e,
|
|
50
|
+
fieldState: {
|
|
51
|
+
error: r
|
|
52
|
+
}
|
|
53
|
+
}) => /* @__PURE__ */ a("div", { className: "ttw:w-[35%]", children: [
|
|
54
|
+
/* @__PURE__ */ t(p, { ...e, disabled: u, "aria-invalid": !!r || void 0, className: "ttw:h-8" }),
|
|
55
|
+
r && /* @__PURE__ */ t("p", { className: "ttw:text-xs ttw:text-destructive ttw:mt-1", children: r.message })
|
|
56
|
+
] }) }),
|
|
57
|
+
/* @__PURE__ */ t(f, { name: "description", control: d, render: ({
|
|
58
|
+
field: e,
|
|
59
|
+
fieldState: {
|
|
60
|
+
error: r
|
|
61
|
+
}
|
|
62
|
+
}) => /* @__PURE__ */ t("div", { className: "ttw:w-[55%]", children: /* @__PURE__ */ t(p, { ...e, id: e.name, disabled: u, "aria-invalid": !!r || void 0, className: "ttw:h-8" }) }) }),
|
|
63
|
+
n ? /* @__PURE__ */ a("div", { className: "ttw:flex ttw:justify-center ttw:gap-1", children: [
|
|
64
|
+
/* @__PURE__ */ t(o, { variant: "outline", size: "icon", className: "ttw:size-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", disabled: i.isPending, onClick: l(x), children: /* @__PURE__ */ t($, { className: "ttw:size-4" }) }),
|
|
65
|
+
/* @__PURE__ */ t(o, { variant: "outline", size: "icon", className: "ttw:size-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", onClick: g, children: /* @__PURE__ */ t(j, { className: "ttw:size-4" }) })
|
|
66
|
+
] }) : /* @__PURE__ */ t(o, { variant: "outline", size: "sm", className: "ttw:h-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", onClick: l(N), children: m._("Add") })
|
|
67
|
+
] }) }) });
|
|
68
|
+
};
|
|
16
69
|
export {
|
|
17
|
-
|
|
70
|
+
D as MeasureUnitsFormRow
|
|
18
71
|
};
|
|
@@ -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 "./index59.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "./index93.js";
|
|
5
|
+
import { useLingui as x } from "@lingui/react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import "./index58.js";
|
|
8
|
+
import "@mui/x-data-grid";
|
|
9
|
+
import { ConfirmationModal as y } from "./index269.js";
|
|
10
|
+
import { Table as C, TableBody as _, TableRow as D, TableCell as l } from "./index277.js";
|
|
11
|
+
import { Typography as r } from "./index86.js";
|
|
12
|
+
import { Loader2 as L } from "lucide-react";
|
|
13
|
+
import { useGetProducts as T } from "./index166.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,75 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
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 "./index134.js";
|
|
3
|
+
import { Button as c } from "./index85.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
|
|
5
10
|
}) => {
|
|
6
11
|
const {
|
|
7
|
-
i18n:
|
|
8
|
-
} =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
const {
|
|
23
|
-
run_concurrently: E,
|
|
24
|
-
all: c
|
|
25
|
-
} = a;
|
|
26
|
-
return typeof E != "boolean" || !Array.isArray(c) || !Array.isArray(l) || !Array.isArray(R) ? !1 : c.every((y) => s(y) || i(y));
|
|
27
|
-
}, u = (r) => r.call === n.REQUEST_APPROVAL_BY_USERS && Array.isArray(r.params.user_ids) && r.params.user_ids.length === 1 && r.params.required_approval_count === 1, A = (r) => r.call === n.REQUEST_APPROVAL_BY_USERS && Array.isArray(r.params.user_ids) && r.params.user_ids.length > 1 && r.params.required_approval_count > 0, d = (r) => r.call === n.REQUEST_APPROVAL_BY_ROLES && Array.isArray(r.params.role_ids) && r.params.role_ids.length >= 1 && r.params.required_approval_count > 0, m = (r) => !r.run_concurrently && r.all.length > 1 && r.all.every((e) => s(e) && u(e)), _ = (r) => L(r, o), p = (r, e) => g(r, o, e);
|
|
28
|
-
return f(t?.script) ? {
|
|
29
|
-
rules: t?.script[0].if.all.reduce((r, e) => {
|
|
30
|
-
if (i(e)) {
|
|
31
|
-
if (m(e))
|
|
32
|
-
return {
|
|
33
|
-
...r,
|
|
34
|
-
approval_chain: {
|
|
35
|
-
chainUserIds: e.all.reduce((a, l) => s(l) && u(l) && l.params.user_ids[0] && l.params.user_ids[0] ? [...a, l.params.user_ids[0]] : a, [])
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
} else if (s(e)) {
|
|
39
|
-
if (u(e))
|
|
40
|
-
return {
|
|
41
|
-
...r,
|
|
42
|
-
single_user: {
|
|
43
|
-
userId: e.params.user_ids[0]
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
if (A(e))
|
|
47
|
-
return {
|
|
48
|
-
...r,
|
|
49
|
-
users_from_list: {
|
|
50
|
-
userIds: e.params.user_ids,
|
|
51
|
-
count: e.params.required_approval_count
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
if (d(e))
|
|
55
|
-
return {
|
|
56
|
-
...r,
|
|
57
|
-
roles_from_list: {
|
|
58
|
-
roleIds: e.params.role_ids,
|
|
59
|
-
count: e.params.required_approval_count
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
return r;
|
|
64
|
-
}, {}),
|
|
65
|
-
getRuleName: _,
|
|
66
|
-
getRuleLabel: p
|
|
67
|
-
} : {
|
|
68
|
-
rules: void 0,
|
|
69
|
-
getRuleName: _,
|
|
70
|
-
getRuleLabel: p
|
|
71
|
-
};
|
|
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;
|
|
72
27
|
};
|
|
73
28
|
export {
|
|
74
|
-
|
|
29
|
+
A as TableActions
|
|
75
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 "./index58.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,18 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { useMoniteContext as u } from "./index58.js";
|
|
2
|
+
import { getAPIErrorMessage as m } from "./index123.js";
|
|
3
|
+
import { useLingui as c } from "@lingui/react";
|
|
4
|
+
import { toast as n } from "react-hot-toast";
|
|
5
|
+
const M = (a, i) => {
|
|
6
|
+
const {
|
|
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?.();
|
|
17
|
+
},
|
|
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);
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
};
|
|
16
28
|
export {
|
|
17
|
-
|
|
29
|
+
M as useCreateMeasureUnit
|
|
18
30
|
};
|
|
@@ -1,18 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
1
|
+
import { useMoniteContext as p } from "./index58.js";
|
|
2
|
+
import { getAPIErrorMessage as m } from "./index123.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
|
+
};
|
|
16
38
|
export {
|
|
17
|
-
|
|
39
|
+
g as useUpdateMeasureUnit
|
|
18
40
|
};
|
|
@@ -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 "./index161.js";
|
|
4
|
+
import { ProductType as q } from "./index162.js";
|
|
5
|
+
import { Filters as H } from "./index163.js";
|
|
6
6
|
import { useMoniteContext as Y } from "./index58.js";
|
|
7
7
|
import { MoniteScopedProviders as J } from "./index84.js";
|
|
8
8
|
import { useCurrencies as Q } from "./index59.js";
|
|
@@ -10,27 +10,27 @@ import "./index93.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 "./index142.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 "./index152.js";
|
|
21
21
|
import { Button as f } from "./index85.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 "./index159.js";
|
|
27
|
+
import { GetNoRowsOverlay as ae } from "./index158.js";
|
|
28
|
+
import { MeasureUnit as se } from "./index164.js";
|
|
29
|
+
import { hasSelectedText as ne } from "./index160.js";
|
|
30
|
+
import { FILTER_TYPE_SEARCH as S } from "./index165.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 "./index166.js";
|
|
33
|
+
import { ManageMeasureUnits as ce } from "./index167.js";
|
|
34
34
|
const Ge = (d) => /* @__PURE__ */ t(J, { children: /* @__PURE__ */ t(de, { ...d }) }), de = ({
|
|
35
35
|
onFilterChanged: d,
|
|
36
36
|
onSortChanged: g,
|
|
@@ -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,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { toast as o } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as r } from "./index58.js";
|
|
3
|
+
import { useLingui as t } from "@lingui/react";
|
|
4
|
+
const c = () => {
|
|
3
5
|
const {
|
|
4
|
-
api:
|
|
5
|
-
} =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
api: n
|
|
7
|
+
} = r(), {
|
|
8
|
+
i18n: e
|
|
9
|
+
} = t();
|
|
10
|
+
return n.finops.postFinancingTokens.useMutation({}, {
|
|
11
|
+
onError: () => {
|
|
12
|
+
o.error(e._("The financing service is currently unavailable. Please reload the page or try again later."));
|
|
9
13
|
}
|
|
10
|
-
}, {
|
|
11
|
-
enabled: !!e
|
|
12
|
-
});
|
|
13
|
-
}, y = () => {
|
|
14
|
-
const {
|
|
15
|
-
api: e
|
|
16
|
-
} = n(), t = e.finops.postPaymentLinks.useMutation({});
|
|
17
|
-
return async (a, s, i, o) => t.mutateAsync({
|
|
18
|
-
recipient: {
|
|
19
|
-
id: s,
|
|
20
|
-
type: "counterpart"
|
|
21
|
-
},
|
|
22
|
-
object: {
|
|
23
|
-
id: a,
|
|
24
|
-
type: "payable"
|
|
25
|
-
},
|
|
26
|
-
payment_methods: i,
|
|
27
|
-
expires_at: new Date(
|
|
28
|
-
Date.now() + o * 24 * 3600 * 1e3
|
|
29
|
-
// x days from now
|
|
30
|
-
).toISOString()
|
|
31
14
|
});
|
|
32
15
|
};
|
|
33
16
|
export {
|
|
34
|
-
|
|
35
|
-
r as usePaymentLinkById
|
|
17
|
+
c as useGetFinancingConnectToken
|
|
36
18
|
};
|
|
@@ -1,55 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const j = ({
|
|
8
|
-
roleId: s,
|
|
9
|
-
variant: a = "default",
|
|
10
|
-
quoted: l = !1,
|
|
11
|
-
roleData: e
|
|
12
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as s } from "./index58.js";
|
|
2
|
+
import { useCounterpartsBankAccountsList as o } from "./index147.js";
|
|
3
|
+
function p({
|
|
4
|
+
currentCounterpartId: e,
|
|
5
|
+
payableId: t
|
|
6
|
+
}) {
|
|
13
7
|
const {
|
|
14
|
-
api:
|
|
15
|
-
} =
|
|
16
|
-
data: c,
|
|
17
|
-
isLoading: d,
|
|
18
|
-
isError: f
|
|
19
|
-
} = m.finops.getRolesId.useQuery({
|
|
8
|
+
api: a
|
|
9
|
+
} = s(), n = o(e), r = a.finops.getPayablesIdLineItems.useQuery({
|
|
20
10
|
path: {
|
|
21
|
-
|
|
11
|
+
payable_id: t
|
|
22
12
|
}
|
|
23
|
-
}, {
|
|
24
|
-
enabled: !e
|
|
25
|
-
}), t = e ?? c, r = !e && d;
|
|
26
|
-
if (!t && !r && f && s) {
|
|
27
|
-
const {
|
|
28
|
-
badgeVariant: u,
|
|
29
|
-
className: g
|
|
30
|
-
} = i({
|
|
31
|
-
variant: a,
|
|
32
|
-
isError: !0,
|
|
33
|
-
componentType: "role"
|
|
34
|
-
});
|
|
35
|
-
return /* @__PURE__ */ o(n, { variant: u, className: g, children: "N/A" });
|
|
36
|
-
}
|
|
37
|
-
if (!t && !r || !t)
|
|
38
|
-
return null;
|
|
39
|
-
const {
|
|
40
|
-
badgeVariant: p,
|
|
41
|
-
className: w,
|
|
42
|
-
showIcon: h
|
|
43
|
-
} = i({
|
|
44
|
-
variant: a,
|
|
45
|
-
isError: !1,
|
|
46
|
-
componentType: "role"
|
|
47
13
|
});
|
|
48
|
-
return
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
14
|
+
return {
|
|
15
|
+
counterpartBankAccountQuery: n,
|
|
16
|
+
lineItemsQuery: r
|
|
17
|
+
};
|
|
18
|
+
}
|
|
53
19
|
export {
|
|
54
|
-
|
|
20
|
+
p as usePayableDetailsInfo
|
|
55
21
|
};
|