@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,37 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
i18n: r
|
|
11
|
-
} = d();
|
|
12
|
-
return e.finops.postApprovalRequestsIdApprove.useMutation({
|
|
13
|
-
path: {
|
|
14
|
-
approval_request_id: i
|
|
15
|
-
}
|
|
16
|
-
}, {
|
|
17
|
-
onSuccess: () => (e.finops.getApprovalRequests.invalidateQueries(o), a.success(r._('Payable "{document_id}" has been approved', {
|
|
18
|
-
document_id: n ?? "document id is unknown"
|
|
19
|
-
})), p?.(t ?? ""), new Promise((s) => {
|
|
20
|
-
setTimeout(() => {
|
|
21
|
-
Promise.all([e.finops.getPayablesId.invalidateQueries({
|
|
22
|
-
parameters: {
|
|
23
|
-
path: {
|
|
24
|
-
payable_id: t ?? ""
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}, o), e.finops.getPayables.invalidateQueries(o)]).then(() => s());
|
|
28
|
-
}, 500);
|
|
29
|
-
})),
|
|
30
|
-
onError: (s) => {
|
|
31
|
-
a.error(m(r, s));
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
};
|
|
1
|
+
const e = {
|
|
2
|
+
singleUser: (s) => s._("Single user"),
|
|
3
|
+
anyUserFromList: (s) => s._("Any user from the list"),
|
|
4
|
+
anyUsersFromList: (s, r) => s._("Any {count} users from the list", {
|
|
5
|
+
count: r.toString()
|
|
6
|
+
}),
|
|
7
|
+
anyUserWithRole: (s) => s._("Any user with role"),
|
|
8
|
+
allUsersFromList: (s) => s._("All users from list, one by one")
|
|
9
|
+
}, t = (s, r = 0) => r === 1 ? e.anyUserFromList(s) : e.anyUsersFromList(s, r);
|
|
35
10
|
export {
|
|
36
|
-
|
|
11
|
+
e as getSharedApprovalRuleLabel,
|
|
12
|
+
t as getUsersFromListLabel
|
|
37
13
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as n } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as i } from "./
|
|
2
|
+
import { getAPIErrorMessage as i } from "./index121.js";
|
|
3
3
|
import { useLingui as a } from "@lingui/react";
|
|
4
4
|
import { toast as o } from "react-hot-toast";
|
|
5
5
|
const c = () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as t } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as n } from "./
|
|
2
|
+
import { getAPIErrorMessage as n } from "./index121.js";
|
|
3
3
|
import { useLingui as a } from "@lingui/react";
|
|
4
4
|
import { toast as s } from "react-hot-toast";
|
|
5
5
|
const c = () => {
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
if (
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const o = ["draft", "new", "waiting_to_be_paid", "approve_in_progress"], s = (n) => {
|
|
2
|
+
if (!n.due_date) return 0;
|
|
3
|
+
const e = /* @__PURE__ */ new Date();
|
|
4
|
+
e.setUTCHours(0, 0, 0, 0);
|
|
5
|
+
const t = new Date(n.due_date);
|
|
6
|
+
if (t.setUTCHours(0, 0, 0, 0), t.getTime() === e.getTime()) return 0;
|
|
7
|
+
const r = o.includes(n.status), i = t.getTime() < e.getTime();
|
|
8
|
+
return !r || !i ? 0 : Math.floor((e.getTime() - t.getTime()) / 864e5);
|
|
9
|
+
};
|
|
5
10
|
export {
|
|
6
|
-
|
|
11
|
+
s as getInvoiceOverdueDays
|
|
7
12
|
};
|
|
@@ -1,77 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import { formatMinorToMajorCurrency as n, parseMajorToMinorCurrency as P } from "./index338.js";
|
|
11
|
-
const J = ({
|
|
12
|
-
value: i,
|
|
13
|
-
error: v = !1,
|
|
14
|
-
currency: m,
|
|
15
|
-
disabled: w = !1,
|
|
16
|
-
onChange: u,
|
|
17
|
-
locale: x
|
|
18
|
-
}) => {
|
|
19
|
-
const {
|
|
20
|
-
getSymbolFromCurrency: y
|
|
21
|
-
} = N(), {
|
|
22
|
-
i18n: M
|
|
23
|
-
} = G(), e = x ?? M.locale, o = d(() => new Intl.NumberFormat(e, {
|
|
24
|
-
minimumFractionDigits: 2,
|
|
25
|
-
maximumFractionDigits: 2
|
|
26
|
-
}), [e]), {
|
|
27
|
-
decimalSeparator: F,
|
|
28
|
-
groupSeparator: S
|
|
29
|
-
} = d(() => {
|
|
30
|
-
const r = new Intl.NumberFormat(e).formatToParts(12345.67);
|
|
31
|
-
return {
|
|
32
|
-
decimalSeparator: r.find((t) => t.type === "decimal")?.value || ".",
|
|
33
|
-
groupSeparator: r.find((t) => t.type === "group")?.value || ""
|
|
34
|
-
};
|
|
35
|
-
}, [e]), [s, a] = g(n(i, o)), [l, p] = g(!1);
|
|
36
|
-
j(() => {
|
|
37
|
-
if (!l) {
|
|
38
|
-
const r = n(i, o);
|
|
39
|
-
r !== s && a(r);
|
|
40
|
-
}
|
|
41
|
-
}, [i, l, e, o, s]);
|
|
42
|
-
const b = (r) => {
|
|
43
|
-
const t = r.target.value;
|
|
44
|
-
a(t);
|
|
45
|
-
}, h = () => {
|
|
46
|
-
p(!0);
|
|
47
|
-
}, C = (r) => {
|
|
48
|
-
p(!1);
|
|
49
|
-
const t = r.target.value.trim();
|
|
50
|
-
if (t === "") {
|
|
51
|
-
a(n(0, o)), u(0);
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
const c = P(t, F, S);
|
|
55
|
-
a(n(c, o)), u(c);
|
|
56
|
-
};
|
|
57
|
-
return /* @__PURE__ */ I(T, { className: "ttw:max-w-41 ttw:w-full ttw:min-w-29", children: [
|
|
58
|
-
/* @__PURE__ */ f($, { align: "inline-start", children: y(m) || m }),
|
|
59
|
-
/* @__PURE__ */ f(
|
|
60
|
-
D,
|
|
61
|
-
{
|
|
62
|
-
type: "text",
|
|
63
|
-
inputMode: "decimal",
|
|
64
|
-
className: "ttw:text-right",
|
|
65
|
-
"aria-invalid": v || void 0,
|
|
66
|
-
disabled: w,
|
|
67
|
-
value: s,
|
|
68
|
-
onChange: b,
|
|
69
|
-
onFocus: h,
|
|
70
|
-
onBlur: C
|
|
71
|
-
}
|
|
72
|
-
)
|
|
73
|
-
] });
|
|
74
|
-
};
|
|
1
|
+
import { getCountries as i } from "./index93.js";
|
|
2
|
+
const o = (n, e) => e.find((a) => a.id === n)?.name ?? null, r = (n) => {
|
|
3
|
+
if (n) {
|
|
4
|
+
if ("organization" in n)
|
|
5
|
+
return n.organization.phone;
|
|
6
|
+
if ("individual" in n)
|
|
7
|
+
return n.individual.phone;
|
|
8
|
+
}
|
|
9
|
+
}, u = (n, e) => e ? i(n)[e] ?? e : "";
|
|
75
10
|
export {
|
|
76
|
-
|
|
11
|
+
r as getCounterpartPhone,
|
|
12
|
+
u as getCountryName,
|
|
13
|
+
o as getMeasureUnitName
|
|
77
14
|
};
|
|
@@ -1,70 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { InputGroup as N, InputGroupAddon as v, InputGroupButton as y, InputGroupInput as B } from "./index101.js";
|
|
6
|
-
const I = (e) => Math.round(e * 100) / 100, b = (e) => {
|
|
7
|
-
let t = e.replace(/[^0-9.]/g, "");
|
|
8
|
-
const n = t.indexOf(".");
|
|
9
|
-
return n !== -1 && (t = t.slice(0, n + 1) + t.slice(n + 1).replace(/\./g, ""), t = t.slice(0, n + 3)), t;
|
|
10
|
-
}, E = ({
|
|
11
|
-
field: e,
|
|
12
|
-
index: t,
|
|
13
|
-
canRemove: n,
|
|
14
|
-
hasProduct: s,
|
|
15
|
-
hasQuantityError: m,
|
|
16
|
-
onLineItemValueChange: l,
|
|
17
|
-
onRemoveItem: d
|
|
18
|
-
}) => {
|
|
19
|
-
const i = Math.max(0, Number(e.value) || 0), w = n ? 0 : 1, [p, c] = x(i === 0 ? "" : String(i)), [h, f] = x(!1);
|
|
20
|
-
q(() => {
|
|
21
|
-
if (!h) {
|
|
22
|
-
const r = i === 0 ? "" : String(i);
|
|
23
|
-
r !== p && c(r);
|
|
24
|
-
}
|
|
25
|
-
}, [i, h, p]);
|
|
26
|
-
const g = (r) => {
|
|
27
|
-
const a = I(r);
|
|
28
|
-
if (a <= 0 && n) {
|
|
29
|
-
d(t);
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
const u = Math.max(w, a);
|
|
33
|
-
l("quantity", u, {
|
|
34
|
-
shouldValidate: !0
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
return /* @__PURE__ */ V(N, { className: "ttw:w-26 ttw:min-w-26 ttw:has-[>[data-align=inline-start]]:[&>input]:pl-0 ttw:has-[>[data-align=inline-end]]:[&>input]:pr-0", children: [
|
|
38
|
-
/* @__PURE__ */ o(v, { align: "inline-start", children: /* @__PURE__ */ o(y, { type: "button", size: "icon-xs", disabled: !s || !n && i <= 1, onClick: () => g(i - 1), children: /* @__PURE__ */ o(R, {}) }) }),
|
|
39
|
-
/* @__PURE__ */ o(B, { ref: e.ref, name: e.name, type: "text", inputMode: "decimal", "aria-invalid": m || void 0, value: p, className: "ttw:text-center ttw:px-0", onFocus: () => f(!0), onChange: (r) => {
|
|
40
|
-
const a = b(r.target.value);
|
|
41
|
-
c(a);
|
|
42
|
-
const u = a === "" || a === "." ? 0 : Number(a);
|
|
43
|
-
l("quantity", u, {
|
|
44
|
-
shouldValidate: !1
|
|
45
|
-
});
|
|
46
|
-
}, onBlur: (r) => {
|
|
47
|
-
f(!1);
|
|
48
|
-
const a = b(r.target.value), u = a === "" || a === "." ? 0 : I(Number(a));
|
|
49
|
-
u <= 0 ? n ? d(t) : (c("1"), l("quantity", 1, {
|
|
50
|
-
shouldValidate: !0
|
|
51
|
-
})) : (c(String(u)), l("quantity", u, {
|
|
52
|
-
shouldValidate: !0
|
|
53
|
-
})), e.onBlur();
|
|
54
|
-
} }),
|
|
55
|
-
/* @__PURE__ */ o(v, { align: "inline-end", children: /* @__PURE__ */ o(y, { type: "button", size: "icon-xs", disabled: !s, onClick: () => g(i + 1), children: /* @__PURE__ */ o(M, {}) }) })
|
|
56
|
-
] });
|
|
57
|
-
}, z = ({
|
|
58
|
-
index: e,
|
|
59
|
-
control: t,
|
|
60
|
-
quantityError: n,
|
|
61
|
-
canRemove: s,
|
|
62
|
-
hasProduct: m,
|
|
63
|
-
onLineItemValueChange: l,
|
|
64
|
-
onRemoveItem: d
|
|
65
|
-
}) => /* @__PURE__ */ o(C, { name: `line_items.${e}.quantity`, control: t, render: ({
|
|
66
|
-
field: i
|
|
67
|
-
}) => /* @__PURE__ */ o(E, { field: i, index: e, canRemove: s, hasProduct: m, hasQuantityError: n, onLineItemValueChange: l, onRemoveItem: d }) });
|
|
1
|
+
function r(l, e) {
|
|
2
|
+
if (l !== void 0) return l;
|
|
3
|
+
if (e !== void 0) return null;
|
|
4
|
+
}
|
|
68
5
|
export {
|
|
69
|
-
|
|
6
|
+
r as resolveNullableUpdate
|
|
70
7
|
};
|
|
@@ -1,41 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/* @__PURE__ */ t(l, { value: "create", className: "ttw:text-primary ttw:hover:text-primary ttw:font-semibold ttw:focus:text-primary", children: [
|
|
29
|
-
/* @__PURE__ */ a(b, { className: "ttw:text-primary" }),
|
|
30
|
-
r._("Manage measure units")
|
|
31
|
-
] }),
|
|
32
|
-
/* @__PURE__ */ a(l, { value: s, children: r._("None") }),
|
|
33
|
-
o?.map((e) => /* @__PURE__ */ a(l, { value: e.id, children: e.name }, e.id))
|
|
34
|
-
] })
|
|
35
|
-
] }),
|
|
36
|
-
p && /* @__PURE__ */ a(v, { open: !0, handleClose: () => i(!1) })
|
|
37
|
-
] });
|
|
1
|
+
import { useRef as t, useEffect as p } from "react";
|
|
2
|
+
import "./index57.js";
|
|
3
|
+
import "@lingui/react";
|
|
4
|
+
import "react-hot-toast";
|
|
5
|
+
import "./index92.js";
|
|
6
|
+
import "@emotion/react/jsx-runtime";
|
|
7
|
+
import "react-dom";
|
|
8
|
+
import "@mui/x-data-grid";
|
|
9
|
+
import { useIsMounted as d } from "./index68.js";
|
|
10
|
+
const z = (o, s = 50) => {
|
|
11
|
+
const c = t(o), e = t(void 0), r = t(void 0), i = d();
|
|
12
|
+
c.current = o;
|
|
13
|
+
const m = (u) => {
|
|
14
|
+
!u || typeof window > "u" || (r.current && r.current.disconnect(), r.current = new ResizeObserver(() => {
|
|
15
|
+
e.current && clearTimeout(e.current), e.current = setTimeout(() => {
|
|
16
|
+
i.current && c.current();
|
|
17
|
+
}, s);
|
|
18
|
+
}), r.current.observe(u));
|
|
19
|
+
}, n = () => {
|
|
20
|
+
r.current && r.current.disconnect(), e.current && clearTimeout(e.current);
|
|
21
|
+
};
|
|
22
|
+
return p(() => () => {
|
|
23
|
+
n();
|
|
24
|
+
}, []), {
|
|
25
|
+
observe: m,
|
|
26
|
+
disconnect: n
|
|
27
|
+
};
|
|
38
28
|
};
|
|
39
29
|
export {
|
|
40
|
-
|
|
30
|
+
z as useResizeObserver
|
|
41
31
|
};
|
|
@@ -1,14 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { useRef as u, useEffect as s } from "react";
|
|
2
|
+
import "./index57.js";
|
|
3
|
+
import "@lingui/react";
|
|
4
|
+
import "react-hot-toast";
|
|
5
|
+
import "./index92.js";
|
|
6
|
+
import "@emotion/react/jsx-runtime";
|
|
7
|
+
import "react-dom";
|
|
8
|
+
import "@mui/x-data-grid";
|
|
9
|
+
import { useIsMounted as m } from "./index68.js";
|
|
10
|
+
const E = (r, t = 100) => {
|
|
11
|
+
const o = u(r), e = u(void 0), i = m();
|
|
12
|
+
o.current = r, s(() => {
|
|
13
|
+
if (typeof window > "u") return;
|
|
14
|
+
const n = () => {
|
|
15
|
+
e.current && clearTimeout(e.current), e.current = setTimeout(() => {
|
|
16
|
+
i.current && o.current();
|
|
17
|
+
}, t);
|
|
18
|
+
};
|
|
19
|
+
return window.addEventListener("resize", n), () => {
|
|
20
|
+
window.removeEventListener("resize", n), e.current && clearTimeout(e.current);
|
|
21
|
+
};
|
|
22
|
+
}, [t, i]);
|
|
23
|
+
};
|
|
10
24
|
export {
|
|
11
|
-
|
|
12
|
-
u as getCountryName,
|
|
13
|
-
o as getMeasureUnitName
|
|
25
|
+
E as useWindowResize
|
|
14
26
|
};
|
|
@@ -1,35 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
function d(e) {
|
|
8
|
-
return JSON.stringify({
|
|
9
|
-
name: e.name,
|
|
10
|
-
description: e.description ?? null,
|
|
11
|
-
term_final: {
|
|
12
|
-
number_of_days: e.term_final?.number_of_days ?? null
|
|
13
|
-
},
|
|
14
|
-
term_1: s(e.term_1),
|
|
15
|
-
term_2: s(e.term_2)
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
function a(e) {
|
|
19
|
-
const t = /* @__PURE__ */ new Map(), r = [], u = /* @__PURE__ */ new Map();
|
|
20
|
-
for (const n of e) {
|
|
21
|
-
const o = d(n), i = t.get(o);
|
|
22
|
-
if (!i) {
|
|
23
|
-
t.set(o, n.id), r.push(n);
|
|
24
|
-
continue;
|
|
25
|
-
}
|
|
26
|
-
u.set(n.id, i);
|
|
1
|
+
import { useState as p, useEffect as f } from "react";
|
|
2
|
+
const s = {
|
|
3
|
+
inches: {
|
|
4
|
+
width: 8.27,
|
|
5
|
+
height: 11.69
|
|
27
6
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
7
|
+
}, y = () => {
|
|
8
|
+
const [h, r] = p({
|
|
9
|
+
width: 794,
|
|
10
|
+
height: 1123,
|
|
11
|
+
dpi: 96
|
|
12
|
+
});
|
|
13
|
+
return f(() => {
|
|
14
|
+
if (typeof window > "u") return;
|
|
15
|
+
const t = () => {
|
|
16
|
+
const c = [72, 96, 120, 144, 192, 240, 288, 384];
|
|
17
|
+
let n = 96;
|
|
18
|
+
for (const d of c)
|
|
19
|
+
if (window.matchMedia(`(resolution: ${d}dpi)`).matches) {
|
|
20
|
+
n = d;
|
|
21
|
+
break;
|
|
22
|
+
}
|
|
23
|
+
const u = window.devicePixelRatio || 1, w = n * u, e = document.createElement("div");
|
|
24
|
+
e.style.width = "1in", e.style.height = "1in", e.style.position = "absolute", e.style.left = "-9999px", document.body.appendChild(e);
|
|
25
|
+
const a = e.getBoundingClientRect(), o = Math.round(a.width);
|
|
26
|
+
document.body.removeChild(e);
|
|
27
|
+
const i = o > 0 ? o : w, l = Math.round(s.inches.width * i), m = Math.round(s.inches.height * i);
|
|
28
|
+
r({
|
|
29
|
+
width: l,
|
|
30
|
+
height: m,
|
|
31
|
+
dpi: i
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
return t(), window.addEventListener("resize", t), () => {
|
|
35
|
+
window.removeEventListener("resize", t);
|
|
36
|
+
};
|
|
37
|
+
}, []), h;
|
|
38
|
+
};
|
|
33
39
|
export {
|
|
34
|
-
|
|
40
|
+
y as useA4Dimensions
|
|
35
41
|
};
|
|
@@ -1,87 +1,77 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
day: i,
|
|
76
|
-
modifiers: a,
|
|
77
|
-
...w
|
|
78
|
-
}) {
|
|
79
|
-
const s = g(), l = m.useRef(null);
|
|
80
|
-
return m.useEffect(() => {
|
|
81
|
-
a.focused && l.current?.focus();
|
|
82
|
-
}, [a.focused]), /* @__PURE__ */ n(x, { ref: l, variant: "ghost", size: "icon", "data-day": i.date.toLocaleDateString(), "data-selected-single": a.selected && !a.range_start && !a.range_end && !a.range_middle, "data-range-start": a.range_start, "data-range-end": a.range_end, "data-range-middle": a.range_middle, className: t("ttw:data-[selected-single=true]:bg-primary ttw:data-[selected-single=true]:text-primary-foreground ttw:data-[range-middle=true]:bg-accent ttw:data-[range-middle=true]:text-accent-foreground ttw:data-[range-start=true]:bg-primary ttw:data-[range-start=true]:text-primary-foreground ttw:data-[range-end=true]:bg-primary ttw:data-[range-end=true]:text-primary-foreground ttw:group-data-[focused=true]/day:border-ring ttw:group-data-[focused=true]/day:ring-ring/50 ttw:dark:hover:text-accent-foreground ttw:flex ttw:aspect-square ttw:size-auto ttw:w-full ttw:min-w-(--cell-size) ttw:flex-col ttw:gap-1 ttw:leading-none ttw:font-normal ttw:group-data-[focused=true]/day:relative ttw:group-data-[focused=true]/day:z-1300 ttw:group-data-[focused=true]/day:ring-[3px] ttw:data-[range-end=true]:rounded-md ttw:data-[range-end=true]:rounded-r-md ttw:data-[range-middle=true]:rounded-none ttw:data-[range-start=true]:rounded-md ttw:data-[range-start=true]:rounded-l-md ttw:[&>span]:text-xs ttw:[&>span]:opacity-70", s.day, u), ...w });
|
|
83
|
-
}
|
|
1
|
+
import { jsxs as I, jsx as f } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMemo as d, useState as g, useEffect as j } from "react";
|
|
3
|
+
import { useCurrencies as N } from "./index58.js";
|
|
4
|
+
import "./index92.js";
|
|
5
|
+
import { useLingui as G } from "@lingui/react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import "./index57.js";
|
|
8
|
+
import "@mui/x-data-grid";
|
|
9
|
+
import { InputGroup as T, InputGroupAddon as $, InputGroupInput as D } from "./index101.js";
|
|
10
|
+
import { formatMinorToMajorCurrency as n, parseMajorToMinorCurrency as P } from "./index326.js";
|
|
11
|
+
const J = ({
|
|
12
|
+
value: i,
|
|
13
|
+
error: v = !1,
|
|
14
|
+
currency: m,
|
|
15
|
+
disabled: w = !1,
|
|
16
|
+
onChange: u,
|
|
17
|
+
locale: x
|
|
18
|
+
}) => {
|
|
19
|
+
const {
|
|
20
|
+
getSymbolFromCurrency: y
|
|
21
|
+
} = N(), {
|
|
22
|
+
i18n: M
|
|
23
|
+
} = G(), e = x ?? M.locale, o = d(() => new Intl.NumberFormat(e, {
|
|
24
|
+
minimumFractionDigits: 2,
|
|
25
|
+
maximumFractionDigits: 2
|
|
26
|
+
}), [e]), {
|
|
27
|
+
decimalSeparator: F,
|
|
28
|
+
groupSeparator: S
|
|
29
|
+
} = d(() => {
|
|
30
|
+
const r = new Intl.NumberFormat(e).formatToParts(12345.67);
|
|
31
|
+
return {
|
|
32
|
+
decimalSeparator: r.find((t) => t.type === "decimal")?.value || ".",
|
|
33
|
+
groupSeparator: r.find((t) => t.type === "group")?.value || ""
|
|
34
|
+
};
|
|
35
|
+
}, [e]), [s, a] = g(n(i, o)), [l, p] = g(!1);
|
|
36
|
+
j(() => {
|
|
37
|
+
if (!l) {
|
|
38
|
+
const r = n(i, o);
|
|
39
|
+
r !== s && a(r);
|
|
40
|
+
}
|
|
41
|
+
}, [i, l, e, o, s]);
|
|
42
|
+
const b = (r) => {
|
|
43
|
+
const t = r.target.value;
|
|
44
|
+
a(t);
|
|
45
|
+
}, h = () => {
|
|
46
|
+
p(!0);
|
|
47
|
+
}, C = (r) => {
|
|
48
|
+
p(!1);
|
|
49
|
+
const t = r.target.value.trim();
|
|
50
|
+
if (t === "") {
|
|
51
|
+
a(n(0, o)), u(0);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const c = P(t, F, S);
|
|
55
|
+
a(n(c, o)), u(c);
|
|
56
|
+
};
|
|
57
|
+
return /* @__PURE__ */ I(T, { className: "ttw:max-w-41 ttw:w-full ttw:min-w-29", children: [
|
|
58
|
+
/* @__PURE__ */ f($, { align: "inline-start", children: y(m) || m }),
|
|
59
|
+
/* @__PURE__ */ f(
|
|
60
|
+
D,
|
|
61
|
+
{
|
|
62
|
+
type: "text",
|
|
63
|
+
inputMode: "decimal",
|
|
64
|
+
className: "ttw:text-right",
|
|
65
|
+
"aria-invalid": v || void 0,
|
|
66
|
+
disabled: w,
|
|
67
|
+
value: s,
|
|
68
|
+
onChange: b,
|
|
69
|
+
onFocus: h,
|
|
70
|
+
onBlur: C
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
] });
|
|
74
|
+
};
|
|
84
75
|
export {
|
|
85
|
-
|
|
86
|
-
v as CalendarDayButton
|
|
76
|
+
J as PriceField
|
|
87
77
|
};
|