@tesouro/embedded-components-react 0.2.164 → 0.2.165
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 +20 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +20 -20
- 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 +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +10 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +24 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +9 -9
- 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 +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +1269 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +32 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +78 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +6 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +9 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +32 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +32 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +12 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +12 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +26 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +12 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +121 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +7 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +217 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +10 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +46 -215
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +43 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +147 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +56 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +71 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +26 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +3 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +55 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +39 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +78 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +5 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +93 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +56 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +25 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +93 -395
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +99 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +13 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +57 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +397 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +68 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +406 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +2 -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/index243.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +2 -2
- 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 +16 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +27 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +33 -294
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +59 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +92 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +105 -260
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +85 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +22 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +57 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +29 -22
- 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 +56 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +18 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +62 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +90 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +206 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +40 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +313 -457
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +293 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +100 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +157 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +267 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +23 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +18 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +5 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +40 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +59 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +31 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +118 -43
- 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 +22 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +41 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +54 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +478 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +162 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +20 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +15 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +17 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +171 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +134 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +162 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +18 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +61 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +67 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +51 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +6 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +8 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +60 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +23 -18
- 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 +60 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +14 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +14 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +78 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +77 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +39 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +72 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +44 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +160 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +27 -62
- 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 +28 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +78 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +25 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +127 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +49 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +118 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +99 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +42 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +194 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +68 -109
- 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 +18 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +36 -198
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +149 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +30 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +4 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +19 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +38 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +34 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +28 -16
- 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 +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +12 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +6 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +26 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +127 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +10 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +64 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +22 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +32 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +96 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +37 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +34 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +31 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +34 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +7 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +51 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +16 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +31 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +4 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +124 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +54 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +36 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +123 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +16 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +74 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +16 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +3 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +11 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +81 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +17 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +81 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +262 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +39 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +61 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +41 -267
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +21 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +136 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +111 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +81 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +91 -136
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +16 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +9 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +8 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +2 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +282 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +48 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +4 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +19 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +12 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +47 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +47 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +57 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +17 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +18 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +11 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +66 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +2 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +69 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +47 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +19 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +9 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +38 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +29 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +68 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +56 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +8 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +18 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +40 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +36 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +13 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +52 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +40 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +46 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +34 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +69 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +83 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +55 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +52 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +53 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +29 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +55 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +69 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +21 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +92 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +16 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +75 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +20 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +9 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +51 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +16 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +54 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +30 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +31 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +85 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +24 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +104 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +112 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +82 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +38 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +13 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +12 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +28 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +23 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +38 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +70 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +68 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +38 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +48 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +20 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +1238 -1222
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +20 -20
- package/package.json +1 -1
|
@@ -1,31 +1,77 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "react-hot-toast";
|
|
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";
|
|
5
4
|
import "./index92.js";
|
|
6
|
-
import "@
|
|
5
|
+
import { useLingui as G } from "@lingui/react";
|
|
7
6
|
import "react-dom";
|
|
7
|
+
import "./index57.js";
|
|
8
8
|
import "@mui/x-data-grid";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
9
|
+
import { InputGroup as T, InputGroupAddon as $, InputGroupInput as D } from "./index101.js";
|
|
10
|
+
import { formatMinorToMajorCurrency as n, parseMajorToMinorCurrency as P } from "./index403.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);
|
|
27
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
|
+
] });
|
|
28
74
|
};
|
|
29
75
|
export {
|
|
30
|
-
|
|
76
|
+
J as PriceField
|
|
31
77
|
};
|
|
@@ -1,26 +1,70 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "react
|
|
5
|
-
import "./
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import { jsx as o, jsxs as V } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as x, useEffect as q } from "react";
|
|
3
|
+
import { Controller as C } from "react-hook-form";
|
|
4
|
+
import { Minus as R, Plus as M } from "lucide-react";
|
|
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 }) });
|
|
24
68
|
export {
|
|
25
|
-
|
|
69
|
+
z as QuantityField
|
|
26
70
|
};
|
|
@@ -3,14 +3,14 @@ import { useState as d, useCallback as n } from "react";
|
|
|
3
3
|
import { TagFormModal as u } from "./index47.js";
|
|
4
4
|
import { TagsTable as h } from "./index46.js";
|
|
5
5
|
import { MoniteScopedProviders as C } from "./index83.js";
|
|
6
|
-
import { useUserPermissions as x } from "./
|
|
6
|
+
import { useUserPermissions as x } from "./index141.js";
|
|
7
7
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
8
8
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
9
9
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
10
10
|
import "@tanstack/react-query";
|
|
11
11
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
12
12
|
import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
|
|
13
|
-
import { AccessRestriction as A } from "./
|
|
13
|
+
import { AccessRestriction as A } from "./index152.js";
|
|
14
14
|
import { Button as T } from "./index84.js";
|
|
15
15
|
import "clsx";
|
|
16
16
|
import "tailwind-merge";
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
e
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
}
|
|
1
|
+
import { jsxs as t, Fragment as f, jsx as a } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as h } from "react";
|
|
3
|
+
import { ManageMeasureUnits as v } from "./index169.js";
|
|
4
|
+
import { Select as g, SelectTrigger as x, SelectValue as w, SelectContent as S, SelectItem as l } from "./index316.js";
|
|
5
|
+
import { useLingui as _ } from "@lingui/react";
|
|
6
|
+
import { Plus as b } from "lucide-react";
|
|
7
|
+
const s = "__none__", E = ({
|
|
8
|
+
value: n,
|
|
9
|
+
availableMeasureUnits: o,
|
|
10
|
+
error: m,
|
|
11
|
+
fieldError: c,
|
|
12
|
+
disabled: u = !1,
|
|
13
|
+
onChange: d
|
|
14
|
+
}) => {
|
|
15
|
+
const {
|
|
16
|
+
i18n: r
|
|
17
|
+
} = _(), [p, i] = h(!1);
|
|
18
|
+
return /* @__PURE__ */ t(f, { children: [
|
|
19
|
+
/* @__PURE__ */ t(g, { value: n || s, onValueChange: (e) => {
|
|
20
|
+
if (e === "create") {
|
|
21
|
+
i(!0);
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
d(e === s ? "" : e);
|
|
25
|
+
}, disabled: u, children: [
|
|
26
|
+
/* @__PURE__ */ a(x, { "aria-invalid": m || !!c || void 0, className: "ttw:w-22", children: /* @__PURE__ */ a(w, { className: "ttw:truncate", placeholder: r._("Select") }) }),
|
|
27
|
+
/* @__PURE__ */ t(S, { children: [
|
|
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
|
+
] });
|
|
38
38
|
};
|
|
39
39
|
export {
|
|
40
|
-
|
|
40
|
+
E as MeasureUnitField
|
|
41
41
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useMemo as s } from "react";
|
|
2
2
|
import { useMoniteContext as b } from "./index57.js";
|
|
3
3
|
import { useLingui as L } from "@lingui/react";
|
|
4
|
-
import { ApprovalStepResolver as q } from "./
|
|
5
|
-
import { extractStructureItemsFromScriptStep as w, processApprovalStructure as x, findUserApprovalCall as C } from "./
|
|
4
|
+
import { ApprovalStepResolver as q } from "./index483.js";
|
|
5
|
+
import { extractStructureItemsFromScriptStep as w, processApprovalStructure as x, findUserApprovalCall as C } from "./index289.js";
|
|
6
6
|
function I(i, p, v = "desc") {
|
|
7
7
|
const {
|
|
8
8
|
i18n: m
|
|
@@ -1,42 +1,50 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
import { extractApprovalCalls as n, findUserApprovalCall as u, findRoleApprovalCall as h, getApprovalRuleLabel as v, processChainApprovalCalls as d, createChainApprovalStep as A, resolveStepForCall as C, createBaseApprovalStep as i, extractItemsFromScriptStep as S } from "./index289.js";
|
|
2
|
+
class q {
|
|
3
|
+
constructor(t, s, e) {
|
|
4
|
+
this.policyScript = t, this.requests = s, this.i18n = e;
|
|
5
|
+
}
|
|
6
|
+
policyScript;
|
|
7
|
+
requests;
|
|
8
|
+
i18n;
|
|
9
|
+
processApprovalItem(t, s) {
|
|
10
|
+
const e = n(t), r = u(e), o = h(e), a = v(r, o, this.i18n);
|
|
11
|
+
if (e.length > 1 && r) {
|
|
12
|
+
const {
|
|
13
|
+
allChainUserIds: p,
|
|
14
|
+
allChainRequests: l
|
|
15
|
+
} = d(e, this.requests), c = this.i18n._("All users from the list");
|
|
16
|
+
return A(p, l, s, c);
|
|
17
|
+
} else {
|
|
18
|
+
const p = e[0];
|
|
19
|
+
if (p) {
|
|
20
|
+
const l = C(p, this.requests);
|
|
21
|
+
return i(l, s, a);
|
|
22
|
+
}
|
|
23
|
+
return i({
|
|
24
|
+
assignees: [],
|
|
25
|
+
actualAssignees: [],
|
|
26
|
+
relatedRequests: [],
|
|
27
|
+
stepStatus: "waiting",
|
|
28
|
+
approvalRequestId: void 0,
|
|
29
|
+
approvedBy: void 0,
|
|
30
|
+
objectId: void 0,
|
|
31
|
+
rejectedBy: void 0,
|
|
32
|
+
requiredApprovalCount: 1
|
|
33
|
+
}, s, a);
|
|
28
34
|
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
};
|
|
35
|
+
}
|
|
36
|
+
buildCompleteSteps() {
|
|
37
|
+
const t = [];
|
|
38
|
+
let s = 1;
|
|
39
|
+
return this.policyScript.forEach((e) => {
|
|
40
|
+
const r = S(e);
|
|
41
|
+
r.length > 0 && (r.forEach((o) => {
|
|
42
|
+
const a = this.processApprovalItem(o, s);
|
|
43
|
+
t.push(a);
|
|
44
|
+
}), s++);
|
|
45
|
+
}), t;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
40
48
|
export {
|
|
41
|
-
|
|
49
|
+
q as ApprovalStepResolver
|
|
42
50
|
};
|
|
@@ -1,54 +1,42 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
rules: g,
|
|
16
|
-
shouldUnregister: f,
|
|
17
|
-
disabled: c,
|
|
18
|
-
defaultValue: b,
|
|
19
|
-
readOnly: y,
|
|
20
|
-
onChange: S,
|
|
21
|
-
...h
|
|
1
|
+
import { jsx as n, jsxs as a, Fragment as v } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { createElement as x } from "@emotion/react";
|
|
3
|
+
import { useLedgerAccounts as L } from "./index20.js";
|
|
4
|
+
import { useRootElements as C } from "./index92.js";
|
|
5
|
+
import { useLingui as T } from "@lingui/react";
|
|
6
|
+
import { FormControl as G, TextField as p, Autocomplete as P, Typography as s, CircularProgress as A } from "@mui/material";
|
|
7
|
+
import { useMemo as m } from "react";
|
|
8
|
+
const k = ({
|
|
9
|
+
value: r,
|
|
10
|
+
error: u,
|
|
11
|
+
helperText: c,
|
|
12
|
+
disabled: h,
|
|
13
|
+
placeholder: y,
|
|
14
|
+
onChange: f
|
|
22
15
|
}) => {
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
return /* @__PURE__ */ l(K, { control: m, name: n, rules: g, shouldUnregister: f, defaultValue: b, render: ({
|
|
34
|
-
field: e,
|
|
35
|
-
fieldState: {
|
|
36
|
-
error: o,
|
|
37
|
-
isTouched: P
|
|
38
|
-
},
|
|
39
|
-
formState: {
|
|
40
|
-
isValid: q
|
|
41
|
-
}
|
|
42
|
-
}) => /* @__PURE__ */ l(V, { ...e, ...h, disabled: c, slotProps: {
|
|
43
|
-
...d,
|
|
16
|
+
const {
|
|
17
|
+
i18n: t
|
|
18
|
+
} = T(), {
|
|
19
|
+
data: l,
|
|
20
|
+
isLoading: d,
|
|
21
|
+
error: g
|
|
22
|
+
} = L(), {
|
|
23
|
+
root: b
|
|
24
|
+
} = C(), i = m(() => l?.data ?? [], [l?.data]), _ = m(() => r ? i.find((e) => e.id === r) ?? null : null, [r, i]);
|
|
25
|
+
return g ? /* @__PURE__ */ n(G, { error: !0, fullWidth: !0, children: /* @__PURE__ */ n(p, { label: t._("GL Code"), variant: "standard", disabled: !0, error: !0, helperText: t._("Failed to load GL codes") }) }) : /* @__PURE__ */ n(P, { options: i, value: _, onChange: (e, o) => f(o?.id || null), getOptionLabel: (e) => e.nominal_code && e.type ? `${e.nominal_code} — ${e.type}` : e.nominal_code || e.type || e.name || "", isOptionEqualToValue: (e, o) => e.id === o.id, loading: d, disabled: h || d, slotProps: {
|
|
44
26
|
popper: {
|
|
45
|
-
|
|
46
|
-
container: x
|
|
27
|
+
container: b
|
|
47
28
|
}
|
|
48
|
-
},
|
|
49
|
-
e.
|
|
50
|
-
|
|
29
|
+
}, renderInput: (e) => /* @__PURE__ */ n(p, { ...e, label: t._("GL Code"), variant: "standard", fullWidth: !0, error: u, helperText: c, placeholder: y, InputProps: {
|
|
30
|
+
...e.InputProps,
|
|
31
|
+
endAdornment: /* @__PURE__ */ a(v, { children: [
|
|
32
|
+
d ? /* @__PURE__ */ n(A, { color: "inherit", size: 20 }) : null,
|
|
33
|
+
e.InputProps.endAdornment
|
|
34
|
+
] })
|
|
35
|
+
} }), renderOption: (e, o) => /* @__PURE__ */ x("li", { ...e, key: o.id }, /* @__PURE__ */ a("div", { children: [
|
|
36
|
+
/* @__PURE__ */ n(s, { variant: "body2", color: "text.secondary", component: "div", fontWeight: 600, children: o.nominal_code && o.type ? `${o.nominal_code} — ${o.type}` : o.nominal_code || o.type }),
|
|
37
|
+
o.subtype && /* @__PURE__ */ n(s, { variant: "body2", component: "div", fontWeight: 400, children: o.subtype })
|
|
38
|
+
] })), noOptionsText: t._("No GL codes found") });
|
|
51
39
|
};
|
|
52
40
|
export {
|
|
53
|
-
|
|
41
|
+
k as GLCodeSelector
|
|
54
42
|
};
|
|
@@ -1,58 +1,54 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { jsx as l } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useRootElements as T } from "./index92.js";
|
|
3
|
+
import { Autocomplete as V, TextField as I } from "@mui/material";
|
|
4
|
+
import { Controller as K } from "react-hook-form";
|
|
5
|
+
const H = ({
|
|
6
|
+
control: m,
|
|
7
|
+
name: n,
|
|
8
|
+
label: a,
|
|
9
|
+
renderInput: i,
|
|
10
|
+
optionKey: r,
|
|
11
|
+
labelKey: s,
|
|
12
|
+
options: t,
|
|
13
|
+
required: p,
|
|
14
|
+
slotProps: d,
|
|
15
|
+
rules: g,
|
|
16
|
+
shouldUnregister: f,
|
|
17
|
+
disabled: c,
|
|
18
|
+
defaultValue: b,
|
|
19
|
+
readOnly: y,
|
|
20
|
+
onChange: S,
|
|
21
|
+
...h
|
|
21
22
|
}) => {
|
|
22
|
-
const {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
textOverflow: "ellipsis",
|
|
38
|
-
overflow: "hidden",
|
|
39
|
-
whiteSpace: "nowrap"
|
|
40
|
-
}
|
|
23
|
+
const A = (e) => i ? (o) => i(o, {
|
|
24
|
+
error: e,
|
|
25
|
+
label: a,
|
|
26
|
+
required: p
|
|
27
|
+
}) : (o) => /* @__PURE__ */ l(I, { ...o, variant: "standard", required: p, label: a, error: !!e?.message, helperText: e?.message, inputProps: {
|
|
28
|
+
...o.inputProps,
|
|
29
|
+
autoComplete: "new-password"
|
|
30
|
+
} }), C = (e) => e ? typeof e == "string" || Array.isArray(e) ? e : r ? String(e[r]) : e : "", O = (e) => e ? r ? t.find((o) => String(o[r]) === String(e)) ?? null : t.find((o) => String(o) === String(e)) ?? null : null, v = (e) => typeof e == "string" ? e : s ? `${e[s]}` : "", {
|
|
31
|
+
root: x
|
|
32
|
+
} = T();
|
|
33
|
+
return /* @__PURE__ */ l(K, { control: m, name: n, rules: g, shouldUnregister: f, defaultValue: b, render: ({
|
|
34
|
+
field: e,
|
|
35
|
+
fieldState: {
|
|
36
|
+
error: o,
|
|
37
|
+
isTouched: P
|
|
41
38
|
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} }) });
|
|
39
|
+
formState: {
|
|
40
|
+
isValid: q
|
|
41
|
+
}
|
|
42
|
+
}) => /* @__PURE__ */ l(V, { ...e, ...h, disabled: c, slotProps: {
|
|
43
|
+
...d,
|
|
44
|
+
popper: {
|
|
45
|
+
...d?.popper,
|
|
46
|
+
container: x
|
|
47
|
+
}
|
|
48
|
+
}, options: t, blurOnSelect: !0, onChange: (w, u, F, R) => {
|
|
49
|
+
e.onChange(C(u)), S?.(w, u, F, R);
|
|
50
|
+
}, value: O(e.value), id: n, getOptionLabel: v, renderInput: A(P || !q ? o : void 0), readOnly: y }) });
|
|
55
51
|
};
|
|
56
52
|
export {
|
|
57
|
-
|
|
53
|
+
H as RHFAutocomplete
|
|
58
54
|
};
|