@tesouro/embedded-components-react 0.2.85 → 0.2.86
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 +19 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +19 -19
- 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 +16 -16
- 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/index120.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +8 -8
- 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 +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +36 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +46 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +29 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +5 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +75 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +32 -2
- 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 +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +486 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +162 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +34 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +54 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +343 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +20 -15
- 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 +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +11 -247
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +10 -179
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +21 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +31 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +35 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +35 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +15 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +17 -30
- 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 +244 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +179 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +18 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +24 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +40 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +54 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +52 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +30 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +97 -72
- 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 +47 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +73 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +44 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +19 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +29 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +41 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +60 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +90 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +104 -483
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +83 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +41 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +342 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +296 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +103 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +155 -73
- 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 +265 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +24 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +2 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +89 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +90 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +191 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +39 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +58 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +29 -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 +113 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +21 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +41 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +51 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +62 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +27 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +124 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +10 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +59 -259
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +22 -23
- 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 +33 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +149 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +17 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +21 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +40 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +13 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +158 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +28 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +27 -169
- 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 +76 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +59 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +44 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +24 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +185 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +106 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +81 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +283 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +46 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +15 -62
- 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 +83 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +220 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +74 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +42 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +20 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +14 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +17 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +169 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +119 -270
- 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 +157 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +12 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +18 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +58 -220
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +63 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +60 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +8 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +61 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +21 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +62 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +14 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +96 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +16 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +74 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +17 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +48 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +9 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +46 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +255 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +46 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +36 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +25 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +6 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +104 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +21 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +20 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +55 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +33 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +24 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +14 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +70 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +94 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +27 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +9 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +32 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +13 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +47 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +34 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +36 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +53 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +15 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +96 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +32 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +5 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +124 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +120 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +16 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +70 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +11 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +12 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +5 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +28 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +38 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +75 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +67 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +33 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +32 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +85 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +22 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +106 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +21 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +26 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +38 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +68 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +44 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +25 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +8 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +17 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +55 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +80 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +54 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +29 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +54 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +37 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +46 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +55 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +72 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +20 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +51 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +17 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +29 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +56 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +39 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +94 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +75 -40
- 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 +20 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +9 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +41 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +36 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +14 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +51 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +81 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +39 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +16 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +48 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +59 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +33 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +32 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +47 -39
- 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 +2 -2
- 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 +19 -19
- 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 +19 -19
- package/package.json +1 -1
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
errors: a,
|
|
14
|
-
defaultCurrency: i = "USD",
|
|
15
|
-
measureUnitsData: m,
|
|
16
|
-
container: c,
|
|
17
|
-
onRequestLineItemValue: n,
|
|
18
|
-
onLineItemValueChange: o,
|
|
19
|
-
onRequestOpenCreateProductDialog: p,
|
|
20
|
-
onUpdateItem: h,
|
|
21
|
-
onRemoveItem: s,
|
|
22
|
-
canRemove: u
|
|
1
|
+
import { jsxs as l, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import * as w from "react";
|
|
3
|
+
import { Badge as d } from "./index244.js";
|
|
4
|
+
import { Button as m } from "./index84.js";
|
|
5
|
+
import { cn as p } from "./index100.js";
|
|
6
|
+
import { XIcon as h } from "lucide-react";
|
|
7
|
+
const g = ({
|
|
8
|
+
className: i,
|
|
9
|
+
value: e,
|
|
10
|
+
onChange: a,
|
|
11
|
+
ref: c,
|
|
12
|
+
...f
|
|
23
13
|
}) => {
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
14
|
+
const [r, n] = w.useState("");
|
|
15
|
+
w.useEffect(() => {
|
|
16
|
+
if (r.includes(",")) {
|
|
17
|
+
const t = /* @__PURE__ */ new Set([...e, ...r.split(",").map((s) => s.trim())]);
|
|
18
|
+
a(Array.from(t)), n("");
|
|
19
|
+
}
|
|
20
|
+
}, [r, a, e]);
|
|
21
|
+
const u = () => {
|
|
22
|
+
if (r) {
|
|
23
|
+
const t = /* @__PURE__ */ new Set([...e, r]);
|
|
24
|
+
a(Array.from(t)), n("");
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
return /* @__PURE__ */ l("div", { className: p(
|
|
28
|
+
// caveat: :has() variant requires tailwind v3.4 or above: https://tailwindcss.com/blog/tailwindcss-v3-4#new-has-variant
|
|
29
|
+
"ttw:has-[:focus-visible]:ttw:outline-none ttw:has-[:focus-visible]:ttw:ring-2 ttw:has-[:focus-visible]:ttw:ring-neutral-950 ttw:has-[:focus-visible]:ttw:ring-offset-2 dark:ttw:has-[:focus-visible]:ttw:ring-neutral-300 ttw:min-h-10 ttw:flex ttw:w-full ttw:flex-wrap ttw:gap-2 ttw:rounded-md ttw:border ttw:border-neutral-200 ttw:bg-white ttw:px-3 ttw:py-2 ttw:text-sm ttw:ring-offset-white ttw:disabled:ttw:cursor-not-allowed ttw:disabled:ttw:opacity-50 dark:ttw:border-neutral-800 dark:ttw:bg-neutral-950 dark:ttw:ring-offset-neutral-950",
|
|
30
|
+
i
|
|
31
|
+
), children: [
|
|
32
|
+
e.map((t) => /* @__PURE__ */ l(d, { variant: "secondary", children: [
|
|
33
|
+
t,
|
|
34
|
+
/* @__PURE__ */ o(m, { variant: "ghost", size: "icon", className: "ttw:ml-2 ttw:h-3 ttw:w-3", onClick: () => {
|
|
35
|
+
a(e.filter((s) => s !== t));
|
|
36
|
+
}, children: /* @__PURE__ */ o(h, { className: "ttw:w-3" }) })
|
|
37
|
+
] }, t)),
|
|
38
|
+
/* @__PURE__ */ o("input", { className: "ttw:flex-1 ttw:outline-none ttw:placeholder:ttw:text-neutral-500 dark:ttw:placeholder:ttw:text-neutral-400", value: r, onChange: (t) => n(t.target.value), onKeyDown: (t) => {
|
|
39
|
+
t.key === "Enter" || t.key === "," ? (t.preventDefault(), u()) : t.key === "Backspace" && r.length === 0 && e.length > 0 && (t.preventDefault(), a(e.slice(0, -1)));
|
|
40
|
+
}, ...f, ref: c })
|
|
42
41
|
] });
|
|
43
|
-
}
|
|
42
|
+
};
|
|
43
|
+
g.displayName = "InputTags";
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
g as InputTags
|
|
46
46
|
};
|
|
@@ -1,27 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
value: l,
|
|
7
|
-
className: a
|
|
8
|
-
}) => /* @__PURE__ */ n("li", { className: i("ttw:flex ttw:justify-between ttw:items-center", a), children: [
|
|
9
|
-
/* @__PURE__ */ t("span", { children: e }),
|
|
10
|
-
/* @__PURE__ */ t("span", { children: l?.toString() })
|
|
11
|
-
] }), u = ({
|
|
12
|
-
subtotalPrice: e,
|
|
13
|
-
totalTaxes: l,
|
|
14
|
-
totalPrice: a
|
|
1
|
+
import { jsx as p } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useTheme as i, Box as n } from "@mui/material";
|
|
3
|
+
const d = ({
|
|
4
|
+
children: a,
|
|
5
|
+
shouldApplyFinanceStyles: r = !1
|
|
15
6
|
}) => {
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
7
|
+
const e = i();
|
|
8
|
+
return /* @__PURE__ */ p(n, { sx: {
|
|
9
|
+
background: `linear-gradient(180deg, ${e.palette.primary.light} 0%, ${e.palette.background.paper} 100%)`,
|
|
10
|
+
display: "flex",
|
|
11
|
+
flexDirection: "column",
|
|
12
|
+
gap: 1,
|
|
13
|
+
px: 3,
|
|
14
|
+
py: r ? 3 : 2.5,
|
|
15
|
+
width: "100%",
|
|
16
|
+
minHeight: "auto",
|
|
17
|
+
borderRadius: "16px",
|
|
18
|
+
boxShadow: "0 16px 24px 0 rgba(0, 0, 0, 0.02)",
|
|
19
|
+
border: r ? "none" : `1px solid ${e.palette.divider}`
|
|
20
|
+
}, children: a });
|
|
24
21
|
};
|
|
25
22
|
export {
|
|
26
|
-
|
|
23
|
+
d as FinanceBannerWrapper
|
|
27
24
|
};
|
|
@@ -1,191 +1,20 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import "react-dom";
|
|
8
|
-
import "@mui/x-data-grid";
|
|
9
|
-
import { Combobox as se, ComboboxInput as oe, ComboboxContent as le, ComboboxList as me, ComboboxItem as b, ComboboxSeparator as ue } from "./index90.js";
|
|
10
|
-
import { InputGroupAddon as ce } from "./index101.js";
|
|
11
|
-
import { Loader2 as E, Plus as de } from "lucide-react";
|
|
12
|
-
const y = "__create-new__", u = "custom", Ne = ({
|
|
13
|
-
fieldName: i,
|
|
14
|
-
error: F,
|
|
15
|
-
disabled: z,
|
|
16
|
-
index: B = 0,
|
|
17
|
-
defaultCurrency: G,
|
|
18
|
-
measureUnits: _,
|
|
19
|
-
container: H,
|
|
20
|
-
onCreateItem: M,
|
|
21
|
-
onChange: o
|
|
1
|
+
import { jsxs as n, Fragment as i, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as t } from "react";
|
|
3
|
+
import { Dialog as s } from "./index50.js";
|
|
4
|
+
import { FinanceFaqDetails as l } from "./index343.js";
|
|
5
|
+
const d = ({
|
|
6
|
+
children: e
|
|
22
7
|
}) => {
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
formatCurrencyToDisplay: T
|
|
29
|
-
} = re(), {
|
|
30
|
-
data: P,
|
|
31
|
-
isLoading: R,
|
|
32
|
-
fetchNextPage: U,
|
|
33
|
-
hasNextPage: j,
|
|
34
|
-
isFetchingNextPage: k
|
|
35
|
-
} = Q.finops.getProducts.useInfiniteQuery({
|
|
36
|
-
query: {
|
|
37
|
-
limit: 20,
|
|
38
|
-
currency: D
|
|
39
|
-
}
|
|
40
|
-
}, {
|
|
41
|
-
initialPageParam: {
|
|
42
|
-
query: {
|
|
43
|
-
pagination_token: void 0
|
|
8
|
+
const [a, r] = t(!1);
|
|
9
|
+
return /* @__PURE__ */ n(i, { children: [
|
|
10
|
+
e({
|
|
11
|
+
openModal: () => {
|
|
12
|
+
r(!0);
|
|
44
13
|
}
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
if (e.next_pagination_token)
|
|
48
|
-
return {
|
|
49
|
-
query: {
|
|
50
|
-
pagination_token: e.next_pagination_token
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
},
|
|
54
|
-
enabled: !!D
|
|
55
|
-
}), W = f((e) => {
|
|
56
|
-
const {
|
|
57
|
-
scrollTop: n,
|
|
58
|
-
scrollHeight: m,
|
|
59
|
-
clientHeight: $
|
|
60
|
-
} = e.currentTarget;
|
|
61
|
-
m - n - $ < 100 && j && !k && U();
|
|
62
|
-
}, [U, j, k]), l = C(() => P ? P.pages.flatMap((e) => e.data).sort((e, n) => (e.name ?? "").localeCompare(n.name ?? "")) : [], [P]), r = C(() => !l || l.length === 0 ? [] : l.map((e) => {
|
|
63
|
-
const n = _ ? _.data.find((m) => m.id === e.measure_unit_id) : void 0;
|
|
64
|
-
return {
|
|
65
|
-
id: e.id,
|
|
66
|
-
label: e.name,
|
|
67
|
-
description: e.description,
|
|
68
|
-
price: e.price,
|
|
69
|
-
smallestAmount: e.smallest_amount,
|
|
70
|
-
measureUnit: n
|
|
71
|
-
};
|
|
72
|
-
}), [l, _, i]);
|
|
73
|
-
ne(() => {
|
|
74
|
-
!v && i && i.length > 0 && !t.length && (l?.find((e) => e?.name === i) || h(i));
|
|
75
|
-
}, [i, v, l, t]);
|
|
76
|
-
const J = f(() => {
|
|
77
|
-
O(!0), d(!0);
|
|
78
|
-
}, []), X = f(() => {
|
|
79
|
-
O(!1), t && t.trim() !== "" && !r.some((e) => e.label === t) && o({
|
|
80
|
-
id: u,
|
|
81
|
-
label: t
|
|
82
|
-
}, !1);
|
|
83
|
-
}, [t, r, o]);
|
|
84
|
-
let s = l?.find((e) => e?.id === K);
|
|
85
|
-
if (!v && i && i.length > 0 && !t.length && !s) {
|
|
86
|
-
const e = l?.find(
|
|
87
|
-
(n) => n?.name === i
|
|
88
|
-
// potentially item?.product.name, double check
|
|
89
|
-
);
|
|
90
|
-
e && (s = e);
|
|
91
|
-
}
|
|
92
|
-
const Y = s ? s.id : t ? u : null, L = s ? s.name : t, {
|
|
93
|
-
matchingItems: g,
|
|
94
|
-
nonMatchingItems: q,
|
|
95
|
-
showCustomOption: S
|
|
96
|
-
} = C(() => {
|
|
97
|
-
const e = L.toLowerCase().trim();
|
|
98
|
-
if (!e || s && s.name.toLowerCase() === e)
|
|
99
|
-
return {
|
|
100
|
-
matchingItems: r,
|
|
101
|
-
nonMatchingItems: [],
|
|
102
|
-
showCustomOption: !1
|
|
103
|
-
};
|
|
104
|
-
const n = [], m = [];
|
|
105
|
-
for (const p of r)
|
|
106
|
-
p.label.toLowerCase().includes(e) ? n.push(p) : m.push(p);
|
|
107
|
-
const $ = n.some((p) => p.label.toLowerCase() === e);
|
|
108
|
-
return {
|
|
109
|
-
matchingItems: n,
|
|
110
|
-
nonMatchingItems: m,
|
|
111
|
-
showCustomOption: !$ && !!t.trim()
|
|
112
|
-
};
|
|
113
|
-
}, [L, r, s, t]), Z = C(() => [
|
|
114
|
-
y,
|
|
115
|
-
...r.map((e) => e.id),
|
|
116
|
-
// Always include CUSTOM_ID when there's a custom name so Base UI tracks
|
|
117
|
-
// it as the selected value and shows the clear button. The visible
|
|
118
|
-
// ComboboxItem is still gated by showCustomOption.
|
|
119
|
-
...t ? [u] : []
|
|
120
|
-
], [r, t]), V = f((e) => {
|
|
121
|
-
if (!e) {
|
|
122
|
-
N(null), h(""), o({
|
|
123
|
-
id: "",
|
|
124
|
-
label: ""
|
|
125
|
-
}, !1);
|
|
126
|
-
return;
|
|
127
|
-
}
|
|
128
|
-
if (e === y) {
|
|
129
|
-
M();
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
if (e === u) {
|
|
133
|
-
w.current = !0, o({
|
|
134
|
-
id: u,
|
|
135
|
-
label: t
|
|
136
|
-
}, !1);
|
|
137
|
-
return;
|
|
138
|
-
}
|
|
139
|
-
const n = r.find((m) => m.id === e);
|
|
140
|
-
n && (N(n.id), h(""), o(n, !0));
|
|
141
|
-
}, [t, r, o, M]), ee = f((e) => {
|
|
142
|
-
if (e !== y && e !== u && !r.some((n) => n.id === e)) {
|
|
143
|
-
if (!e && w.current) {
|
|
144
|
-
w.current = !1;
|
|
145
|
-
return;
|
|
146
|
-
}
|
|
147
|
-
h(e), N(null), e.trim() && o({
|
|
148
|
-
id: u,
|
|
149
|
-
label: e
|
|
150
|
-
}, !1);
|
|
151
|
-
}
|
|
152
|
-
}, [r, o]);
|
|
153
|
-
return /* @__PURE__ */ c(se, { value: Y, onValueChange: V, inputValue: L, onInputValueChange: ee, items: Z, filter: () => !0, disabled: z, open: I, onOpenChange: d, children: [
|
|
154
|
-
/* @__PURE__ */ a(oe, { id: `item-selector-${B}`, placeholder: A._("e.g., office supplies"), "aria-invalid": F || void 0, maxLength: 100, onFocus: J, onBlur: X, onClick: () => {
|
|
155
|
-
I || d(!0);
|
|
156
|
-
}, onKeyDown: (e) => {
|
|
157
|
-
e.key === "Enter" ? (e.preventDefault(), t.trim() && (w.current = !0), d(!1)) : e.key === "Tab" && I && g.length === 1 && (V(g[0].id), d(!1));
|
|
158
|
-
}, showClear: !0, className: "ttw:w-full", children: R && /* @__PURE__ */ a(ce, { align: "inline-start", children: /* @__PURE__ */ a(E, { className: "ttw:size-4 ttw:animate-spin ttw:text-muted-foreground" }) }) }),
|
|
159
|
-
/* @__PURE__ */ a(le, { container: H, className: "ttw:min-w-138", children: /* @__PURE__ */ c(me, { onScroll: W, children: [
|
|
160
|
-
/* @__PURE__ */ c(b, { value: y, className: "ttw:text-primary ttw:font-semibold ttw:hover:text-primary ttw:focus:text-primary", children: [
|
|
161
|
-
/* @__PURE__ */ a(de, {}),
|
|
162
|
-
A._("Create new item")
|
|
163
|
-
] }),
|
|
164
|
-
g.map((e) => /* @__PURE__ */ c(b, { value: e.id, children: [
|
|
165
|
-
/* @__PURE__ */ a("span", { className: "ttw:flex-1 ttw:min-w-0 ttw:truncate", children: e.label }),
|
|
166
|
-
/* @__PURE__ */ c("span", { className: "ttw:shrink-0 ttw:text-right ttw:text-xs ttw:text-muted-foreground", children: [
|
|
167
|
-
e.smallestAmount,
|
|
168
|
-
" ",
|
|
169
|
-
e.measureUnit?.description,
|
|
170
|
-
e.price && ` / ${T(e.price.value, e.price.currency)}`
|
|
171
|
-
] })
|
|
172
|
-
] }, e.id)),
|
|
173
|
-
S && /* @__PURE__ */ a(b, { value: u, children: /* @__PURE__ */ a("span", { className: "ttw:flex-1 ttw:min-w-0 ttw:truncate", children: t }) }),
|
|
174
|
-
(g.length > 0 || S) && q.length > 0 && /* @__PURE__ */ a(ue, {}),
|
|
175
|
-
q.map((e) => /* @__PURE__ */ c(b, { value: e.id, children: [
|
|
176
|
-
/* @__PURE__ */ a("span", { className: "ttw:flex-1 ttw:min-w-0 ttw:truncate", children: e.label }),
|
|
177
|
-
/* @__PURE__ */ c("span", { className: "ttw:shrink-0 ttw:text-right ttw:text-xs ttw:text-muted-foreground", children: [
|
|
178
|
-
e.smallestAmount,
|
|
179
|
-
" ",
|
|
180
|
-
e.measureUnit?.description,
|
|
181
|
-
e.price && ` / ${T(e.price.value, e.price.currency)}`
|
|
182
|
-
] })
|
|
183
|
-
] }, e.id)),
|
|
184
|
-
k && /* @__PURE__ */ a("div", { className: "ttw:flex ttw:justify-center ttw:py-1", children: /* @__PURE__ */ a(E, { className: "ttw:size-4 ttw:animate-spin ttw:text-muted-foreground" }) })
|
|
185
|
-
] }) })
|
|
14
|
+
}),
|
|
15
|
+
/* @__PURE__ */ o(s, { open: a, onClose: () => r(!1), alignDialog: "right", children: /* @__PURE__ */ o(l, {}) })
|
|
186
16
|
] });
|
|
187
17
|
};
|
|
188
18
|
export {
|
|
189
|
-
|
|
190
|
-
Ne as ItemSelector
|
|
19
|
+
d as FinanceFaqWrapper
|
|
191
20
|
};
|
|
@@ -1,110 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import "./index92.js";
|
|
6
|
-
import "@emotion/react/jsx-runtime";
|
|
7
|
-
import "@lingui/react";
|
|
8
|
-
import "react-dom";
|
|
9
|
-
import "./index57.js";
|
|
10
|
-
import "@mui/x-data-grid";
|
|
11
|
-
import { useIsMounted as O } from "./index68.js";
|
|
12
|
-
import { generateUniqueId as j } from "./index417.js";
|
|
13
|
-
import { useFormContext as B, useFieldArray as G } from "react-hook-form";
|
|
14
|
-
const ue = ({
|
|
15
|
-
defaultCurrency: f,
|
|
16
|
-
isInclusivePricing: x
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useTheme as s, Box as o } from "@mui/material";
|
|
3
|
+
const d = ({
|
|
4
|
+
progress: i
|
|
17
5
|
}) => {
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
append: c,
|
|
31
|
-
remove: y
|
|
32
|
-
} = G({
|
|
33
|
-
control: C,
|
|
34
|
-
name: "line_items",
|
|
35
|
-
shouldUnregister: !1
|
|
36
|
-
}), d = O(), i = k(!1), [v, P] = z(!1), b = h("line_items"), V = h("tax_rate"), T = N(b), {
|
|
37
|
-
formatCurrencyToDisplay: A
|
|
38
|
-
} = W(), {
|
|
39
|
-
subtotalPrice: D,
|
|
40
|
-
totalPrice: L,
|
|
41
|
-
totalTaxes: R
|
|
42
|
-
} = $({
|
|
43
|
-
lineItems: T,
|
|
44
|
-
actualCurrency: f,
|
|
45
|
-
isInclusivePricing: x,
|
|
46
|
-
formatCurrencyToDisplay: A,
|
|
47
|
-
taxRate: Number(V) || void 0
|
|
48
|
-
}), n = u((e) => {
|
|
49
|
-
const t = {
|
|
50
|
-
name: e?.product?.name || "",
|
|
51
|
-
price: {
|
|
52
|
-
currency: f,
|
|
53
|
-
value: e?.product?.price?.value || 0
|
|
54
|
-
},
|
|
55
|
-
measure_unit_id: e?.product?.measure_unit_id || "",
|
|
56
|
-
type: e?.product?.type || "product"
|
|
57
|
-
};
|
|
58
|
-
return {
|
|
59
|
-
id: e?.id ?? j(),
|
|
60
|
-
product_id: e?.product_id || "",
|
|
61
|
-
product: t,
|
|
62
|
-
quantity: e?.quantity ?? 1,
|
|
63
|
-
tax_rate_value: e?.tax_rate_value ? e?.tax_rate_value ?? 0 : void 0,
|
|
64
|
-
...e?.measure_unit ? {
|
|
65
|
-
measure_unit: e.measure_unit
|
|
66
|
-
} : {},
|
|
67
|
-
taxable: !0
|
|
68
|
-
};
|
|
69
|
-
}, [f]), S = u(() => {
|
|
70
|
-
if (i.current) return;
|
|
71
|
-
i.current = !0, c(n());
|
|
72
|
-
const e = r("line_items");
|
|
73
|
-
e && e.length > 0 && m(`line_items.${e.length - 1}`);
|
|
74
|
-
}, [c, n, r, m]);
|
|
75
|
-
I(() => {
|
|
76
|
-
i.current && Promise.resolve().then(() => {
|
|
77
|
-
d.current && (i.current = !1);
|
|
78
|
-
});
|
|
79
|
-
}, [a.length, d]), I(() => {
|
|
80
|
-
!d.current || v || !r("line_items")?.length && !i.current && (i.current = !0, c(n()), P(!0));
|
|
81
|
-
}, [d, v, r, c, n]);
|
|
82
|
-
const q = u((e) => y(e), [y, r]), E = u(() => {
|
|
83
|
-
const e = r("line_items");
|
|
84
|
-
if (!e?.length) return;
|
|
85
|
-
const t = e.filter((s) => !!s?.product?.name?.trim()), p = e.find((s) => !s?.product?.name?.trim()), _ = t.length > 0 ? t : e.length > 0 ? [n(p || void 0)] : [];
|
|
86
|
-
(_.length !== e.length || !_.every((s, U) => s.id === e[U]?.id)) && (m("line_items"), l("line_items", _, {
|
|
87
|
-
shouldValidate: !1,
|
|
88
|
-
shouldDirty: !0
|
|
89
|
-
}));
|
|
90
|
-
}, [r, l, m, n]), F = u((e, t, p) => {
|
|
91
|
-
l(e, t, {
|
|
92
|
-
shouldDirty: !0,
|
|
93
|
-
...p
|
|
94
|
-
}), p?.shouldValidate && g(e);
|
|
95
|
-
}, [l, g]), M = JSON.stringify(o.line_items), w = J(() => Array.isArray(o.line_items) ? a.map((e, t) => o.line_items?.[t] ?? {}) : a.map(() => ({})), [o.line_items, M, a]);
|
|
96
|
-
return {
|
|
97
|
-
fields: a,
|
|
98
|
-
subtotalPrice: D,
|
|
99
|
-
totalPrice: L,
|
|
100
|
-
totalTaxes: R,
|
|
101
|
-
lineItemErrors: w,
|
|
102
|
-
handleAddRow: S,
|
|
103
|
-
handleRemoveItem: q,
|
|
104
|
-
setValueWithValidationLocal: F,
|
|
105
|
-
cleanUpLineItemsForSubmission: E
|
|
106
|
-
};
|
|
6
|
+
const r = s();
|
|
7
|
+
return /* @__PURE__ */ e(o, { sx: {
|
|
8
|
+
backgroundColor: r.palette.divider,
|
|
9
|
+
width: "100%",
|
|
10
|
+
height: "6px",
|
|
11
|
+
borderRadius: 0.5
|
|
12
|
+
}, children: /* @__PURE__ */ e(o, { sx: {
|
|
13
|
+
backgroundColor: r.palette.primary.main,
|
|
14
|
+
width: `${i}%`,
|
|
15
|
+
height: "6px",
|
|
16
|
+
borderRadius: 0.5
|
|
17
|
+
} }) });
|
|
107
18
|
};
|
|
108
19
|
export {
|
|
109
|
-
|
|
20
|
+
d as FinanceProgressBar
|
|
110
21
|
};
|