@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,84 +1,101 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
onPaginationTokenChange: c,
|
|
20
|
-
onRowClick: R,
|
|
21
|
-
filterComponent: p,
|
|
22
|
-
children: k,
|
|
23
|
-
rowLabel: u
|
|
24
|
-
}) {
|
|
1
|
+
import { jsx as t, jsxs as r } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as f } from "react";
|
|
3
|
+
import { toast as n } from "react-hot-toast";
|
|
4
|
+
import "./index57.js";
|
|
5
|
+
import { useLingui as _ } from "@lingui/react";
|
|
6
|
+
import "./index92.js";
|
|
7
|
+
import { useFileInput as z } from "./index61.js";
|
|
8
|
+
import "react-dom";
|
|
9
|
+
import "@mui/x-data-grid";
|
|
10
|
+
import { Button as s } from "./index84.js";
|
|
11
|
+
import { Popover as D, PopoverTrigger as P, PopoverContent as k } from "./index370.js";
|
|
12
|
+
import { cn as F } from "./index100.js";
|
|
13
|
+
import { ChevronUpIcon as I, ChevronDownIcon as U, CloudUpload as j, Copy as A, Plus as E } from "lucide-react";
|
|
14
|
+
const K = ({
|
|
15
|
+
isCreateAllowed: u,
|
|
16
|
+
onCreateInvoice: h,
|
|
17
|
+
handleFileUpload: w
|
|
18
|
+
}) => {
|
|
25
19
|
const {
|
|
26
|
-
i18n:
|
|
27
|
-
} =
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
pageSize: r
|
|
44
|
-
}
|
|
20
|
+
i18n: e
|
|
21
|
+
} = _(), [c, a] = f(!1), {
|
|
22
|
+
FileInput: x,
|
|
23
|
+
openFileInput: b,
|
|
24
|
+
checkFileError: y
|
|
25
|
+
} = z(), [g, i] = f(!1), v = (l) => {
|
|
26
|
+
l.preventDefault(), i(!0);
|
|
27
|
+
}, N = (l) => {
|
|
28
|
+
l.preventDefault(), i(!1);
|
|
29
|
+
}, d = 10, C = (l) => {
|
|
30
|
+
l.preventDefault(), i(!1);
|
|
31
|
+
const o = Array.from(l.dataTransfer.files);
|
|
32
|
+
if (o.length > d) {
|
|
33
|
+
n.error(e._("You can only upload up to {fileCount} files at a time", {
|
|
34
|
+
fileCount: d
|
|
35
|
+
})), a(!1);
|
|
36
|
+
return;
|
|
45
37
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
38
|
+
o.forEach((m) => {
|
|
39
|
+
const p = y(m);
|
|
40
|
+
if (p) {
|
|
41
|
+
n.error(p);
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
w(m);
|
|
45
|
+
}), a(!1);
|
|
46
|
+
};
|
|
47
|
+
return /* @__PURE__ */ t("div", { className: "Monite-Payables", children: /* @__PURE__ */ r(D, { open: c, onOpenChange: a, children: [
|
|
48
|
+
/* @__PURE__ */ t(P, { asChild: !0, children: /* @__PURE__ */ r(s, { size: "lg", disabled: !u, children: [
|
|
49
|
+
e._("Add new bill"),
|
|
50
|
+
c ? /* @__PURE__ */ t(I, {}) : /* @__PURE__ */ t(U, {})
|
|
51
|
+
] }) }),
|
|
52
|
+
/* @__PURE__ */ r(k, { align: "end", className: "ttw:w-auto ttw:min-w-110 ttw:border-none ttw:p-6", children: [
|
|
53
|
+
/* @__PURE__ */ r("div", { className: "ttw:w-110 ttw:flex ttw:flex-col ttw:gap-4", onClick: (l) => {
|
|
54
|
+
l.preventDefault(), l.stopPropagation();
|
|
55
|
+
}, children: [
|
|
56
|
+
/* @__PURE__ */ r("div", { children: [
|
|
57
|
+
/* @__PURE__ */ t("h3", { className: "ttw:text-xl ttw:font-semibold ttw:text-zinc-950", children: e._("Upload bills") }),
|
|
58
|
+
/* @__PURE__ */ t("p", { className: "ttw:text-sm ttw:font-normal ttw:text-zinc-500", children: e._("Upload your bills and we'll automatically pull the details so you can review and approve.") })
|
|
59
|
+
] }),
|
|
60
|
+
/* @__PURE__ */ t("div", { className: F("ttw:box-border ttw:cursor-pointer ttw:w-full ttw:h-36.5 ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:text-center ttw:border ttw:rounded-lg ttw:border-dashed ttw:border-zinc-200 ttw:bg-zinc-50", g && "ttw:bg-transparent"), onDragOver: v, onDragLeave: N, onDrop: C, onClick: b, children: /* @__PURE__ */ r("div", { className: "ttw:mx-auto ttw:flex ttw:flex-col ttw:items-center ttw:gap-2", children: [
|
|
61
|
+
/* @__PURE__ */ t("div", { className: "ttw:w-11 ttw:h-11 ttw:rounded-full ttw:bg-primary ttw:flex ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(j, { className: "ttw:text-white ttw:size-5" }) }),
|
|
62
|
+
/* @__PURE__ */ r("p", { className: "ttw:text-sm ttw:font-medium ttw:text-zinc-950", children: [
|
|
63
|
+
e._("Drop your files here, or"),
|
|
64
|
+
" ",
|
|
65
|
+
/* @__PURE__ */ t("span", { className: "ttw:text-primary ttw:underline", children: e._("click to browse") })
|
|
66
|
+
] }),
|
|
67
|
+
/* @__PURE__ */ t("p", { className: "ttw:text-xs ttw:font-normal ttw:text-zinc-500", children: e._("PDF, PNG or JPG (max. 20MB)") })
|
|
68
|
+
] }) }),
|
|
69
|
+
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
70
|
+
/* @__PURE__ */ t("h3", { className: "ttw:text-primary ttw:text-sm ttw:font-semibold", children: e._("Send via email") }),
|
|
71
|
+
/* @__PURE__ */ t("p", { className: "ttw:text-zinc-500 ttw:font-normal ttw:text-sm", children: e._("Email your bills here and they'll appear in your bill pay inbox, ready to review and pay.") })
|
|
72
|
+
] }),
|
|
73
|
+
/* @__PURE__ */ r("div", { className: "ttw:px-3 ttw:h-14 ttw:border ttw:border-zinc-200 ttw:rounded-lg ttw:flex ttw:items-center ttw:justify-between ttw:gap-6", children: [
|
|
74
|
+
/* @__PURE__ */ t("span", { children: e._("bills@business-banking.com") }),
|
|
75
|
+
/* @__PURE__ */ r(s, { type: "button", variant: "ghost", size: "sm", className: "ttw:text-primary ttw:hover:bg-primary-foreground ttw:hover:text-primary", onClick: () => {
|
|
76
|
+
navigator.clipboard.writeText("bills@business-banking.com"), n.success(e._("Email address copied to clipboard"));
|
|
77
|
+
}, children: [
|
|
78
|
+
/* @__PURE__ */ t(A, {}),
|
|
79
|
+
e._("Copy")
|
|
80
|
+
] })
|
|
81
|
+
] }),
|
|
82
|
+
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
83
|
+
/* @__PURE__ */ t("h3", { className: "ttw:text-sm ttw:font-semibold ttw:text-primary", children: e._("Or add bill manually") }),
|
|
84
|
+
/* @__PURE__ */ r(s, { onClick: () => {
|
|
85
|
+
a(!1), h();
|
|
86
|
+
}, className: "ttw:w-fit ttw:bg-primary-foreground ttw:hover:bg-primary-foreground ttw:text-primary", children: [
|
|
87
|
+
/* @__PURE__ */ t(E, {}),
|
|
88
|
+
e._("Add new bill")
|
|
67
89
|
] })
|
|
68
90
|
] })
|
|
69
91
|
] }),
|
|
70
|
-
/* @__PURE__ */ t(
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}, disabled: !l, children: /* @__PURE__ */ t(E, {}) }),
|
|
75
|
-
/* @__PURE__ */ t(S, { variant: "ghost", className: "ttw:px-2 ttw:py-2 ttw:border ttw:border-zinc-200 ttw:rounded-lg", onClick: () => {
|
|
76
|
-
c(h), o((e) => e + r);
|
|
77
|
-
}, disabled: !h, children: /* @__PURE__ */ t(F, {}) })
|
|
78
|
-
] })
|
|
92
|
+
/* @__PURE__ */ t(x, { "aria-label": e._("Upload payable files"), multiple: !0, onChange: (l) => {
|
|
93
|
+
const o = l.target.files;
|
|
94
|
+
o && w(o), a(!1);
|
|
95
|
+
} })
|
|
79
96
|
] })
|
|
80
|
-
] });
|
|
81
|
-
}
|
|
97
|
+
] }) });
|
|
98
|
+
};
|
|
82
99
|
export {
|
|
83
|
-
|
|
100
|
+
K as CreatePayableMenu
|
|
84
101
|
};
|
|
@@ -1,7 +1,59 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
function d(o) {
|
|
2
|
+
return /gradient\(/.test(o);
|
|
3
|
+
}
|
|
4
|
+
function u(o, n) {
|
|
5
|
+
o.background && (d(o.background) ? (n.backgroundImage = o.background, n.background = o.background) : (n.background = o.background, n.backgroundImage = "none"));
|
|
6
|
+
}
|
|
7
|
+
function c(o, n) {
|
|
8
|
+
o.color && (n.color = o.color);
|
|
9
|
+
}
|
|
10
|
+
function b(o, n) {
|
|
11
|
+
o.border && (n.border = o.border), o.borderRadius !== void 0 && (n.borderRadius = typeof o.borderRadius == "number" ? `${o.borderRadius}px` : o.borderRadius);
|
|
12
|
+
}
|
|
13
|
+
function g(o, n) {
|
|
14
|
+
o.fontWeight !== void 0 && (n.fontWeight = o.fontWeight);
|
|
15
|
+
}
|
|
16
|
+
function p(o, n) {
|
|
17
|
+
o.boxShadow !== void 0 && (n.boxShadow = o.boxShadow);
|
|
18
|
+
}
|
|
19
|
+
function l(o, n) {
|
|
20
|
+
if (!o.transitionDuration && !o.transitionTimingFunction && !o.transitionProperty)
|
|
21
|
+
return;
|
|
22
|
+
const a = [], t = o.transitionProperty || "all";
|
|
23
|
+
a.push(t), o.transitionDuration && a.push(o.transitionDuration), o.transitionTimingFunction && a.push(o.transitionTimingFunction), n.transition = a.join(" ");
|
|
24
|
+
}
|
|
25
|
+
function y(o) {
|
|
26
|
+
if (!o) return {};
|
|
27
|
+
const n = {};
|
|
28
|
+
return u(o, n), c(o, n), b(o, n), g(o, n), p(o, n), l(o, n), n;
|
|
29
|
+
}
|
|
30
|
+
function f(o, n) {
|
|
31
|
+
return !n || !n[o] ? {} : y(n[o]);
|
|
32
|
+
}
|
|
33
|
+
function h(o) {
|
|
34
|
+
if (!o) return {};
|
|
35
|
+
const n = {};
|
|
36
|
+
return ["primary", "secondary", "tertiary", "destructive"].forEach((a) => {
|
|
37
|
+
const t = o[a];
|
|
38
|
+
if (!t) return;
|
|
39
|
+
const i = `--ttw-btn-payables-${a}`;
|
|
40
|
+
t.background && (n[`${i}-bg`] = t.background), t.color && (n[`${i}-color`] = t.color), t.border && (n[`${i}-border`] = t.border), t.borderRadius !== void 0 && (n[`${i}-radius`] = typeof t.borderRadius == "number" ? `${t.borderRadius}px` : t.borderRadius), t.fontWeight !== void 0 && (n[`${i}-weight`] = String(t.fontWeight)), t.boxShadow && (n[`${i}-shadow`] = t.boxShadow), t.transitionProperty && (n[`${i}-transition-property`] = t.transitionProperty), t.transitionDuration && (n[`${i}-transition-duration`] = t.transitionDuration), t.transitionTimingFunction && (n[`${i}-transition-timing`] = t.transitionTimingFunction), ["hover", "active", "focus", "disabled"].forEach((s) => {
|
|
41
|
+
const r = t[s];
|
|
42
|
+
if (!r) return;
|
|
43
|
+
const e = `${i}-${s}`;
|
|
44
|
+
r.background && (n[`${e}-bg`] = r.background), r.color && (n[`${e}-color`] = r.color), r.border && (n[`${e}-border`] = r.border), r.boxShadow && (n[`${e}-shadow`] = r.boxShadow);
|
|
45
|
+
});
|
|
46
|
+
}), n;
|
|
4
47
|
}
|
|
5
48
|
export {
|
|
6
|
-
|
|
49
|
+
u as applyBackgroundStyles,
|
|
50
|
+
b as applyBorderStyles,
|
|
51
|
+
c as applyColorStyles,
|
|
52
|
+
p as applyShadowStyles,
|
|
53
|
+
l as applyTransitionStyles,
|
|
54
|
+
g as applyTypographyStyles,
|
|
55
|
+
h as generatePayablesButtonCssVars,
|
|
56
|
+
f as getButtonStateStyles,
|
|
57
|
+
y as getButtonStyles,
|
|
58
|
+
d as isGradient
|
|
7
59
|
};
|
|
@@ -4,7 +4,7 @@ import { useLingui as d } from "@lingui/react";
|
|
|
4
4
|
import "./index57.js";
|
|
5
5
|
import "react-hot-toast";
|
|
6
6
|
import { useGetProductById as u } from "./index174.js";
|
|
7
|
-
import { useDeleteProduct as c } from "./
|
|
7
|
+
import { useDeleteProduct as c } from "./index348.js";
|
|
8
8
|
const P = ({
|
|
9
9
|
id: e,
|
|
10
10
|
open: a,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { memo as a } from "react";
|
|
3
3
|
import { useMoniteContext as m } from "./index57.js";
|
|
4
|
-
import { Skeleton as n } from "./
|
|
4
|
+
import { Skeleton as n } from "./index132.js";
|
|
5
5
|
import { Typography as s } from "./index85.js";
|
|
6
6
|
const c = a(({
|
|
7
7
|
unitId: e
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { Button as s } from "./index84.js";
|
|
3
|
-
import { Sheet as a, SheetContent as i, SheetHeader as d, SheetTitle as l, SheetDescription as h, SheetFooter as m } from "./
|
|
3
|
+
import { Sheet as a, SheetContent as i, SheetHeader as d, SheetTitle as l, SheetDescription as h, SheetFooter as m } from "./index130.js";
|
|
4
4
|
import { useLingui as c } from "@lingui/react";
|
|
5
|
-
import { ManageMeasureUnitsForm as p } from "./
|
|
5
|
+
import { ManageMeasureUnitsForm as p } from "./index347.js";
|
|
6
6
|
const b = ({
|
|
7
7
|
handleClose: r,
|
|
8
8
|
open: o
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CurrencyEnumSchema as t } from "./
|
|
1
|
+
import { CurrencyEnumSchema as t } from "./index332.js";
|
|
2
2
|
import { z as r } from "zod";
|
|
3
3
|
const n = (e) => r.object({
|
|
4
4
|
name: r.string().trim().min(1, e._("Product name is required")).max(100, e._("Product name must be 100 characters or less")).meta({
|
|
@@ -6,17 +6,17 @@ import { useLingui as M } from "@lingui/react";
|
|
|
6
6
|
import "react-dom";
|
|
7
7
|
import "./index57.js";
|
|
8
8
|
import "@mui/x-data-grid";
|
|
9
|
-
import { FieldLabel as w, Field as f, FieldContent as x, FieldError as p } from "./
|
|
9
|
+
import { FieldLabel as w, Field as f, FieldContent as x, FieldError as p } from "./index154.js";
|
|
10
10
|
import { InputGroup as y, InputGroupAddon as N, InputGroupInput as T, InputGroupTextarea as E } from "./index101.js";
|
|
11
|
-
import { Input as z } from "./
|
|
12
|
-
import { Label as C } from "./
|
|
13
|
-
import { RadioGroup as A, RadioGroupItem as _ } from "./
|
|
11
|
+
import { Input as z } from "./index117.js";
|
|
12
|
+
import { Label as C } from "./index345.js";
|
|
13
|
+
import { RadioGroup as A, RadioGroupItem as _ } from "./index346.js";
|
|
14
14
|
import { Typography as d } from "./index85.js";
|
|
15
15
|
import { Combobox as B, ComboboxInput as R, ComboboxContent as V, ComboboxList as j, ComboboxEmpty as D, ComboboxCollection as W, ComboboxItem as H } from "./index90.js";
|
|
16
16
|
import { useFormContext as q, Controller as s } from "react-hook-form";
|
|
17
17
|
import { twMerge as l } from "tailwind-merge";
|
|
18
18
|
import "react-hot-toast";
|
|
19
|
-
import { useGetMeasureUnits as J } from "./
|
|
19
|
+
import { useGetMeasureUnits as J } from "./index342.js";
|
|
20
20
|
const wt = ({
|
|
21
21
|
isLoading: i,
|
|
22
22
|
isEditMode: c,
|
|
@@ -8,9 +8,9 @@ import "./index57.js";
|
|
|
8
8
|
import "@mui/x-data-grid";
|
|
9
9
|
import { zodResolver as x } from "@hookform/resolvers/zod";
|
|
10
10
|
import { Button as u } from "./index84.js";
|
|
11
|
-
import { LoadingSpinner as S } from "./
|
|
11
|
+
import { LoadingSpinner as S } from "./index131.js";
|
|
12
12
|
import { useForm as _, FormProvider as C } from "react-hook-form";
|
|
13
|
-
import { useUpdateProduct as F } from "./
|
|
13
|
+
import { useUpdateProduct as F } from "./index349.js";
|
|
14
14
|
import { getProductValidationSchema as N } from "./index171.js";
|
|
15
15
|
import { ProductFormContent as I } from "./index172.js";
|
|
16
16
|
const A = ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as w, jsx as c } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { RECURRENCE_STATUS_ICON as g } from "./index231.js";
|
|
3
|
-
import { getCommonRecurrenceStatusLabel as m } from "./
|
|
3
|
+
import { getCommonRecurrenceStatusLabel as m } from "./index272.js";
|
|
4
4
|
import "date-fns";
|
|
5
5
|
import { Badge as l } from "./index228.js";
|
|
6
6
|
import { cn as p } from "./index100.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as s, jsxs as _ } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { InvoiceStatusChip as y } from "./index55.js";
|
|
3
|
-
import { useGetReceivablesAnalytics as c } from "./
|
|
3
|
+
import { useGetReceivablesAnalytics as c } from "./index144.js";
|
|
4
4
|
import { useCurrencies as S } from "./index58.js";
|
|
5
|
-
import { Skeleton as A } from "./
|
|
6
|
-
import { StatusCard as d } from "./
|
|
5
|
+
import { Skeleton as A } from "./index132.js";
|
|
6
|
+
import { StatusCard as d } from "./index343.js";
|
|
7
7
|
import { useLingui as b } from "@lingui/react";
|
|
8
8
|
import { useMemo as f } from "react";
|
|
9
9
|
const p = ["draft", "issued", "overdue", "partially_paid", "paid", "recurring", "canceled", "uncollectible"], M = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { getInvoiceOverdueDays as l } from "./
|
|
2
|
+
import { getInvoiceOverdueDays as l } from "./index431.js";
|
|
3
3
|
import { useMoniteContext as d } from "./index57.js";
|
|
4
4
|
import { dateStringToLocalDate as m } from "./index96.js";
|
|
5
5
|
import { useLingui as c } from "@lingui/react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as n, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { counterpartsToSelect as p } from "./
|
|
2
|
+
import { counterpartsToSelect as p } from "./index318.js";
|
|
3
3
|
import { useMoniteContext as m } from "./index57.js";
|
|
4
4
|
import { useRootElements as u } from "./index92.js";
|
|
5
|
-
import { FilterContainer as f } from "./
|
|
6
|
-
import { SearchField as v } from "./
|
|
5
|
+
import { FilterContainer as f } from "./index319.js";
|
|
6
|
+
import { SearchField as v } from "./index320.js";
|
|
7
7
|
import { useLingui as _ } from "@lingui/react";
|
|
8
8
|
import h from "@mui/icons-material/CalendarToday";
|
|
9
9
|
import { FormControl as C, Select as F, MenuItem as s } from "@mui/material";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as c } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { CenteredContentBox as p } from "./index212.js";
|
|
3
|
-
import { DropdownMenu as d, DropdownMenuTrigger as h, DropdownMenuContent as u, DropdownMenuItem as f } from "./
|
|
3
|
+
import { DropdownMenu as d, DropdownMenuTrigger as h, DropdownMenuContent as u, DropdownMenuItem as f } from "./index133.js";
|
|
4
4
|
import { Button as l } from "./index84.js";
|
|
5
5
|
import { RefreshCw as s, ChevronDown as w } from "lucide-react";
|
|
6
6
|
import { Typography as m } from "./index85.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { toMinorUnits as _ } from "./
|
|
2
|
-
import { CurrencyEnumSchema as l } from "./
|
|
1
|
+
import { toMinorUnits as _ } from "./index120.js";
|
|
2
|
+
import { CurrencyEnumSchema as l } from "./index332.js";
|
|
3
3
|
import { z as e } from "zod";
|
|
4
4
|
const s = (r) => l, x = (r) => e.object({
|
|
5
5
|
account_holder_name: e.string().trim().min(1, r._("Account holder name is required")).max(255, r._("Account holder name must be 255 characters or less")),
|
|
@@ -2,12 +2,12 @@ import { useState as U, useRef as Z, useId as st, useMemo as ut } from "react";
|
|
|
2
2
|
import { useLingui as ct } from "@lingui/react";
|
|
3
3
|
import { format as ee } from "date-fns";
|
|
4
4
|
import { toast as o } from "react-hot-toast";
|
|
5
|
-
import { buildPaymentTermsPayload as ie } from "./
|
|
5
|
+
import { buildPaymentTermsPayload as ie } from "./index333.js";
|
|
6
6
|
import { getCounterpartEmail as mt } from "./index7.js";
|
|
7
7
|
import { LanguageCodeEnum as _t } from "./index218.js";
|
|
8
|
-
import { rateMajorToMinor as ae } from "./
|
|
8
|
+
import { rateMajorToMinor as ae } from "./index334.js";
|
|
9
9
|
import { useMoniteContext as lt } from "./index57.js";
|
|
10
|
-
import { useUserPermissions as pt } from "./
|
|
10
|
+
import { useUserPermissions as pt } from "./index141.js";
|
|
11
11
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
12
12
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
13
13
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
@@ -17,17 +17,17 @@ import { Scope as ft } from "../../shared/data-access/dist/lib/scopes.js";
|
|
|
17
17
|
import { useCounterpartById as yt } from "./index70.js";
|
|
18
18
|
import { useCounterpartAddresses as gt } from "./index72.js";
|
|
19
19
|
import { useMyEntity as vt } from "./index78.js";
|
|
20
|
-
import { useCreateReceivable as bt } from "./
|
|
20
|
+
import { useCreateReceivable as bt } from "./index335.js";
|
|
21
21
|
import { useCreateCounterpart as ht } from "./index217.js";
|
|
22
|
-
import { useUpdateReceivable as xt } from "./
|
|
23
|
-
import { useUpdateReceivableLineItems as Ct } from "./
|
|
24
|
-
import { useCreateRecurrence as It } from "./
|
|
25
|
-
import { useUpdateRecurrence as wt } from "./
|
|
22
|
+
import { useUpdateReceivable as xt } from "./index336.js";
|
|
23
|
+
import { useUpdateReceivableLineItems as Ct } from "./index337.js";
|
|
24
|
+
import { useCreateRecurrence as It } from "./index338.js";
|
|
25
|
+
import { useUpdateRecurrence as wt } from "./index339.js";
|
|
26
26
|
import { useIssueReceivableById as Pt } from "./index242.js";
|
|
27
27
|
import { useGetInvoiceRequiredFields as kt } from "./index241.js";
|
|
28
|
-
import { useSelectableBankAccounts as Rt } from "./
|
|
29
|
-
import { useLineItemSubmitCleanup as At } from "./
|
|
30
|
-
import { useGetMeasureUnits as Lt } from "./
|
|
28
|
+
import { useSelectableBankAccounts as Rt } from "./index340.js";
|
|
29
|
+
import { useLineItemSubmitCleanup as At } from "./index341.js";
|
|
30
|
+
import { useGetMeasureUnits as Lt } from "./index342.js";
|
|
31
31
|
const ne = (t, i) => i ? t.find((r) => r.id === i)?.name || "" : void 0, qt = (t, i) => ({
|
|
32
32
|
// Callers only reach this in `invoice` mode (the guard runs earlier).
|
|
33
33
|
type: t.type,
|
|
@@ -4,14 +4,14 @@ import { FormProvider as Y } from "react-hook-form";
|
|
|
4
4
|
import { useLingui as J } from "@lingui/react";
|
|
5
5
|
import { X as K } from "lucide-react";
|
|
6
6
|
import "date-fns";
|
|
7
|
-
import { buildInvoicePreviewData as Z } from "./
|
|
7
|
+
import { buildInvoicePreviewData as Z } from "./index322.js";
|
|
8
8
|
import { useCounterpartById as tt } from "./index70.js";
|
|
9
9
|
import "@tanstack/react-query";
|
|
10
10
|
import { useMoniteContext as et } from "./index57.js";
|
|
11
11
|
import { useCounterpartAddresses as ot } from "./index72.js";
|
|
12
12
|
import { useMyEntity as at } from "./index78.js";
|
|
13
13
|
import "react-hot-toast";
|
|
14
|
-
import { useUserPermissions as rt } from "./
|
|
14
|
+
import { useUserPermissions as rt } from "./index141.js";
|
|
15
15
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
16
16
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
17
17
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
@@ -20,14 +20,14 @@ import { Scope as it } from "../../shared/data-access/dist/lib/scopes.js";
|
|
|
20
20
|
import { Dialog as nt, DialogContent as st, DialogHeader as mt, DialogTitle as lt, DialogDescription as dt, DialogFooter as ct } from "./index229.js";
|
|
21
21
|
import { Button as pt } from "./index84.js";
|
|
22
22
|
import { ConfirmationModal as ut } from "./index220.js";
|
|
23
|
-
import { LoadingPage as wt } from "./
|
|
24
|
-
import { CustomerSection as ft } from "./
|
|
25
|
-
import { BillingSection as ht } from "./
|
|
26
|
-
import { ItemsSection as gt } from "./
|
|
27
|
-
import { BankAccountSection as bt } from "./
|
|
28
|
-
import { NotesSection as yt } from "./
|
|
29
|
-
import { AttachmentSection as vt } from "./
|
|
30
|
-
import { InvoicePreview as xt } from "./
|
|
23
|
+
import { LoadingPage as wt } from "./index285.js";
|
|
24
|
+
import { CustomerSection as ft } from "./index323.js";
|
|
25
|
+
import { BillingSection as ht } from "./index324.js";
|
|
26
|
+
import { ItemsSection as gt } from "./index325.js";
|
|
27
|
+
import { BankAccountSection as bt } from "./index326.js";
|
|
28
|
+
import { NotesSection as yt } from "./index327.js";
|
|
29
|
+
import { AttachmentSection as vt } from "./index328.js";
|
|
30
|
+
import { InvoicePreview as xt } from "./index329.js";
|
|
31
31
|
const Kt = ({
|
|
32
32
|
open: h,
|
|
33
33
|
onRequestClose: s,
|
|
@@ -15,23 +15,23 @@ import { useCounterpartAddresses as ht } from "./index72.js";
|
|
|
15
15
|
import { getCounterpartEmail as Pe } from "./index7.js";
|
|
16
16
|
import { useMyEntity as vt } from "./index78.js";
|
|
17
17
|
import { toast as u } from "react-hot-toast";
|
|
18
|
-
import { useUserPermissions as bt } from "./
|
|
18
|
+
import { useUserPermissions as bt } from "./index141.js";
|
|
19
19
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
20
20
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
21
21
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
22
22
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
23
23
|
import { Scope as D } from "../../shared/data-access/dist/lib/scopes.js";
|
|
24
|
-
import { AccessRestriction as yt } from "./
|
|
24
|
+
import { AccessRestriction as yt } from "./index152.js";
|
|
25
25
|
import { Accordion as gt, AccordionItem as B, AccordionTrigger as z, AccordionContent as V } from "./index227.js";
|
|
26
26
|
import { Badge as T } from "./index228.js";
|
|
27
27
|
import { Button as j } from "./index84.js";
|
|
28
28
|
import { DialogTitle as $ } from "./index229.js";
|
|
29
|
-
import { Sheet as _t, SheetContent as xt, SheetDescription as Nt, SheetHeader as It, SheetTitle as Ct } from "./
|
|
29
|
+
import { Sheet as _t, SheetContent as xt, SheetDescription as Nt, SheetHeader as It, SheetTitle as Ct } from "./index130.js";
|
|
30
30
|
import { TooltipProvider as Lt, Tooltip as Se, TooltipTrigger as ke, TooltipContent as Fe } from "./index230.js";
|
|
31
31
|
import { Typography as s } from "./index85.js";
|
|
32
32
|
import { cn as G } from "./index100.js";
|
|
33
|
-
import { LoadingSpinner as Ee } from "./
|
|
34
|
-
import { NotFound as Me } from "./
|
|
33
|
+
import { LoadingSpinner as Ee } from "./index131.js";
|
|
34
|
+
import { NotFound as Me } from "./index149.js";
|
|
35
35
|
import { ChevronLeft as Rt, Eye as At, Repeat as Oe, CircleAlert as Dt } from "lucide-react";
|
|
36
36
|
import { headerIconButtonClass as P, STATUS_ICON as Tt, ACTION_ICON as $t, HEADER_TOOLTIP_DELAY as Pt, amountValueToneClass as St } from "./index231.js";
|
|
37
37
|
import { buildInvoiceDetailsView as kt } from "./index232.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMemo as p } from "react";
|
|
2
|
-
import { useUserPermissions as y } from "./
|
|
2
|
+
import { useUserPermissions as y } from "./index141.js";
|
|
3
3
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
4
4
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
5
5
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
@@ -1,62 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
postApiWidgetGatewayProxyPath: {
|
|
25
|
-
schema: {
|
|
26
|
-
method: "post",
|
|
27
|
-
url: "/api/widget-gateway/proxy/{path}",
|
|
28
|
-
security: ["HTTPBearer"]
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
putApiWidgetGatewayProxyPath: {
|
|
32
|
-
schema: {
|
|
33
|
-
method: "put",
|
|
34
|
-
url: "/api/widget-gateway/proxy/{path}",
|
|
35
|
-
security: ["HTTPBearer"]
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
patchApiWidgetGatewayProxyPath: {
|
|
39
|
-
schema: {
|
|
40
|
-
method: "patch",
|
|
41
|
-
url: "/api/widget-gateway/proxy/{path}",
|
|
42
|
-
security: ["HTTPBearer"]
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
deleteApiWidgetGatewayProxyPath: {
|
|
46
|
-
schema: {
|
|
47
|
-
method: "delete",
|
|
48
|
-
url: "/api/widget-gateway/proxy/{path}",
|
|
49
|
-
security: ["HTTPBearer"]
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
postApiWidgetGatewayRevoke: {
|
|
53
|
-
schema: {
|
|
54
|
-
method: "post",
|
|
55
|
-
url: "/api/widget-gateway/revoke",
|
|
56
|
-
security: ["HTTPBearer"]
|
|
57
|
-
}
|
|
58
|
-
}
|
|
1
|
+
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { createContext as i, useState as c, useCallback as d, useContext as h } from "react";
|
|
3
|
+
import { MoniteScopedProviders as l } from "./index83.js";
|
|
4
|
+
const n = i(null);
|
|
5
|
+
function g() {
|
|
6
|
+
const e = h(n);
|
|
7
|
+
if (!e)
|
|
8
|
+
throw new Error('Could not find DiscardChangesContext. Make sure that you are using "DiscardChangesContext" component before calling this hook.');
|
|
9
|
+
return e;
|
|
10
|
+
}
|
|
11
|
+
const m = ({
|
|
12
|
+
children: e
|
|
13
|
+
}) => /* @__PURE__ */ o(l, { children: /* @__PURE__ */ o(u, { children: e }) }), u = ({
|
|
14
|
+
children: e
|
|
15
|
+
}) => {
|
|
16
|
+
const [r, t] = c(!1), s = d((a) => {
|
|
17
|
+
t(a);
|
|
18
|
+
}, []);
|
|
19
|
+
return /* @__PURE__ */ o(n.Provider, { value: {
|
|
20
|
+
handleShowModal: s,
|
|
21
|
+
shouldShowChangesModal: r
|
|
22
|
+
}, children: e });
|
|
59
23
|
};
|
|
60
24
|
export {
|
|
61
|
-
|
|
25
|
+
n as DiscardChangesContext,
|
|
26
|
+
m as DiscardChangesContextProvider,
|
|
27
|
+
g as useDiscardChangesContext
|
|
62
28
|
};
|