@tesouro/embedded-components-react 0.2.221 → 0.2.222
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 +26 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +26 -26
- 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/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.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 +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/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +2 -23
- 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 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +4 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +25 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +1270 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +33 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +8 -1270
- 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 +8 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +25 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +79 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +9 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +32 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +31 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +12 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +12 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +24 -16
- 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 +14 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +8 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +119 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +218 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +11 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +10 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +49 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +49 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +14 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +42 -28
- 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 +15 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +148 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +55 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +71 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +24 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +3 -218
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +62 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +81 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +5 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +96 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +57 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +27 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +13 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +15 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +20 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +2 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +10 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +22 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +20 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +27 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +111 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +70 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +14 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +12 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +9 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +42 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +76 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +54 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +14 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +25 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +76 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +29 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +41 -227
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +7 -470
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +227 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +446 -515
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +107 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +535 -23
- 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 +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +24 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +94 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +101 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +12 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +2 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +58 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +397 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +68 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +407 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +100 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +24 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +5 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +211 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +10 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +14 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +77 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +76 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +44 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +72 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +488 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +162 -140
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +146 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +85 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +25 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +183 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +19 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +37 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +30 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +42 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +62 -360
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +112 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +88 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +39 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +59 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +30 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +118 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +22 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +41 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +52 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +18 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +38 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +38 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +344 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +301 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +100 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +162 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +257 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +25 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +20 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +22 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +53 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +27 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +56 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +20 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +2 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +93 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +93 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +210 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +51 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +62 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +44 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +10 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +36 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +81 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +34 -347
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +66 -303
- 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 +358 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +2 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +117 -267
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +6 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +14 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +12 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +13 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +20 -212
- 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 +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +55 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +26 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +33 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +35 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +14 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +28 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +108 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +11 -67
- 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 +18 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +24 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +38 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +51 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +49 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +29 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +98 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +46 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +144 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +108 -27
- 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 +50 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +29 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +75 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +32 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +18 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +149 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +19 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +6 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +20 -86
- 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 +18 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +17 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +167 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +127 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +154 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +10 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +18 -204
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +62 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +68 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +60 -19
- 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 +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +11 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +62 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +24 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +63 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +14 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +65 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +15 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +157 -29
- 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 +28 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +29 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +78 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +27 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +125 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +25 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +122 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +45 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +116 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +106 -29
- 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 +43 -484
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +195 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +68 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +31 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +4 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +19 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +37 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +28 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +31 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +30 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +13 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +34 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +53 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +34 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +24 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +122 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +18 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +16 -50
- 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 +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +16 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +16 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +72 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +16 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +3 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +11 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +92 -33
- 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 +37 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +34 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +7 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +51 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +16 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +31 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +4 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +127 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +21 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +12 -7
- 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 +45 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +48 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +16 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +63 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +19 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +18 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +14 -267
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +19 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +25 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +25 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +45 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +30 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +11 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +65 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +20 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +115 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +80 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +11 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +8 -282
- 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 +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +32 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +35 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +42 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +69 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +93 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +10 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +66 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +44 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +26 -20
- 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 +16 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +6 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +5 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +85 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +17 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +86 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +269 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +60 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +44 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +142 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +96 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +282 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +46 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +15 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +12 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +21 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +48 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +27 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +38 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +80 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +96 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +15 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +75 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +21 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +9 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +54 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +71 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +21 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +51 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +40 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +44 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +32 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +74 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +83 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +51 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +52 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +53 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +29 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +56 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +38 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +40 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +34 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +13 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +50 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +8 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +51 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +58 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +29 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +32 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +67 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +41 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +23 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +19 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +37 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +13 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +31 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +85 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +24 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +104 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +105 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +72 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +64 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +37 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +19 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +1 -1
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.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/index78.js +1 -1
- 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/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +25 -25
- 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 +26 -26
- package/package.json +1 -1
|
@@ -1,23 +1,18 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
|
|
3
|
-
import { useLingui as a } from "@lingui/react";
|
|
4
|
-
import { toast as o } from "react-hot-toast";
|
|
5
|
-
const c = () => {
|
|
1
|
+
import { useMoniteContext as e } from "./index57.js";
|
|
2
|
+
const a = () => {
|
|
6
3
|
const {
|
|
7
|
-
api:
|
|
8
|
-
queryClient:
|
|
9
|
-
} =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
onError: (t) => {
|
|
17
|
-
o.error(i(r, t));
|
|
4
|
+
api: t,
|
|
5
|
+
queryClient: i
|
|
6
|
+
} = e();
|
|
7
|
+
return t.finops.putEntitiesIdLogo.useMutation(void 0, {
|
|
8
|
+
onSuccess: async (s) => {
|
|
9
|
+
t.finops.getEntityUsersMyEntity.setQueryData({}, (o) => o && {
|
|
10
|
+
...o,
|
|
11
|
+
logo: s
|
|
12
|
+
}, i), await t.finops.getEntityUsersMyEntity.invalidateQueries(i);
|
|
18
13
|
}
|
|
19
14
|
});
|
|
20
15
|
};
|
|
21
16
|
export {
|
|
22
|
-
|
|
17
|
+
a as useUploadEntityLogo
|
|
23
18
|
};
|
|
@@ -1,18 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { toast as o } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as n } from "./index57.js";
|
|
3
|
+
import { useLingui as r } from "@lingui/react";
|
|
4
|
+
const p = (i) => {
|
|
3
5
|
const {
|
|
4
|
-
api:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
api: t,
|
|
7
|
+
queryClient: s
|
|
8
|
+
} = n(), {
|
|
9
|
+
i18n: e
|
|
10
|
+
} = r();
|
|
11
|
+
return t.finops.deleteEntitiesIdLogo.useMutation({
|
|
12
|
+
path: {
|
|
13
|
+
entity_id: i
|
|
14
|
+
}
|
|
15
|
+
}, {
|
|
16
|
+
onSuccess: async () => {
|
|
17
|
+
await t.finops.getEntityUsersMyEntity.invalidateQueries(s), o.success(e._("Logo was removed."));
|
|
18
|
+
},
|
|
19
|
+
onError: () => {
|
|
20
|
+
o.error(e._("Failed to remove logo."));
|
|
21
|
+
}
|
|
14
22
|
});
|
|
15
23
|
};
|
|
16
24
|
export {
|
|
17
|
-
|
|
25
|
+
p as useDeleteEntityLogo
|
|
18
26
|
};
|
|
@@ -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 "./index163.js";
|
|
4
|
+
import { ProductType as q } from "./index164.js";
|
|
5
|
+
import { Filters as H } from "./index165.js";
|
|
6
6
|
import { useMoniteContext as Y } from "./index57.js";
|
|
7
7
|
import { MoniteScopedProviders as J } from "./index83.js";
|
|
8
8
|
import { useCurrencies as Q } from "./index58.js";
|
|
@@ -10,27 +10,27 @@ import "./index92.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 "./index130.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 "./index131.js";
|
|
21
21
|
import { Button as f } from "./index84.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 "./index166.js";
|
|
29
|
+
import { hasSelectedText as ne } from "./index160.js";
|
|
30
|
+
import { FILTER_TYPE_SEARCH as S } from "./index167.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 "./index168.js";
|
|
33
|
+
import { ManageMeasureUnits as ce } from "./index169.js";
|
|
34
34
|
const Ge = (d) => /* @__PURE__ */ t(J, { children: /* @__PURE__ */ t(de, { ...d }) }), de = ({
|
|
35
35
|
onFilterChanged: d,
|
|
36
36
|
onSortChanged: g,
|
|
@@ -1,23 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { useLingui as
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { jsx as t, jsxs as e, Fragment as c } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useEffect as f } from "react";
|
|
3
|
+
import { useLingui as h } from "@lingui/react";
|
|
4
|
+
import { X as g, CloudUpload as x, AlertCircle as N, CheckCircle2 as b } from "lucide-react";
|
|
5
|
+
import { LoadingSpinner as y } from "./index133.js";
|
|
6
|
+
import { Typography as l } from "./index85.js";
|
|
7
|
+
import { twMerge as v } from "tailwind-merge";
|
|
8
|
+
import { UploadBar as C } from "./index481.js";
|
|
9
|
+
const U = ({
|
|
10
|
+
isUploading: o,
|
|
11
|
+
isSuccess: r,
|
|
12
|
+
isError: i,
|
|
13
|
+
isDraggingOver: d,
|
|
14
|
+
resetUpload: a,
|
|
15
|
+
fileName: m,
|
|
16
|
+
onClick: u
|
|
17
|
+
}) => {
|
|
6
18
|
const {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
return
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
i18n: s
|
|
20
|
+
} = h(), w = o || r || i;
|
|
21
|
+
function p() {
|
|
22
|
+
return i ? /* @__PURE__ */ t(N, { className: "ttw:size-5 ttw:text-danger" }) : r ? /* @__PURE__ */ t(b, { className: "ttw:size-5 ttw:text-success" }) : /* @__PURE__ */ t(y, { className: "ttw:w-5 ttw:h-5" });
|
|
23
|
+
}
|
|
24
|
+
return f(() => {
|
|
25
|
+
let n;
|
|
26
|
+
return r && (n = setTimeout(() => a(), 2e3)), () => clearTimeout(n);
|
|
27
|
+
}, [r, a]), /* @__PURE__ */ t("div", { className: v("ttw:w-full ttw:h-38 ttw:bg-white ttw:box-border ttw:transition-all ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:text-center ttw:gap-2 ttw:rounded-lg ttw:border ttw:px-4 ttw:py-6", d ? "ttw:border-solid ttw:border-primary" : "ttw:border-dashed ttw:border-border"), onClick: () => {
|
|
28
|
+
w || u();
|
|
29
|
+
}, children: w ? /* @__PURE__ */ e(c, { children: [
|
|
30
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-4 ttw:justify-center ttw:w-full", children: [
|
|
31
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-2 ttw:w-1/2 ttw:items-center", children: [
|
|
32
|
+
p(),
|
|
33
|
+
/* @__PURE__ */ t("span", { className: "ttw:w-full ttw:text-sm ttw:leading-5 ttw:text-medium ttw:text-neutral ttw:truncate", children: m })
|
|
34
|
+
] }),
|
|
35
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-2 ttw:items-center", children: [
|
|
36
|
+
/* @__PURE__ */ t(C, { shouldStartProgress: o, isError: i, isSuccess: r }),
|
|
37
|
+
i && /* @__PURE__ */ t("button", { type: "button", disabled: o, onClick: a, className: "ttw:border-none ttw:cursor-pointer", children: /* @__PURE__ */ t(g, { className: "ttw:size-4" }) })
|
|
38
|
+
] })
|
|
39
|
+
] }),
|
|
40
|
+
i && /* @__PURE__ */ t(l, { variant: "body2", color: "destructive", className: "ttw:font-medium", children: s._("Wrong file format. Please, upload the file in JPEG, PNG or GIF format.") })
|
|
41
|
+
] }) : /* @__PURE__ */ e(c, { children: [
|
|
42
|
+
/* @__PURE__ */ t("div", { className: "ttw:p-3 ttw:bg-primary ttw:rounded-full", children: /* @__PURE__ */ t(x, { className: "ttw:text-white ttw:size-5" }) }),
|
|
43
|
+
/* @__PURE__ */ e(l, { variant: "body2", className: "ttw:font-medium", children: [
|
|
44
|
+
s._("Drop your files here, or "),
|
|
45
|
+
/* @__PURE__ */ t("span", { className: "ttw:text-primary ttw:underline ttw:hover:cursor-pointer", children: s._("click to browse") })
|
|
46
|
+
] }),
|
|
47
|
+
/* @__PURE__ */ t(l, { variant: "caption", color: "muted", children: s._("PNG, JPG or GIF (max. 10MB)") })
|
|
48
|
+
] }) });
|
|
20
49
|
};
|
|
21
50
|
export {
|
|
22
|
-
|
|
51
|
+
U as DragAndDropBox
|
|
23
52
|
};
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
enabled: !!e
|
|
12
|
-
});
|
|
13
|
-
};
|
|
1
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Switch as a } from "radix-ui";
|
|
3
|
+
import { cn as e } from "./index100.js";
|
|
4
|
+
function o({
|
|
5
|
+
className: s,
|
|
6
|
+
size: r = "default",
|
|
7
|
+
...i
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ t(a.Root, { "data-slot": "switch", "data-size": r, className: e("ttw:peer ttw:group/switch ttw:inline-flex ttw:shrink-0 ttw:items-center ttw:rounded-full ttw:border ttw:border-transparent ttw:shadow-xs ttw:transition-all ttw:outline-none ttw:focus-visible:border-ring ttw:focus-visible:ring-[3px] ttw:focus-visible:ring-ring/50 ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:data-[size=default]:h-[1.15rem] ttw:data-[size=default]:w-8 ttw:data-[size=sm]:h-3.5 ttw:data-[size=sm]:w-6 ttw:data-[state=checked]:bg-primary ttw:data-[state=unchecked]:bg-input ttw:dark:data-[state=unchecked]:bg-input/80", s), ...i, children: /* @__PURE__ */ t(a.Thumb, { "data-slot": "switch-thumb", className: e("ttw:pointer-events-none ttw:block ttw:rounded-full ttw:bg-background ttw:ring-0 ttw:transition-transform ttw:group-data-[size=default]/switch:size-4 ttw:group-data-[size=sm]/switch:size-3 ttw:data-[state=checked]:translate-x-[calc(100%-2px)] ttw:data-[state=unchecked]:translate-x-0 ttw:dark:data-[state=checked]:bg-primary-foreground ttw:dark:data-[state=unchecked]:bg-foreground") }) });
|
|
10
|
+
}
|
|
14
11
|
export {
|
|
15
|
-
|
|
12
|
+
o as Switch
|
|
16
13
|
};
|
|
@@ -1,69 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}, 0), r = p ?? c.find((t) => !!t.product?.price?.currency)?.product?.price?.currency ?? c.find((t) => !!t.price?.currency)?.price?.currency;
|
|
28
|
-
if (r)
|
|
29
|
-
return new v({
|
|
30
|
-
value: a,
|
|
31
|
-
currency: r,
|
|
32
|
-
formatter: i
|
|
33
|
-
});
|
|
34
|
-
}, [c, i, p, o, n]), y = m(() => {
|
|
35
|
-
const e = p ?? c.find((r) => !!r.product?.price?.currency)?.product?.price?.currency ?? c.find((r) => !!r.price?.currency)?.price?.currency;
|
|
36
|
-
if (!e)
|
|
37
|
-
return;
|
|
38
|
-
if (!n)
|
|
39
|
-
return new v({
|
|
40
|
-
value: 0,
|
|
41
|
-
currency: e,
|
|
42
|
-
formatter: i
|
|
43
|
-
});
|
|
44
|
-
const a = c.reduce((r, t) => {
|
|
45
|
-
if (!t.taxable) return r;
|
|
46
|
-
const {
|
|
47
|
-
price: f,
|
|
48
|
-
quantity: l
|
|
49
|
-
} = b(t), u = n / 100, d = f * l;
|
|
50
|
-
return o ? r + d * u / (1 + u) : r + d * u;
|
|
51
|
-
}, 0);
|
|
52
|
-
return new v({
|
|
53
|
-
value: a,
|
|
54
|
-
currency: e,
|
|
55
|
-
formatter: i
|
|
56
|
-
});
|
|
57
|
-
}, [c, i, p, n, o]), x = m(() => {
|
|
58
|
-
if (!(!s || !y))
|
|
59
|
-
return s.add(y);
|
|
60
|
-
}, [s, y]);
|
|
61
|
-
return {
|
|
62
|
-
subtotalPrice: s,
|
|
63
|
-
totalTaxes: y,
|
|
64
|
-
totalPrice: x
|
|
65
|
-
};
|
|
1
|
+
import { useMoniteContext as u } from "./index57.js";
|
|
2
|
+
import { getAPIErrorMessage as m } from "./index119.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
|
+
});
|
|
66
27
|
};
|
|
67
28
|
export {
|
|
68
|
-
|
|
29
|
+
M as useCreateMeasureUnit
|
|
69
30
|
};
|
|
@@ -1,23 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { useMoniteContext as p } from "./index57.js";
|
|
2
|
+
import { getAPIErrorMessage as m } from "./index119.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
|
+
};
|
|
21
38
|
export {
|
|
22
|
-
|
|
39
|
+
g as useUpdateMeasureUnit
|
|
23
40
|
};
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
const
|
|
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
|
+
};
|
|
2
10
|
export {
|
|
3
|
-
|
|
11
|
+
s as getInvoiceOverdueDays
|
|
4
12
|
};
|
|
@@ -1,22 +1,85 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
const i = ({
|
|
2
|
+
variant: t,
|
|
3
|
+
isError: e = !1,
|
|
4
|
+
componentType: s,
|
|
5
|
+
showAvatar: a = !1,
|
|
6
|
+
showUsersAsEmail: n = !1,
|
|
7
|
+
className: w = ""
|
|
7
8
|
}) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
|
15
23
|
};
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
} }) });
|
|
24
|
+
}
|
|
25
|
+
return s === "user" ? o(t, a, n, w) : l(t, w);
|
|
19
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
|
+
}
|
|
20
83
|
export {
|
|
21
|
-
|
|
84
|
+
i as getVariantProps
|
|
22
85
|
};
|
|
@@ -1,31 +1,98 @@
|
|
|
1
|
-
import { jsxs as
|
|
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 { jsxs as l, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFormContext as T, useFieldArray as P, Controller as m } from "react-hook-form";
|
|
3
|
+
import { calculateTotalPriceForLineItem as v } from "./index329.js";
|
|
4
|
+
import { GLCodeSelector as W } from "./index484.js";
|
|
5
|
+
import { useCurrencies as F } from "./index58.js";
|
|
6
|
+
import { useLingui as _ } from "@lingui/react";
|
|
7
|
+
import S from "@mui/icons-material/Add";
|
|
8
|
+
import L from "@mui/icons-material/DeleteForever";
|
|
9
|
+
import { Grid as r, TextField as d, IconButton as $, Typography as j, Button as w } from "@mui/material";
|
|
10
|
+
const Q = ({
|
|
11
|
+
enableGLCodes: f
|
|
12
|
+
}) => {
|
|
13
|
+
const {
|
|
14
|
+
i18n: o
|
|
15
|
+
} = _(), {
|
|
16
|
+
getSymbolFromCurrency: x,
|
|
17
|
+
formatCurrencyToDisplay: h,
|
|
18
|
+
formatToMinorUnits: g
|
|
19
|
+
} = F(), {
|
|
20
|
+
control: a,
|
|
21
|
+
watch: s
|
|
22
|
+
} = T(), {
|
|
23
|
+
fields: c,
|
|
24
|
+
append: y,
|
|
25
|
+
remove: I
|
|
26
|
+
} = P({
|
|
27
|
+
control: a,
|
|
28
|
+
name: "lineItems"
|
|
29
|
+
}), u = s("currency"), p = s("lineItems");
|
|
30
|
+
return /* @__PURE__ */ l(r, { container: !0, direction: "column", spacing: 4, children: [
|
|
31
|
+
c.map((b, i) => /* @__PURE__ */ l(r, { item: !0, container: !0, gap: 2, className: "Monite-PayableDetailsForm-Item", children: [
|
|
32
|
+
/* @__PURE__ */ l(r, { item: !0, xs: 12, gap: 2, container: !0, flexWrap: "nowrap", children: [
|
|
33
|
+
/* @__PURE__ */ e(r, { item: !0, xs: 8, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.name`, control: a, render: ({
|
|
34
|
+
field: t,
|
|
35
|
+
fieldState: {
|
|
36
|
+
error: n
|
|
37
|
+
}
|
|
38
|
+
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Name"), variant: "standard", error: !!n, helperText: n?.message, fullWidth: !0 }) }) }),
|
|
39
|
+
/* @__PURE__ */ e(r, { item: !0, xs: 3, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.quantity`, control: a, render: ({
|
|
40
|
+
field: t,
|
|
41
|
+
fieldState: {
|
|
42
|
+
error: n
|
|
43
|
+
}
|
|
44
|
+
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Quantity"), variant: "standard", type: "number", inputProps: {
|
|
45
|
+
min: 1
|
|
46
|
+
}, error: !!n, helperText: n?.message, fullWidth: !0 }) }) }),
|
|
47
|
+
/* @__PURE__ */ e(r, { item: !0, xs: 1, container: !0, sx: {
|
|
48
|
+
justifyContent: "flex-end",
|
|
49
|
+
alignItems: "center"
|
|
50
|
+
}, children: /* @__PURE__ */ e($, { "aria-label": "delete", onClick: () => I(i), disabled: c.length === 1, children: /* @__PURE__ */ e(L, {}) }) })
|
|
51
|
+
] }),
|
|
52
|
+
f && /* @__PURE__ */ l(r, { item: !0, xs: 12, gap: 2, container: !0, flexWrap: "nowrap", children: [
|
|
53
|
+
/* @__PURE__ */ e(r, { item: !0, xs: 11, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.ledger_account_id`, control: a, render: ({
|
|
54
|
+
field: t,
|
|
55
|
+
fieldState: {
|
|
56
|
+
error: n
|
|
57
|
+
}
|
|
58
|
+
}) => /* @__PURE__ */ e(W, { value: t.value ?? void 0, onChange: (C) => t.onChange(C ?? void 0), error: !!n, helperText: n?.message }) }) }),
|
|
59
|
+
/* @__PURE__ */ e(r, { item: !0, xs: 1 })
|
|
60
|
+
] }),
|
|
61
|
+
/* @__PURE__ */ l(r, { item: !0, xs: 12, gap: 2, container: !0, flexWrap: "nowrap", justifyContent: "flex-end", children: [
|
|
62
|
+
/* @__PURE__ */ e(r, { item: !0, xs: 8, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.price`, control: a, render: ({
|
|
63
|
+
field: t,
|
|
64
|
+
fieldState: {
|
|
65
|
+
error: n
|
|
66
|
+
}
|
|
67
|
+
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Price"), variant: "standard", type: "number", inputProps: {
|
|
68
|
+
min: 0
|
|
69
|
+
}, error: !!n, helperText: n?.message, fullWidth: !0, InputProps: {
|
|
70
|
+
endAdornment: x(s("currency"))
|
|
71
|
+
} }) }) }),
|
|
72
|
+
/* @__PURE__ */ e(r, { item: !0, xs: 3, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.tax`, control: a, render: ({
|
|
73
|
+
field: t,
|
|
74
|
+
fieldState: {
|
|
75
|
+
error: n
|
|
76
|
+
}
|
|
77
|
+
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Tax"), variant: "standard", type: "number", inputProps: {
|
|
78
|
+
min: 0,
|
|
79
|
+
max: 100
|
|
80
|
+
}, error: !!n, helperText: n?.message, fullWidth: !0, InputProps: {
|
|
81
|
+
endAdornment: "%"
|
|
82
|
+
} }) }) }),
|
|
83
|
+
/* @__PURE__ */ e(r, { item: !0, xs: 1 })
|
|
84
|
+
] }),
|
|
85
|
+
p?.[i] && u && /* @__PURE__ */ e(r, { item: !0, xs: 12, gap: 2, className: "Monite-PayableDetailsForm-Item-Total", children: /* @__PURE__ */ e(j, { fontWeight: "bold", align: "right", children: h(g(v(p?.[i]), u) || 0, u) }) })
|
|
86
|
+
] }, b.id)),
|
|
87
|
+
/* @__PURE__ */ e(r, { item: !0, xs: 12, gap: 2, children: /* @__PURE__ */ e(w, { variant: "text", startIcon: /* @__PURE__ */ e(S, {}), onClick: () => y({
|
|
88
|
+
id: "",
|
|
89
|
+
name: "",
|
|
90
|
+
quantity: 1,
|
|
91
|
+
price: 0,
|
|
92
|
+
tax: 19
|
|
93
|
+
}), children: o._("Add item") }) })
|
|
94
|
+
] });
|
|
95
|
+
};
|
|
27
96
|
export {
|
|
28
|
-
|
|
29
|
-
u as MoniteCardItem,
|
|
30
|
-
b as StyledLabelTableCell
|
|
97
|
+
Q as PayableLineItemsForm
|
|
31
98
|
};
|