@tesouro/embedded-components-react 0.2.5 → 0.2.6
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 +25 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +25 -25
- 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 +25 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/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 +2 -2
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +22 -12
- 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 +23 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -9
- 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 +32 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +97 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +8 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +57 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +26 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +26 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +19 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +76 -93
- 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 +39 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +19 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +10 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +18 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +76 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +6 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +22 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +113 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +68 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +33 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +15 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +11 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +39 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +75 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +58 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +196 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +14 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +64 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +76 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +28 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +41 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +7 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +253 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +181 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +109 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +85 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +101 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +109 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +53 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +62 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +75 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +48 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +24 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +54 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +148 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +72 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +70 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +234 -195
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +124 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +32 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +53 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +33 -28
- 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 +26 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +67 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +24 -251
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +18 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +12 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +10 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +19 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +49 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +10 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +5 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +54 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +8 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +21 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +20 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +18 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +11 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +12 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +91 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +32 -236
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +12 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +23 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +10 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +117 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +47 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +47 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +43 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +11 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +152 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +71 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +27 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +3 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +25 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +93 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +98 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +15 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +10 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +57 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +397 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +68 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +406 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +32 -141
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +47 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +25 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +5 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +74 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +32 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +19 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +38 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +345 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +299 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +103 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +161 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +250 -474
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +23 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +18 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +149 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +10 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +19 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +145 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +85 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +20 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +183 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +24 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +23 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +32 -190
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +62 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +49 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +27 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +124 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +44 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +72 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +157 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +28 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +29 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +78 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +21 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +15 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +17 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +171 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +129 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +14 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +157 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +12 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +15 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +62 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +66 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +60 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +8 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +9 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +61 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +22 -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/index300.js +63 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +14 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +2 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +93 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +96 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +192 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +22 -190
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +55 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +27 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +56 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +20 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +60 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +12 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +46 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +40 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +34 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +6 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +99 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +21 -207
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +25 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +31 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +18 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +12 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +23 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +37 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +50 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +95 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +42 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +39 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +17 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +57 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +13 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +87 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +124 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +36 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +37 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +9 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +38 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +41 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +53 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +62 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +70 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +34 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +186 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +25 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +155 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +74 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +22 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +302 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +44 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +15 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +21 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +40 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +14 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +75 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +85 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +44 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +255 -37
- 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 +45 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +49 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +203 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +158 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +111 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +51 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +71 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +112 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +42 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +479 -159
- 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 +163 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +38 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +59 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +31 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +113 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +21 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +41 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +55 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +15 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +27 -59
- 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 +40 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +58 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +96 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +109 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +88 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +94 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +37 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +33 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +11 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +4 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +127 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +25 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +24 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +12 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +47 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +28 -16
- 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 +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +51 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +66 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +47 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +24 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +31 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +19 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +23 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +74 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +93 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +35 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +32 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +15 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +6 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +85 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +33 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +64 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +13 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +14 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +11 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +61 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +21 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +56 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +115 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +9 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +21 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +28 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +22 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +38 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +53 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +32 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +22 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +30 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +31 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +139 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +19 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +80 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +66 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +67 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +74 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +46 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +27 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +30 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +121 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +17 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +72 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +16 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +16 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +16 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +11 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +31 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +50 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +92 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +14 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +74 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +9 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +68 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +20 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +40 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +34 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +51 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +57 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +29 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +32 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +68 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +55 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +39 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +132 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +20 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +74 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +86 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +53 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +52 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +52 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +29 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +38 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +46 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +51 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +42 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +11 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +17 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +83 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +38 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +74 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +4 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +60 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +48 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.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/index60.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/index88.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +25 -25
- package/package.json +1 -1
|
@@ -1,49 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import "react";
|
|
4
|
-
import "./index94.js";
|
|
5
|
-
import { useLingui as x } from "@lingui/react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
import "./index59.js";
|
|
8
|
-
import "@mui/x-data-grid";
|
|
9
|
-
import { ConfirmationModal as y } from "./index254.js";
|
|
10
|
-
import { Table as C, TableBody as _, TableRow as D, TableCell as l } from "./index296.js";
|
|
11
|
-
import { Typography as r } from "./index87.js";
|
|
12
|
-
import { Loader2 as L } from "lucide-react";
|
|
13
|
-
import { useGetProducts as T } from "./index149.js";
|
|
14
|
-
const R = ({
|
|
15
|
-
onClose: c,
|
|
16
|
-
onDelete: d,
|
|
17
|
-
name: p,
|
|
18
|
-
isLoading: u,
|
|
19
|
-
open: h,
|
|
20
|
-
id: n
|
|
21
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as s } from "./index59.js";
|
|
2
|
+
const i = () => {
|
|
22
3
|
const {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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() });
|
|
4
|
+
api: t,
|
|
5
|
+
queryClient: e
|
|
6
|
+
} = s();
|
|
7
|
+
return t.finops.patchEntityUsersMyEntity.useMutation({}, {
|
|
8
|
+
onSuccess: () => {
|
|
9
|
+
t.finops.getEntityUsersMyEntity.invalidateQueries(e);
|
|
10
|
+
}
|
|
11
|
+
});
|
|
46
12
|
};
|
|
47
13
|
export {
|
|
48
|
-
|
|
14
|
+
i as usePatchEntityById
|
|
49
15
|
};
|
|
@@ -1,30 +1,65 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { Price as _ } from "./index427.js";
|
|
2
|
+
import { getRateValueForDisplay as m } from "./index198.js";
|
|
3
|
+
import { useMemo as v } from "react";
|
|
4
|
+
const I = ({
|
|
5
|
+
lineItems: c,
|
|
6
|
+
isNonVatSupported: n,
|
|
7
|
+
isInclusivePricing: p,
|
|
8
|
+
actualCurrency: s,
|
|
9
|
+
formatCurrencyToDisplay: l
|
|
10
10
|
}) => {
|
|
11
|
-
const {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
11
|
+
const x = (e) => {
|
|
12
|
+
const t = e.product?.price?.value ?? e.price?.value ?? 0, r = e.quantity ?? 1;
|
|
13
|
+
return {
|
|
14
|
+
price: t,
|
|
15
|
+
quantity: r
|
|
16
|
+
};
|
|
17
|
+
}, y = v(() => {
|
|
18
|
+
const e = c.reduce((r, a) => {
|
|
19
|
+
const {
|
|
20
|
+
price: u,
|
|
21
|
+
quantity: i
|
|
22
|
+
} = x(a), o = m(n, a.vat_rate_value ?? 0, a.tax_rate_value ?? 0) / 100;
|
|
23
|
+
if (p && o) {
|
|
24
|
+
const b = u * i / (1 + o);
|
|
25
|
+
return r + b;
|
|
26
|
+
}
|
|
27
|
+
return r + u * i;
|
|
28
|
+
}, 0), t = s ?? c.find((r) => !!r.product?.price?.currency)?.product?.price?.currency ?? c.find((r) => !!r.price?.currency)?.price?.currency;
|
|
29
|
+
if (t)
|
|
30
|
+
return new _({
|
|
31
|
+
value: e,
|
|
32
|
+
currency: t,
|
|
33
|
+
formatter: l
|
|
34
|
+
});
|
|
35
|
+
}, [c, l, s, p, n]), f = v(() => c.reduce((e, t) => {
|
|
36
|
+
const {
|
|
37
|
+
price: r,
|
|
38
|
+
quantity: a
|
|
39
|
+
} = x(t), u = m(n, t.vat_rate_value ?? 0, t.tax_rate_value ?? 0);
|
|
40
|
+
if (!u) return e;
|
|
41
|
+
const i = r * a, o = p ? i - i / (1 + u / 100) : i * (u / 100);
|
|
42
|
+
return e[u] ? e[u] += o : e[u] = o, e;
|
|
43
|
+
}, {}), [c, p, n]), d = v(() => {
|
|
44
|
+
const e = Object.values(f).reduce((r, a) => r + a, 0), t = s ?? c.find((r) => !!r.product?.price?.currency)?.product?.price?.currency ?? c.find((r) => !!r.price?.currency)?.price?.currency;
|
|
45
|
+
if (t)
|
|
46
|
+
return new _({
|
|
47
|
+
value: e,
|
|
48
|
+
currency: t,
|
|
49
|
+
formatter: l
|
|
50
|
+
});
|
|
51
|
+
}, [c, l, s, f]), q = v(() => {
|
|
52
|
+
if (!(!y || !d))
|
|
53
|
+
return y.add(d);
|
|
54
|
+
}, [y, d]), P = !n && c.some((e) => m(n, e.vat_rate_value ?? 0, e.tax_rate_value ?? 0) / 100 === 0);
|
|
55
|
+
return {
|
|
56
|
+
subtotalPrice: y,
|
|
57
|
+
totalTaxes: d,
|
|
58
|
+
totalPrice: q,
|
|
59
|
+
shouldShowTaxExemptRationale: P,
|
|
60
|
+
taxesByVatRate: f
|
|
61
|
+
};
|
|
27
62
|
};
|
|
28
63
|
export {
|
|
29
|
-
|
|
64
|
+
I as useCreateInvoiceProductsTable
|
|
30
65
|
};
|
|
@@ -1,34 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/* @__PURE__ */ e(u, { type: "button", variant: "ghost", size: "sm", className: "ttw:text-destructive ttw:hover:text-destructive", "aria-label": o._("Delete"), onClick: c, children: [
|
|
22
|
-
/* @__PURE__ */ t(d, {}),
|
|
23
|
-
o._("Delete")
|
|
24
|
-
] })
|
|
25
|
-
] }),
|
|
26
|
-
r && /* @__PURE__ */ t(i, { variant: "body1", color: "muted", children: r }),
|
|
27
|
-
/* @__PURE__ */ t("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: a }),
|
|
28
|
-
l,
|
|
29
|
-
n
|
|
30
|
-
] }) });
|
|
31
|
-
};
|
|
1
|
+
class t {
|
|
2
|
+
value;
|
|
3
|
+
currency;
|
|
4
|
+
formatter;
|
|
5
|
+
constructor(r) {
|
|
6
|
+
this.value = r.value, this.currency = r.currency, this.formatter = r.formatter;
|
|
7
|
+
}
|
|
8
|
+
add(r) {
|
|
9
|
+
if (this.currency !== r.currency)
|
|
10
|
+
throw new Error("Currencies must match");
|
|
11
|
+
return new t({
|
|
12
|
+
value: Number(this.value) + Number(r.value),
|
|
13
|
+
currency: this.currency,
|
|
14
|
+
formatter: this.formatter
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
toString() {
|
|
18
|
+
return this.formatter(this.value, this.currency) ?? "";
|
|
19
|
+
}
|
|
20
|
+
}
|
|
32
21
|
export {
|
|
33
|
-
|
|
22
|
+
t as Price
|
|
34
23
|
};
|
|
@@ -1,143 +1,61 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { Select as C, SelectTrigger as v, SelectValue as j, SelectContent as I, SelectItem as L } from "./index291.js";
|
|
10
|
-
import { USStatesEnum as T } from "./index432.js";
|
|
11
|
-
const k = ({
|
|
12
|
-
entityType: p
|
|
13
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as d } from "./index59.js";
|
|
2
|
+
import { useLingui as p } from "@lingui/react";
|
|
3
|
+
import { toast as n } from "react-hot-toast";
|
|
4
|
+
const _ = ({
|
|
5
|
+
onCreationError: o,
|
|
6
|
+
onDelete: m,
|
|
7
|
+
onSuccessfullChange: s
|
|
8
|
+
} = {}) => {
|
|
14
9
|
const {
|
|
10
|
+
api: t,
|
|
11
|
+
queryClient: a
|
|
12
|
+
} = d(), {
|
|
15
13
|
i18n: r
|
|
16
|
-
} =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
field: t
|
|
61
|
-
}) => /* @__PURE__ */ l(c, { children: [
|
|
62
|
-
/* @__PURE__ */ e(o, { children: r._("Email") }),
|
|
63
|
-
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(i, { ...t, type: "email" }) }),
|
|
64
|
-
/* @__PURE__ */ e(s, {})
|
|
65
|
-
] }) }),
|
|
66
|
-
/* @__PURE__ */ e(d, { name: "phone", control: n, render: ({
|
|
67
|
-
field: t
|
|
68
|
-
}) => /* @__PURE__ */ l(c, { children: [
|
|
69
|
-
/* @__PURE__ */ e(o, { children: r._("Contact phone number") }),
|
|
70
|
-
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(i, { ...t, type: "tel" }) }),
|
|
71
|
-
/* @__PURE__ */ e(s, {})
|
|
72
|
-
] }) }),
|
|
73
|
-
/* @__PURE__ */ e(d, { name: "website", control: n, render: ({
|
|
74
|
-
field: t
|
|
75
|
-
}) => /* @__PURE__ */ l(c, { children: [
|
|
76
|
-
/* @__PURE__ */ e(o, { children: r._("Website") }),
|
|
77
|
-
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(i, { ...t, type: "url" }) }),
|
|
78
|
-
/* @__PURE__ */ e(s, {})
|
|
79
|
-
] }) }),
|
|
80
|
-
/* @__PURE__ */ l("section", { className: "ttw:flex ttw:flex-col ttw:gap-2", children: [
|
|
81
|
-
/* @__PURE__ */ e("h3", { className: "ttw:text-lg ttw:font-semibold", children: r._("Address") }),
|
|
82
|
-
/* @__PURE__ */ l("div", { className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:p-6 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
83
|
-
/* @__PURE__ */ e(d, { name: "address_line_1", control: n, render: ({
|
|
84
|
-
field: t
|
|
85
|
-
}) => /* @__PURE__ */ l(c, { children: [
|
|
86
|
-
/* @__PURE__ */ e(o, { children: r._("Street address") }),
|
|
87
|
-
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(i, { ...t }) }),
|
|
88
|
-
/* @__PURE__ */ e(s, {})
|
|
89
|
-
] }) }),
|
|
90
|
-
/* @__PURE__ */ e(d, { name: "address_line_2", control: n, render: ({
|
|
91
|
-
field: t
|
|
92
|
-
}) => /* @__PURE__ */ l(c, { children: [
|
|
93
|
-
/* @__PURE__ */ e(o, { children: r._("Apt, suite, floor, etc.") }),
|
|
94
|
-
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(i, { ...t }) }),
|
|
95
|
-
/* @__PURE__ */ e(s, {})
|
|
96
|
-
] }) }),
|
|
97
|
-
/* @__PURE__ */ l("div", { className: "ttw:flex ttw:justify-between ttw:gap-4", children: [
|
|
98
|
-
/* @__PURE__ */ e(d, { name: "city", control: n, render: ({
|
|
99
|
-
field: t
|
|
100
|
-
}) => /* @__PURE__ */ l(c, { className: "ttw:flex ttw:flex-col ttw:flex-1", children: [
|
|
101
|
-
/* @__PURE__ */ e(o, { children: r._("City") }),
|
|
102
|
-
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(i, { ...t }) }),
|
|
103
|
-
/* @__PURE__ */ e(s, {})
|
|
104
|
-
] }) }),
|
|
105
|
-
/* @__PURE__ */ e(d, { name: "postal_code", control: n, render: ({
|
|
106
|
-
field: t
|
|
107
|
-
}) => /* @__PURE__ */ l(c, { className: "ttw:flex ttw:flex-col ttw:flex-1", children: [
|
|
108
|
-
/* @__PURE__ */ e(o, { children: r._("Postal code") }),
|
|
109
|
-
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(i, { ...t }) }),
|
|
110
|
-
/* @__PURE__ */ e(s, {})
|
|
111
|
-
] }) })
|
|
112
|
-
] }),
|
|
113
|
-
/* @__PURE__ */ e(F, { name: "state", control: n, render: ({
|
|
114
|
-
field: t
|
|
115
|
-
}) => x("country") === "US" ? /* @__PURE__ */ e(f, { children: /* @__PURE__ */ l(w, { children: [
|
|
116
|
-
/* @__PURE__ */ e(u, { htmlFor: t.name, children: r._("State") }),
|
|
117
|
-
/* @__PURE__ */ l(C, { value: t.value ?? void 0, onValueChange: t.onChange, children: [
|
|
118
|
-
/* @__PURE__ */ e(v, { ref: t.ref, onBlur: t.onBlur, className: "ttw:w-full", children: /* @__PURE__ */ e(j, { placeholder: r._("Select a state") }) }),
|
|
119
|
-
/* @__PURE__ */ e(I, { children: Object.entries(T).map(([m, g]) => /* @__PURE__ */ l(L, { value: m, children: [
|
|
120
|
-
g,
|
|
121
|
-
" — ",
|
|
122
|
-
m
|
|
123
|
-
] }, m)) })
|
|
124
|
-
] })
|
|
125
|
-
] }) }) : /* @__PURE__ */ e(f, { children: /* @__PURE__ */ l(w, { children: [
|
|
126
|
-
/* @__PURE__ */ e(u, { htmlFor: t.name, children: r._("State") }),
|
|
127
|
-
/* @__PURE__ */ e(i, { id: t.name, ...t })
|
|
128
|
-
] }) }) }),
|
|
129
|
-
/* @__PURE__ */ e(d, { name: "country", control: n, render: ({
|
|
130
|
-
field: t
|
|
131
|
-
}) => /* @__PURE__ */ l(c, { children: [
|
|
132
|
-
/* @__PURE__ */ e(o, { children: r._("Country") }),
|
|
133
|
-
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(i, { ...t, disabled: !0, value: _[t.value ?? ""] }) }),
|
|
134
|
-
/* @__PURE__ */ e(S, { children: r._("You can't change the country the organization is registered in") }),
|
|
135
|
-
/* @__PURE__ */ e(s, {})
|
|
136
|
-
] }) })
|
|
137
|
-
] })
|
|
138
|
-
] })
|
|
139
|
-
] });
|
|
14
|
+
} = p(), i = t.finops.postPaymentTerms.useMutation(void 0, {
|
|
15
|
+
onSuccess: (e) => {
|
|
16
|
+
t.finops.getPaymentTerms.invalidateQueries(a), n.success(r._("Payment term created")), s?.(e.id);
|
|
17
|
+
},
|
|
18
|
+
onError: () => {
|
|
19
|
+
o?.();
|
|
20
|
+
}
|
|
21
|
+
}), u = t.finops.patchPaymentTermsId.useMutation(void 0, {
|
|
22
|
+
onSuccess: (e) => {
|
|
23
|
+
t.finops.getPaymentTerms.invalidateQueries(a), n.success(r._("Payment term updated")), s?.(e.id);
|
|
24
|
+
},
|
|
25
|
+
onError: () => {
|
|
26
|
+
n.error(r._("Error updating payment term"));
|
|
27
|
+
}
|
|
28
|
+
}), c = t.finops.deletePaymentTermsId.useMutation(void 0, {
|
|
29
|
+
onSuccess: () => {
|
|
30
|
+
n.success(r._("Payment term successfully deleted")), m?.(), s?.();
|
|
31
|
+
},
|
|
32
|
+
onError: () => {
|
|
33
|
+
n.error(r._("Error deleting payment term"));
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
return {
|
|
37
|
+
createPaymentTerm: async (e) => {
|
|
38
|
+
await i.mutateAsync({
|
|
39
|
+
body: e
|
|
40
|
+
});
|
|
41
|
+
},
|
|
42
|
+
updatePaymentTerm: async (e, y) => {
|
|
43
|
+
await u.mutateAsync({
|
|
44
|
+
path: {
|
|
45
|
+
payment_terms_id: e
|
|
46
|
+
},
|
|
47
|
+
body: y
|
|
48
|
+
});
|
|
49
|
+
},
|
|
50
|
+
deletePaymentTerm: async (e) => {
|
|
51
|
+
await c.mutateAsync({
|
|
52
|
+
path: {
|
|
53
|
+
payment_terms_id: e
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
};
|
|
140
58
|
};
|
|
141
59
|
export {
|
|
142
|
-
|
|
60
|
+
_ as usePaymentTermsApi
|
|
143
61
|
};
|
|
@@ -1,15 +1,119 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { rateMinorToMajor as p, rateMajorToMinor as l } from "./index96.js";
|
|
2
|
+
import { generateUniqueId as f } from "./index430.js";
|
|
3
|
+
const c = (r, e) => {
|
|
4
|
+
let t = r;
|
|
5
|
+
for (const a of e) {
|
|
6
|
+
if (typeof t != "object" || t === null || !(a in t))
|
|
7
|
+
return;
|
|
8
|
+
t = t[a];
|
|
9
|
+
}
|
|
10
|
+
return typeof t == "object" && t !== null && "message" in t && typeof t.message == "string" ? String(t.message) : void 0;
|
|
11
|
+
};
|
|
12
|
+
function m(r, e) {
|
|
13
|
+
if (!r)
|
|
14
|
+
return;
|
|
15
|
+
const t = typeof r == "object";
|
|
16
|
+
if (t && "message" in r && typeof r.message == "string")
|
|
17
|
+
return r.message;
|
|
18
|
+
const a = e.split("."), n = !Array.isArray(r);
|
|
19
|
+
if (n && t)
|
|
20
|
+
return c(r, a);
|
|
21
|
+
if (n) return;
|
|
22
|
+
const s = r.find((i) => {
|
|
23
|
+
if (!i || typeof i != "object" || i === null) return !1;
|
|
24
|
+
let o = i;
|
|
25
|
+
for (const u of a) {
|
|
26
|
+
if (typeof o != "object" || o === null || !(u in o))
|
|
27
|
+
return !1;
|
|
28
|
+
o = o[u];
|
|
10
29
|
}
|
|
30
|
+
return typeof o == "object" && o !== null && "message" in o && typeof o.message == "string";
|
|
11
31
|
});
|
|
12
|
-
|
|
32
|
+
if (s)
|
|
33
|
+
return c(s, a);
|
|
34
|
+
}
|
|
35
|
+
const j = (r, e) => m(r, e), v = (r) => {
|
|
36
|
+
if (r === "")
|
|
37
|
+
return 0;
|
|
38
|
+
const e = Number(r);
|
|
39
|
+
return isNaN(e) ? 0 : Math.min(Math.max(e, 0), 100);
|
|
40
|
+
}, b = (r) => {
|
|
41
|
+
if (r.value.startsWith("0") && r.value.length > 1 && !r.value.startsWith("0.")) {
|
|
42
|
+
const e = r.value.replace(/^0+/, "");
|
|
43
|
+
r.value = e || "0";
|
|
44
|
+
}
|
|
45
|
+
}, _ = (r, e) => {
|
|
46
|
+
if (r === void 0 || isNaN(r)) return "";
|
|
47
|
+
const t = p(r);
|
|
48
|
+
return e.format(t);
|
|
49
|
+
}, h = (r, e, t) => {
|
|
50
|
+
if (r.trim() === "") return 0;
|
|
51
|
+
let a = r;
|
|
52
|
+
if (t) {
|
|
53
|
+
const s = t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
54
|
+
a = a.replace(new RegExp(s, "g"), "");
|
|
55
|
+
}
|
|
56
|
+
a = a.replace(e, ".");
|
|
57
|
+
const n = parseFloat(a);
|
|
58
|
+
return isNaN(n) ? 0 : l(n);
|
|
59
|
+
}, g = ".", y = (r) => r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), d = (r) => {
|
|
60
|
+
if (typeof Intl > "u" || typeof Intl.NumberFormat > "u")
|
|
61
|
+
return {
|
|
62
|
+
decimal: ".",
|
|
63
|
+
group: ","
|
|
64
|
+
};
|
|
65
|
+
try {
|
|
66
|
+
const e = Intl.NumberFormat(r).formatToParts(12345.6), t = e.find((n) => n.type === "decimal")?.value || ".", a = e.find((n) => n.type === "group")?.value || ",";
|
|
67
|
+
return {
|
|
68
|
+
decimal: t,
|
|
69
|
+
group: a
|
|
70
|
+
};
|
|
71
|
+
} catch (e) {
|
|
72
|
+
return console.error("Error getting locale separators:", e), {
|
|
73
|
+
decimal: ".",
|
|
74
|
+
group: ","
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
}, x = (r, e) => {
|
|
78
|
+
if (typeof r != "string" || !r.trim())
|
|
79
|
+
return 0;
|
|
80
|
+
const {
|
|
81
|
+
decimal: t,
|
|
82
|
+
group: a
|
|
83
|
+
} = d(e), n = r.replace(new RegExp(y(a), "g"), "");
|
|
84
|
+
let s = "", i = !1;
|
|
85
|
+
for (const u of n)
|
|
86
|
+
/\d/.test(u) ? s += u : u === t && !i && (s += g, i = !0);
|
|
87
|
+
const o = parseFloat(s);
|
|
88
|
+
return isNaN(o) ? 0 : o;
|
|
89
|
+
}, T = (r) => !r || !Array.isArray(r) ? [] : r.filter((e) => !!e?.product?.name).map((e) => ({
|
|
90
|
+
...e,
|
|
91
|
+
id: e.product_id || f(),
|
|
92
|
+
quantity: e.quantity ?? 1,
|
|
93
|
+
product: {
|
|
94
|
+
...e.product,
|
|
95
|
+
type: e.product?.type,
|
|
96
|
+
price: {
|
|
97
|
+
...e.product?.price || {},
|
|
98
|
+
value: e.product?.price?.value ?? 0,
|
|
99
|
+
currency: e.product?.price?.currency || "USD"
|
|
100
|
+
},
|
|
101
|
+
measure_unit_id: e.product?.measure_unit_id || ""
|
|
102
|
+
},
|
|
103
|
+
...e.measure_unit?.name ? {
|
|
104
|
+
measure_unit: {
|
|
105
|
+
name: e.measure_unit.name,
|
|
106
|
+
id: null
|
|
107
|
+
}
|
|
108
|
+
} : {}
|
|
109
|
+
}));
|
|
13
110
|
export {
|
|
14
|
-
|
|
111
|
+
_ as formatMinorToMajorCurrency,
|
|
112
|
+
b as formatTaxRate,
|
|
113
|
+
m as getErrorMessage,
|
|
114
|
+
j as getLineItemErrorMessage,
|
|
115
|
+
x as parseLocaleNumericString,
|
|
116
|
+
h as parseMajorToMinorCurrency,
|
|
117
|
+
v as processTaxRateValue,
|
|
118
|
+
T as sanitizeLineItems
|
|
15
119
|
};
|
|
@@ -2,12 +2,12 @@ import { jsx as t, jsxs as n, Fragment as M } from "@emotion/react/jsx-runtime";
|
|
|
2
2
|
import { useState as I, useId as P, useRef as j } from "react";
|
|
3
3
|
import { useMoniteContext as L } from "./index59.js";
|
|
4
4
|
import { MoniteScopedProviders as O } from "./index85.js";
|
|
5
|
-
import { LoadingPage as U } from "./
|
|
5
|
+
import { LoadingPage as U } from "./index199.js";
|
|
6
6
|
import { useLingui as G } from "@lingui/react";
|
|
7
|
-
import { useCreateEntityBankAccount as H } from "./
|
|
8
|
-
import { useUpdateEntityBankAccount as R } from "./
|
|
9
|
-
import { useDeleteEntityBankAccount as T } from "./
|
|
10
|
-
import { useGetEntityBankAccountById as q } from "./
|
|
7
|
+
import { useCreateEntityBankAccount as H } from "./index202.js";
|
|
8
|
+
import { useUpdateEntityBankAccount as R } from "./index203.js";
|
|
9
|
+
import { useDeleteEntityBankAccount as T } from "./index204.js";
|
|
10
|
+
import { useGetEntityBankAccountById as q } from "./index205.js";
|
|
11
11
|
import "date-fns";
|
|
12
12
|
import "react-hot-toast";
|
|
13
13
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
@@ -24,9 +24,9 @@ import "./index94.js";
|
|
|
24
24
|
import "react-dom";
|
|
25
25
|
import "@mui/x-data-grid";
|
|
26
26
|
import "react-hook-form";
|
|
27
|
-
import { BankAccountDeleteModal as J } from "./
|
|
28
|
-
import { BankAccountFormContent as K } from "./
|
|
29
|
-
import { Sheet as Q, SheetContent as V, SheetHeader as W, SheetTitle as X, SheetDescription as Y, SheetFooter as Z } from "./
|
|
27
|
+
import { BankAccountDeleteModal as J } from "./index206.js";
|
|
28
|
+
import { BankAccountFormContent as K } from "./index207.js";
|
|
29
|
+
import { Sheet as Q, SheetContent as V, SheetHeader as W, SheetTitle as X, SheetDescription as Y, SheetFooter as Z } from "./index146.js";
|
|
30
30
|
const Nt = (a) => /* @__PURE__ */ t(O, { children: /* @__PURE__ */ t(tt, { ...a }) }), tt = ({
|
|
31
31
|
entityBankAccountId: a,
|
|
32
32
|
bankAccounts: u,
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { useLingui as t } from "@lingui/react";
|
|
3
|
-
import { useExistingCurrenciesFromProducts as u } from "./index494.js";
|
|
4
|
-
const d = () => {
|
|
5
|
-
const {
|
|
6
|
-
i18n: r
|
|
7
|
-
} = t(), {
|
|
8
|
-
existingCurrencies: e,
|
|
9
|
-
isLoadingProducts: o
|
|
10
|
-
} = u();
|
|
11
|
-
return {
|
|
12
|
-
currencyGroups: s(() => [{
|
|
13
|
-
title: r._("You have items in"),
|
|
14
|
-
predicate: (i) => e.has(i.code)
|
|
15
|
-
}, {
|
|
16
|
-
title: r._("No items created in"),
|
|
17
|
-
predicate: (i) => !e.has(i.code)
|
|
18
|
-
}], [e, r]),
|
|
19
|
-
isLoadingCurrencyGroups: o
|
|
20
|
-
};
|
|
21
|
-
};
|
|
1
|
+
const t = () => typeof crypto < "u" && typeof crypto.randomUUID == "function" ? crypto.randomUUID() : `${Date.now().toString(36)}-${Math.random().toString(36).substring(2, 9)}`;
|
|
22
2
|
export {
|
|
23
|
-
|
|
3
|
+
t as generateUniqueId
|
|
24
4
|
};
|