@tesouro/embedded-components-react 0.2.225 → 0.2.226
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +35 -0
- package/dist/lib/ReceivablesWidget.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index5.js +14 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/{index2.js → index8.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +6 -17
- 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 +17 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +18 -18
- 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/index109.js +1 -1
- 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 +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +1270 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +41 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +73 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +54 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +80 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +28 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +41 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +7 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +228 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +467 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +104 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +537 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +24 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +25 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +94 -226
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +90 -459
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +14 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +11 -536
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +7 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +35 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +100 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +7 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +25 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +49 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +82 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +33 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +66 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +358 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +2 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +117 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +6 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +18 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +12 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +13 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +12 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +21 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +55 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +27 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +35 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +24 -16
- 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 +14 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +26 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +16 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +109 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +10 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +17 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +26 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +40 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +58 -360
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +52 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +30 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +98 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +45 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +143 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +106 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +35 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +51 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +25 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +75 -54
- 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 +32 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +18 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +63 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +158 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +28 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +27 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +75 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +22 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +16 -24
- 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 +17 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +166 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +129 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +161 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +11 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +18 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +58 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +61 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +60 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +6 -94
- 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 +10 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +59 -210
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +20 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +58 -342
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +14 -303
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +22 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +51 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +26 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +58 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +18 -18
- 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 +14 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +77 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +42 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +73 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +5 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +474 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +164 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +41 -61
- 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 +149 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +19 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +26 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +126 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +44 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +63 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +124 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +46 -59
- 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 +117 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +110 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +49 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +201 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +68 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +22 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +30 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +30 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +4 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +20 -78
- 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 +30 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +27 -487
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +29 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +27 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +41 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +53 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +29 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +119 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +22 -79
- 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 +44 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +57 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +94 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +96 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +213 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +17 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +27 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +38 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +55 -103
- 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 +92 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +106 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +86 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +40 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +347 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +300 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +95 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +159 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +265 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +22 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +11 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +255 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +6 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +16 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +49 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +48 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +45 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +32 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +41 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +73 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +93 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +31 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +9 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +32 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +4 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +11 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +48 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +17 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +66 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +17 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +21 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +16 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +21 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +9 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +65 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +21 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +115 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +80 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +2 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +8 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +49 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +15 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +85 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +85 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +268 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +39 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +60 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +44 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +23 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +132 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +96 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +285 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +49 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +15 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +69 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +47 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +27 -15
- 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 +22 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +123 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +18 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +16 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +16 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +93 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +34 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +53 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +36 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +23 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +25 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +36 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +69 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +16 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +16 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +3 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +32 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +4 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +126 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +34 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +29 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +69 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +30 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +8 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +19 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +13 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +55 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +80 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +54 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +29 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +54 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +37 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +44 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +72 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +20 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +51 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +71 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +67 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +37 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +12 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +29 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +23 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +93 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +16 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +75 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +20 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +32 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +38 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +54 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +48 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +58 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +29 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +43 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +37 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +15 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +81 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +51 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +35 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +17 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +6 -6
- 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 +1 -1
- 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/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 +7 -7
- 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 +20 -20
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +21 -21
- package/dist/packages/shared-ui-shadcn/dist/index.js +1 -1
- package/package.json +1 -1
- /package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/{index3.js → index9.js} +0 -0
|
@@ -1,18 +1,71 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
1
|
+
import { jsx as t, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { getMeasureUnitValidationSchema as z } from "./index171.js";
|
|
3
|
+
import { Button as o } from "./index84.js";
|
|
4
|
+
import { Input as p } from "./index118.js";
|
|
5
|
+
import { TableRow as C, TableCell as M } from "./index305.js";
|
|
6
|
+
import { zodResolver as S } from "@hookform/resolvers/zod";
|
|
7
|
+
import { useLingui as U } from "@lingui/react";
|
|
8
|
+
import { Check as $, X as j } from "lucide-react";
|
|
9
|
+
import { useForm as k, Controller as f } from "react-hook-form";
|
|
10
|
+
import { useCreateMeasureUnit as E } from "./index423.js";
|
|
11
|
+
import { useUpdateMeasureUnit as V } from "./index424.js";
|
|
12
|
+
const P = {
|
|
13
|
+
name: "",
|
|
14
|
+
description: ""
|
|
15
|
+
}, D = ({
|
|
16
|
+
id: s,
|
|
17
|
+
isEditMode: n,
|
|
18
|
+
initialValues: h = P,
|
|
19
|
+
onCancel: g,
|
|
20
|
+
onEdit: v
|
|
21
|
+
}) => {
|
|
22
|
+
const {
|
|
23
|
+
i18n: m
|
|
24
|
+
} = U(), b = z(m), {
|
|
25
|
+
handleSubmit: l,
|
|
26
|
+
control: d,
|
|
27
|
+
reset: y,
|
|
28
|
+
setError: c
|
|
29
|
+
} = k({
|
|
30
|
+
defaultValues: h,
|
|
31
|
+
resolver: S(b)
|
|
32
|
+
}), w = E(() => y(), (e) => c("name", {
|
|
33
|
+
type: "custom",
|
|
34
|
+
message: e
|
|
35
|
+
})), i = V(s ?? "", () => v?.(), (e) => c("name", {
|
|
36
|
+
type: "custom",
|
|
37
|
+
message: e
|
|
38
|
+
})), x = (e) => {
|
|
39
|
+
if (!n || !s) {
|
|
40
|
+
console.error("handleEdit called without valid id or edit mode");
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
i.mutate(e);
|
|
44
|
+
}, N = (e) => {
|
|
45
|
+
w.mutate(e);
|
|
46
|
+
}, u = w.isPending || i.isPending;
|
|
47
|
+
return /* @__PURE__ */ t(C, { className: "ttw:border-border ttw:hover:bg-transparent", children: /* @__PURE__ */ t(M, { colSpan: 3, className: "ttw:w-full ttw:whitespace-normal", children: /* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-2 ttw:justify-between ttw:items-start", children: [
|
|
48
|
+
/* @__PURE__ */ t(f, { name: "name", control: d, render: ({
|
|
49
|
+
field: e,
|
|
50
|
+
fieldState: {
|
|
51
|
+
error: r
|
|
52
|
+
}
|
|
53
|
+
}) => /* @__PURE__ */ a("div", { className: "ttw:w-[35%]", children: [
|
|
54
|
+
/* @__PURE__ */ t(p, { ...e, disabled: u, "aria-invalid": !!r || void 0, className: "ttw:h-8" }),
|
|
55
|
+
r && /* @__PURE__ */ t("p", { className: "ttw:text-xs ttw:text-destructive ttw:mt-1", children: r.message })
|
|
56
|
+
] }) }),
|
|
57
|
+
/* @__PURE__ */ t(f, { name: "description", control: d, render: ({
|
|
58
|
+
field: e,
|
|
59
|
+
fieldState: {
|
|
60
|
+
error: r
|
|
61
|
+
}
|
|
62
|
+
}) => /* @__PURE__ */ t("div", { className: "ttw:w-[55%]", children: /* @__PURE__ */ t(p, { ...e, id: e.name, disabled: u, "aria-invalid": !!r || void 0, className: "ttw:h-8" }) }) }),
|
|
63
|
+
n ? /* @__PURE__ */ a("div", { className: "ttw:flex ttw:justify-center ttw:gap-1", children: [
|
|
64
|
+
/* @__PURE__ */ t(o, { variant: "outline", size: "icon", className: "ttw:size-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", disabled: i.isPending, onClick: l(x), children: /* @__PURE__ */ t($, { className: "ttw:size-4" }) }),
|
|
65
|
+
/* @__PURE__ */ t(o, { variant: "outline", size: "icon", className: "ttw:size-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", onClick: g, children: /* @__PURE__ */ t(j, { className: "ttw:size-4" }) })
|
|
66
|
+
] }) : /* @__PURE__ */ t(o, { variant: "outline", size: "sm", className: "ttw:h-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", onClick: l(N), children: m._("Add") })
|
|
67
|
+
] }) }) });
|
|
68
|
+
};
|
|
16
69
|
export {
|
|
17
|
-
|
|
70
|
+
D as MeasureUnitsFormRow
|
|
18
71
|
};
|
|
@@ -1,18 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsx as e, jsxs as a, Fragment as m } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useCurrencies as b } from "./index58.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "./index92.js";
|
|
5
|
+
import { useLingui as x } from "@lingui/react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import "./index57.js";
|
|
8
|
+
import "@mui/x-data-grid";
|
|
9
|
+
import { ConfirmationModal as y } from "./index255.js";
|
|
10
|
+
import { Table as C, TableBody as _, TableRow as D, TableCell as l } from "./index305.js";
|
|
11
|
+
import { Typography as r } from "./index85.js";
|
|
12
|
+
import { Loader2 as L } from "lucide-react";
|
|
13
|
+
import { useGetProducts as T } from "./index168.js";
|
|
14
|
+
const R = ({
|
|
15
|
+
onClose: c,
|
|
16
|
+
onDelete: d,
|
|
17
|
+
name: p,
|
|
18
|
+
isLoading: u,
|
|
19
|
+
open: h,
|
|
20
|
+
id: n
|
|
21
|
+
}) => {
|
|
22
|
+
const {
|
|
23
|
+
i18n: t
|
|
24
|
+
} = x(), {
|
|
25
|
+
formatCurrencyToDisplay: w
|
|
26
|
+
} = b(), {
|
|
27
|
+
data: s,
|
|
28
|
+
isLoading: o
|
|
29
|
+
} = T({
|
|
30
|
+
measure_unit_id: n ?? ""
|
|
31
|
+
}, !!n), f = s?.data.length === 0, g = () => f ? /* @__PURE__ */ a(m, { children: [
|
|
32
|
+
/* @__PURE__ */ e(r, { children: t._("There are no items created with this measure unit.") }),
|
|
33
|
+
/* @__PURE__ */ e(r, { color: "muted", children: t._("Deleting it won't affect your items.") })
|
|
34
|
+
] }) : /* @__PURE__ */ a(m, { children: [
|
|
35
|
+
/* @__PURE__ */ e(r, { children: t._("Any products or services referencing this unit will update to use a blank unit of measure.") }),
|
|
36
|
+
/* @__PURE__ */ e(r, { color: "muted", children: t._("Previously issued invoices will not be impacted.") }),
|
|
37
|
+
o && /* @__PURE__ */ e(L, { className: "ttw:mx-auto ttw:size-6 ttw:animate-spin" }),
|
|
38
|
+
!o && /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(_, { children: s?.data.map((i) => /* @__PURE__ */ a(D, { className: "ttw:border-border ttw:hover:bg-transparent", children: [
|
|
39
|
+
/* @__PURE__ */ e(l, { className: "ttw:pl-0 ttw:whitespace-normal ttw:text-text ttw:font-medium", children: i.name }),
|
|
40
|
+
/* @__PURE__ */ e(l, { className: "ttw:pr-0 ttw:text-right ttw:text-text ttw:font-medium", children: i.price && w(i.price?.value, i.price?.currency) })
|
|
41
|
+
] }, i.id)) }) })
|
|
42
|
+
] });
|
|
43
|
+
return /* @__PURE__ */ e(y, { open: h, title: t._('Delete "{name}"?', {
|
|
44
|
+
name: p
|
|
45
|
+
}), confirmLabel: t._("Delete"), cancelLabel: t._("Cancel"), onClose: c, onConfirm: d, isLoading: u || o, children: g() });
|
|
46
|
+
};
|
|
16
47
|
export {
|
|
17
|
-
|
|
48
|
+
R as ConfirmDeleteMeasureUnitDialog
|
|
18
49
|
};
|
|
@@ -1,18 +1,30 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs as i, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { DropdownMenu as s, DropdownMenuTrigger as a, DropdownMenuContent as d, DropdownMenuItem as r } from "./index133.js";
|
|
3
|
+
import { Button as c } from "./index84.js";
|
|
4
|
+
import { useLingui as u } from "@lingui/react";
|
|
5
|
+
import { MoreVertical as m, Pencil as p, Trash2 as h } from "lucide-react";
|
|
2
6
|
const A = ({
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}) =>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
onEdit: t,
|
|
8
|
+
onDelete: l,
|
|
9
|
+
permissions: o
|
|
10
|
+
}) => {
|
|
11
|
+
const {
|
|
12
|
+
i18n: n
|
|
13
|
+
} = u();
|
|
14
|
+
return o.isUpdateAllowed || o.isDeleteAllowed ? /* @__PURE__ */ i(s, { children: [
|
|
15
|
+
/* @__PURE__ */ e(a, { asChild: !0, children: /* @__PURE__ */ e(c, { variant: "ghost", size: "icon", "aria-label": "actions-menu-button", children: /* @__PURE__ */ e(m, {}) }) }),
|
|
16
|
+
/* @__PURE__ */ i(d, { align: "end", children: [
|
|
17
|
+
o.isUpdateAllowed && /* @__PURE__ */ i(r, { onClick: t, children: [
|
|
18
|
+
/* @__PURE__ */ e(p, {}),
|
|
19
|
+
n._("Edit")
|
|
20
|
+
] }),
|
|
21
|
+
o.isDeleteAllowed && /* @__PURE__ */ i(r, { onClick: l, variant: "destructive", children: [
|
|
22
|
+
/* @__PURE__ */ e(h, {}),
|
|
23
|
+
n._("Delete")
|
|
24
|
+
] })
|
|
25
|
+
] })
|
|
26
|
+
] }) : null;
|
|
27
|
+
};
|
|
16
28
|
export {
|
|
17
|
-
A as
|
|
29
|
+
A as TableActions
|
|
18
30
|
};
|
|
@@ -5,7 +5,7 @@ import { InvoicesTable as I } from "./index36.js";
|
|
|
5
5
|
import { QuotesTable as T } from "./index37.js";
|
|
6
6
|
import { useMoniteContext as q } from "./index57.js";
|
|
7
7
|
import { MoniteScopedProviders as $ } from "./index83.js";
|
|
8
|
-
import { classNames as R } from "./
|
|
8
|
+
import { classNames as R } from "./index185.js";
|
|
9
9
|
import { useLingui as D } from "@lingui/react";
|
|
10
10
|
import { Box as l, Tabs as N } from "@mui/material";
|
|
11
11
|
import { useState as k, useId as w } from "react";
|
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { useMoniteContext as n } from "./index57.js";
|
|
2
|
+
import { useLingui as a } from "@lingui/react";
|
|
3
|
+
import { toast as s } from "react-hot-toast";
|
|
4
|
+
const m = (e) => {
|
|
5
|
+
const {
|
|
6
|
+
api: t,
|
|
7
|
+
queryClient: i
|
|
8
|
+
} = n(), {
|
|
9
|
+
i18n: o
|
|
10
|
+
} = a();
|
|
11
|
+
return t.finops.deleteMeasureUnitsId.useMutation(void 0, {
|
|
12
|
+
onSuccess: async () => {
|
|
13
|
+
e && (await t.finops.getMeasureUnits.invalidateQueries(i), s.success(o._("Unit {name} was deleted from the list.", {
|
|
14
|
+
name: e
|
|
15
|
+
})));
|
|
16
|
+
},
|
|
17
|
+
onError: (r) => {
|
|
18
|
+
console.error(r), s.error(o._("Failed to delete Unit."));
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
};
|
|
3
22
|
export {
|
|
4
|
-
|
|
23
|
+
m as useDeleteMeasureUnit
|
|
5
24
|
};
|
|
@@ -1,13 +1,125 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { useCurrencies as m } from "./index58.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "./index92.js";
|
|
4
|
+
import "@emotion/react/jsx-runtime";
|
|
5
|
+
import { useLingui as d } from "@lingui/react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import "./index57.js";
|
|
8
|
+
import "@mui/x-data-grid";
|
|
9
|
+
import { getTriggerKeyAndValue as f, isValidTriggerKey as p, isValidOperation as A, OPERATOR_OPERATIONS as o } from "./index447.js";
|
|
10
|
+
const O = ({
|
|
11
|
+
approvalPolicy: i
|
|
12
|
+
}) => {
|
|
13
|
+
const {
|
|
14
|
+
i18n: t
|
|
15
|
+
} = d(), {
|
|
16
|
+
formatCurrencyToDisplay: s
|
|
17
|
+
} = m(), c = (e) => {
|
|
18
|
+
switch (e) {
|
|
19
|
+
case "amount":
|
|
20
|
+
return t._("Amount");
|
|
21
|
+
case "was_created_by_user_id":
|
|
22
|
+
return t._("Created by user");
|
|
23
|
+
case "counterpart_id":
|
|
24
|
+
return t._("Vendors");
|
|
25
|
+
case "tags":
|
|
26
|
+
return t._("Tags");
|
|
27
|
+
default:
|
|
28
|
+
return e;
|
|
29
|
+
}
|
|
30
|
+
}, l = (e) => {
|
|
31
|
+
switch (e) {
|
|
32
|
+
case "amount":
|
|
33
|
+
return t._("Amount");
|
|
34
|
+
case "was_created_by_user_id":
|
|
35
|
+
return t._("Created by");
|
|
36
|
+
case "counterpart_id":
|
|
37
|
+
return t._("Vendors");
|
|
38
|
+
case "tags":
|
|
39
|
+
return t._("Has tags");
|
|
40
|
+
default:
|
|
41
|
+
return e;
|
|
42
|
+
}
|
|
43
|
+
}, _ = (e, u) => {
|
|
44
|
+
const a = s(e[0][1], u);
|
|
45
|
+
if (e.length === 1)
|
|
46
|
+
switch (e[0][0]) {
|
|
47
|
+
case o.GREATER_THAN:
|
|
48
|
+
return t._("Greater than {formattedValue}", {
|
|
49
|
+
formattedValue: a
|
|
50
|
+
});
|
|
51
|
+
case o.GREATER_THAN_OR_EQUAL:
|
|
52
|
+
return t._("Greater than or equal to {formattedValue}", {
|
|
53
|
+
formattedValue: a
|
|
54
|
+
});
|
|
55
|
+
case o.LESS_THAN:
|
|
56
|
+
return t._("Less than {formattedValue}", {
|
|
57
|
+
formattedValue: a
|
|
58
|
+
});
|
|
59
|
+
case o.LESS_THAN_OR_EQUAL:
|
|
60
|
+
return t._("Less than or equal to {formattedValue}", {
|
|
61
|
+
formattedValue: a
|
|
62
|
+
});
|
|
63
|
+
case o.EQUALS:
|
|
64
|
+
return t._("Equal to {formattedValue}", {
|
|
65
|
+
formattedValue: a
|
|
66
|
+
});
|
|
67
|
+
default:
|
|
68
|
+
return a;
|
|
69
|
+
}
|
|
70
|
+
if (e.length === 2) {
|
|
71
|
+
const r = e.find((n) => n[0] === o.GREATER_THAN_OR_EQUAL), g = e.find((n) => n[0] === o.LESS_THAN_OR_EQUAL);
|
|
72
|
+
if (r && g)
|
|
73
|
+
return t._("{from} - {to}", {
|
|
74
|
+
from: s(r[1], u),
|
|
75
|
+
to: s(g[1], u)
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
return a;
|
|
79
|
+
};
|
|
80
|
+
return ((e) => !!(e && typeof e == "object" && "all" in e && Array.isArray(e.all)))(i?.trigger) ? {
|
|
81
|
+
triggers: i.trigger?.all?.reduce((e, u) => {
|
|
82
|
+
if (typeof u == "string" || !u.operator || !u.left_operand || u.right_operand == null)
|
|
83
|
+
return e;
|
|
84
|
+
const {
|
|
85
|
+
key: a,
|
|
86
|
+
value: r
|
|
87
|
+
} = f(u);
|
|
88
|
+
if (!a || r == null || !p(a))
|
|
89
|
+
return e;
|
|
90
|
+
switch (a) {
|
|
91
|
+
case "amount":
|
|
92
|
+
(typeof r == "string" || typeof r == "number") && A(u.operator) && (e.amount || (e.amount = {
|
|
93
|
+
currency: "EUR",
|
|
94
|
+
value: []
|
|
95
|
+
}), e.amount.value.push([u.operator, r]));
|
|
96
|
+
break;
|
|
97
|
+
case "currency":
|
|
98
|
+
e.amount ? e.amount.currency = r : e.amount = {
|
|
99
|
+
value: [],
|
|
100
|
+
currency: r
|
|
101
|
+
};
|
|
102
|
+
break;
|
|
103
|
+
case "tags.id":
|
|
104
|
+
typeof r == "string" && (e.tags || (e.tags = []), e.tags.push(r));
|
|
105
|
+
break;
|
|
106
|
+
case "counterpart_id":
|
|
107
|
+
case "was_created_by_user_id":
|
|
108
|
+
Array.isArray(r) && (e[a] = r);
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
return e;
|
|
112
|
+
}, {}),
|
|
113
|
+
getTriggerName: c,
|
|
114
|
+
getTriggerLabel: l,
|
|
115
|
+
getAmountLabel: _
|
|
116
|
+
} : {
|
|
117
|
+
triggers: {},
|
|
118
|
+
getTriggerName: c,
|
|
119
|
+
getTriggerLabel: l,
|
|
120
|
+
getAmountLabel: _
|
|
121
|
+
};
|
|
122
|
+
};
|
|
10
123
|
export {
|
|
11
|
-
|
|
12
|
-
t as getUsersFromListLabel
|
|
124
|
+
O as useApprovalPolicyTrigger
|
|
13
125
|
};
|
|
@@ -1,71 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
initialValues: h = P,
|
|
19
|
-
onCancel: g,
|
|
20
|
-
onEdit: v
|
|
21
|
-
}) => {
|
|
22
|
-
const {
|
|
23
|
-
i18n: m
|
|
24
|
-
} = U(), b = z(m), {
|
|
25
|
-
handleSubmit: l,
|
|
26
|
-
control: d,
|
|
27
|
-
reset: y,
|
|
28
|
-
setError: c
|
|
29
|
-
} = k({
|
|
30
|
-
defaultValues: h,
|
|
31
|
-
resolver: S(b)
|
|
32
|
-
}), w = E(() => y(), (e) => c("name", {
|
|
33
|
-
type: "custom",
|
|
34
|
-
message: e
|
|
35
|
-
})), i = V(s ?? "", () => v?.(), (e) => c("name", {
|
|
36
|
-
type: "custom",
|
|
37
|
-
message: e
|
|
38
|
-
})), x = (e) => {
|
|
39
|
-
if (!n || !s) {
|
|
40
|
-
console.error("handleEdit called without valid id or edit mode");
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
i.mutate(e);
|
|
44
|
-
}, N = (e) => {
|
|
45
|
-
w.mutate(e);
|
|
46
|
-
}, u = w.isPending || i.isPending;
|
|
47
|
-
return /* @__PURE__ */ t(C, { className: "ttw:border-border ttw:hover:bg-transparent", children: /* @__PURE__ */ t(M, { colSpan: 3, className: "ttw:w-full ttw:whitespace-normal", children: /* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-2 ttw:justify-between ttw:items-start", children: [
|
|
48
|
-
/* @__PURE__ */ t(f, { name: "name", control: d, render: ({
|
|
49
|
-
field: e,
|
|
50
|
-
fieldState: {
|
|
51
|
-
error: r
|
|
52
|
-
}
|
|
53
|
-
}) => /* @__PURE__ */ a("div", { className: "ttw:w-[35%]", children: [
|
|
54
|
-
/* @__PURE__ */ t(p, { ...e, disabled: u, "aria-invalid": !!r || void 0, className: "ttw:h-8" }),
|
|
55
|
-
r && /* @__PURE__ */ t("p", { className: "ttw:text-xs ttw:text-destructive ttw:mt-1", children: r.message })
|
|
56
|
-
] }) }),
|
|
57
|
-
/* @__PURE__ */ t(f, { name: "description", control: d, render: ({
|
|
58
|
-
field: e,
|
|
59
|
-
fieldState: {
|
|
60
|
-
error: r
|
|
61
|
-
}
|
|
62
|
-
}) => /* @__PURE__ */ t("div", { className: "ttw:w-[55%]", children: /* @__PURE__ */ t(p, { ...e, id: e.name, disabled: u, "aria-invalid": !!r || void 0, className: "ttw:h-8" }) }) }),
|
|
63
|
-
n ? /* @__PURE__ */ a("div", { className: "ttw:flex ttw:justify-center ttw:gap-1", children: [
|
|
64
|
-
/* @__PURE__ */ t(o, { variant: "outline", size: "icon", className: "ttw:size-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", disabled: i.isPending, onClick: l(x), children: /* @__PURE__ */ t($, { className: "ttw:size-4" }) }),
|
|
65
|
-
/* @__PURE__ */ t(o, { variant: "outline", size: "icon", className: "ttw:size-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", onClick: g, children: /* @__PURE__ */ t(j, { className: "ttw:size-4" }) })
|
|
66
|
-
] }) : /* @__PURE__ */ t(o, { variant: "outline", size: "sm", className: "ttw:h-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", onClick: l(N), children: m._("Add") })
|
|
67
|
-
] }) }) });
|
|
68
|
-
};
|
|
1
|
+
import b from "@emotion/styled/base";
|
|
2
|
+
function t() {
|
|
3
|
+
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
4
|
+
}
|
|
5
|
+
const e = /* @__PURE__ */ b("ul", process.env.NODE_ENV === "production" ? {
|
|
6
|
+
target: "e10it8hw0"
|
|
7
|
+
} : {
|
|
8
|
+
target: "e10it8hw0",
|
|
9
|
+
label: "ColumnList"
|
|
10
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
11
|
+
name: "1932ye7",
|
|
12
|
+
styles: "margin:0;padding:0;list-style:none;li{display:flex;gap:4px;align-items:center;}"
|
|
13
|
+
} : {
|
|
14
|
+
name: "1932ye7",
|
|
15
|
+
styles: "margin:0;padding:0;list-style:none;li{display:flex;gap:4px;align-items:center;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL1Rlc291cm8uUGF5bWVudHMuRnJvbnRlbmRzL1Rlc291cm8uUGF5bWVudHMuRnJvbnRlbmRzL2xpYnMvdGVzb3Vyby1lbWJlZGRlZC1jb21wb25lbnRzLXJlYWN0L21vbml0ZS1zZGsvc3JjL2NvbXBvbmVudHMvYXBwcm92YWxQb2xpY2llcy9BcHByb3ZhbFBvbGljaWVzVGFibGUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVtQyIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay9UZXNvdXJvLlBheW1lbnRzLkZyb250ZW5kcy9UZXNvdXJvLlBheW1lbnRzLkZyb250ZW5kcy9saWJzL3Rlc291cm8tZW1iZWRkZWQtY29tcG9uZW50cy1yZWFjdC9tb25pdGUtc2RrL3NyYy9jb21wb25lbnRzL2FwcHJvdmFsUG9saWNpZXMvQXBwcm92YWxQb2xpY2llc1RhYmxlL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuZXhwb3J0IGNvbnN0IENvbHVtbkxpc3QgPSBzdHlsZWQudWxgXG4gIG1hcmdpbjogMDtcbiAgcGFkZGluZzogMDtcbiAgbGlzdC1zdHlsZTogbm9uZTtcblxuICBsaSB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBnYXA6IDRweDtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICB9XG5gO1xuIl19 */",
|
|
16
|
+
toString: t
|
|
17
|
+
});
|
|
69
18
|
export {
|
|
70
|
-
|
|
19
|
+
e as ColumnList
|
|
71
20
|
};
|
|
@@ -1,49 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
onDelete: d,
|
|
17
|
-
name: p,
|
|
18
|
-
isLoading: u,
|
|
19
|
-
open: h,
|
|
20
|
-
id: n
|
|
21
|
-
}) => {
|
|
22
|
-
const {
|
|
23
|
-
i18n: t
|
|
24
|
-
} = x(), {
|
|
25
|
-
formatCurrencyToDisplay: w
|
|
26
|
-
} = b(), {
|
|
27
|
-
data: s,
|
|
28
|
-
isLoading: o
|
|
29
|
-
} = T({
|
|
30
|
-
measure_unit_id: n ?? ""
|
|
31
|
-
}, !!n), f = s?.data.length === 0, g = () => f ? /* @__PURE__ */ a(m, { children: [
|
|
32
|
-
/* @__PURE__ */ e(r, { children: t._("There are no items created with this measure unit.") }),
|
|
33
|
-
/* @__PURE__ */ e(r, { color: "muted", children: t._("Deleting it won't affect your items.") })
|
|
34
|
-
] }) : /* @__PURE__ */ a(m, { children: [
|
|
35
|
-
/* @__PURE__ */ e(r, { children: t._("Any products or services referencing this unit will update to use a blank unit of measure.") }),
|
|
36
|
-
/* @__PURE__ */ e(r, { color: "muted", children: t._("Previously issued invoices will not be impacted.") }),
|
|
37
|
-
o && /* @__PURE__ */ e(L, { className: "ttw:mx-auto ttw:size-6 ttw:animate-spin" }),
|
|
38
|
-
!o && /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(_, { children: s?.data.map((i) => /* @__PURE__ */ a(D, { className: "ttw:border-border ttw:hover:bg-transparent", children: [
|
|
39
|
-
/* @__PURE__ */ e(l, { className: "ttw:pl-0 ttw:whitespace-normal ttw:text-text ttw:font-medium", children: i.name }),
|
|
40
|
-
/* @__PURE__ */ e(l, { className: "ttw:pr-0 ttw:text-right ttw:text-text ttw:font-medium", children: i.price && w(i.price?.value, i.price?.currency) })
|
|
41
|
-
] }, i.id)) }) })
|
|
42
|
-
] });
|
|
43
|
-
return /* @__PURE__ */ e(y, { open: h, title: t._('Delete "{name}"?', {
|
|
44
|
-
name: p
|
|
45
|
-
}), confirmLabel: t._("Delete"), cancelLabel: t._("Cancel"), onClose: c, onConfirm: d, isLoading: u || o, children: g() });
|
|
46
|
-
};
|
|
1
|
+
import { createElement as H } from "react";
|
|
2
|
+
const e = ({
|
|
3
|
+
color: o = "currentColor",
|
|
4
|
+
size: a,
|
|
5
|
+
...t
|
|
6
|
+
}) => H("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: a,
|
|
9
|
+
height: a,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: o,
|
|
12
|
+
...t
|
|
13
|
+
}, H("path", {
|
|
14
|
+
d: "M14,8h1a1,1,0,0,0,0-2H14a1,1,0,0,0,0,2Zm0,4h1a1,1,0,0,0,0-2H14a1,1,0,0,0,0,2ZM9,8h1a1,1,0,0,0,0-2H9A1,1,0,0,0,9,8Zm0,4h1a1,1,0,0,0,0-2H9a1,1,0,0,0,0,2Zm12,8H20V3a1,1,0,0,0-1-1H5A1,1,0,0,0,4,3V20H3a1,1,0,0,0,0,2H21a1,1,0,0,0,0-2Zm-8,0H11V16h2Zm5,0H15V15a1,1,0,0,0-1-1H10a1,1,0,0,0-1,1v5H6V4H18Z"
|
|
15
|
+
}));
|
|
47
16
|
export {
|
|
48
|
-
|
|
17
|
+
e as UBuilding
|
|
49
18
|
};
|
|
@@ -1,30 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/* @__PURE__ */ i(d, { align: "end", children: [
|
|
17
|
-
o.isUpdateAllowed && /* @__PURE__ */ i(r, { onClick: t, children: [
|
|
18
|
-
/* @__PURE__ */ e(p, {}),
|
|
19
|
-
n._("Edit")
|
|
20
|
-
] }),
|
|
21
|
-
o.isDeleteAllowed && /* @__PURE__ */ i(r, { onClick: l, variant: "destructive", children: [
|
|
22
|
-
/* @__PURE__ */ e(h, {}),
|
|
23
|
-
n._("Delete")
|
|
24
|
-
] })
|
|
25
|
-
] })
|
|
26
|
-
] }) : null;
|
|
27
|
-
};
|
|
1
|
+
import { createElement as l } from "react";
|
|
2
|
+
const a = ({
|
|
3
|
+
color: o = "currentColor",
|
|
4
|
+
size: e,
|
|
5
|
+
...t
|
|
6
|
+
}) => l("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: e,
|
|
9
|
+
height: e,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: o,
|
|
12
|
+
...t
|
|
13
|
+
}, l("path", {
|
|
14
|
+
d: "M21.71,11.29l-5-5A1,1,0,0,0,16,6H5A3,3,0,0,0,2,9v6a3,3,0,0,0,3,3H16a1,1,0,0,0,.71-.29l5-5A1,1,0,0,0,21.71,11.29ZM15.59,16H5a1,1,0,0,1-1-1V9A1,1,0,0,1,5,8H15.59l4,4Z"
|
|
15
|
+
}));
|
|
28
16
|
export {
|
|
29
|
-
|
|
17
|
+
a as ULabel
|
|
30
18
|
};
|
|
@@ -1,24 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
onError: (r) => {
|
|
18
|
-
console.error(r), s.error(o._("Failed to delete Unit."));
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
};
|
|
1
|
+
import { createElement as o } from "react";
|
|
2
|
+
const l = ({
|
|
3
|
+
color: t = "currentColor",
|
|
4
|
+
size: a,
|
|
5
|
+
...e
|
|
6
|
+
}) => o("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: a,
|
|
9
|
+
height: a,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: t,
|
|
12
|
+
...e
|
|
13
|
+
}, o("path", {
|
|
14
|
+
d: "M6,11a1,1,0,1,0,1,1A1,1,0,0,0,6,11Zm12,0a1,1,0,1,0,1,1A1,1,0,0,0,18,11Zm2-6H4A3,3,0,0,0,1,8v8a3,3,0,0,0,3,3H20a3,3,0,0,0,3-3V8A3,3,0,0,0,20,5Zm1,11a1,1,0,0,1-1,1H4a1,1,0,0,1-1-1V8A1,1,0,0,1,4,7H20a1,1,0,0,1,1,1ZM12,9a3,3,0,1,0,3,3A3,3,0,0,0,12,9Zm0,4a1,1,0,1,1,1-1A1,1,0,0,1,12,13Z"
|
|
15
|
+
}));
|
|
22
16
|
export {
|
|
23
|
-
|
|
17
|
+
l as UMoneyBill
|
|
24
18
|
};
|