@tesouro/embedded-components-react 0.2.65 → 0.2.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/ReceivablesWidget.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index2.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/ExpenseApprovalPoliciesWidgetFeature.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/feature/dist/lib/ReceiptMatchWidget.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/expense-requirements-widget/feature/dist/lib/ExpenseRequirementsWidget.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/help-widget/feature/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index6.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -1
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +32 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +35 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +23 -1269
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +1270 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +94 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +57 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +9 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +44 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +76 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +55 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +196 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +26 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +71 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +28 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +41 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +116 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +68 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +184 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +31 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +123 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +59 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +19 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +26 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +11 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +18 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +4 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +5 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +86 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +6 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +43 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +45 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +390 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +17 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +15 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +9 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +15 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +93 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +27 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +17 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +19 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +2 -394
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +27 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +114 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +65 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +11 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +12 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +60 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +397 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +35 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +2 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +368 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +34 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +1 -1
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +490 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +168 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +73 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +44 -57
- 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 +22 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +53 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +27 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +60 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +16 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +12 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +9 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +39 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +342 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +303 -19
- 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 +92 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +156 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +259 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +63 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +39 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +57 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +30 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +113 -10
- 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 +21 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +42 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +53 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +74 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +76 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +40 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +18 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +39 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +149 -112
- 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 +19 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +25 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +127 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +16 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +27 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +39 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +59 -286
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +93 -46
- 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 +112 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +84 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +21 -224
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +15 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +171 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +134 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +162 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +10 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +18 -344
- 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 +62 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +64 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +52 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +6 -265
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +60 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +20 -487
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +59 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +14 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +2 -50
- 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 +89 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +94 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +191 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +158 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +27 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +27 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +78 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +58 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +43 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +22 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +187 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +105 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +81 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +286 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +45 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +15 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +83 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +222 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +39 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +46 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +45 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +107 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +32 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +95 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +36 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +35 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +120 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +18 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +16 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +16 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +71 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +53 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +25 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +69 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +47 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +25 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +21 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +14 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +49 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +11 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +66 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +17 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +15 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +13 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +11 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +14 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +67 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +20 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +2 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +32 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +4 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +126 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +75 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +66 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +24 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +38 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +5 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +33 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +85 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +22 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +111 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +81 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +29 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +56 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +54 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +49 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +37 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +45 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +70 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +81 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +51 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +51 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +53 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +30 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +54 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +69 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +21 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +39 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +41 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +35 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +17 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +48 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +59 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +29 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +96 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +14 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +75 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +20 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +9 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +53 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +15 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +51 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +54 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +41 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +18 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +48 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/onboarding-widget/feature/dist/index2.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/index2.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/profile-widget/feature/dist/index2.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetErrorBoundary.js +31 -31
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetTokenRefreshProvider.js +42 -36
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/hooks.js +21 -9
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/interceptor.js +40 -21
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/posthog.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/runtime.js +38 -22
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/tags-widget/feature/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index11.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index7.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index4.js +6 -6
- package/package.json +1 -1
|
@@ -1,80 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
flexDirection: "row",
|
|
18
|
-
gap: 3
|
|
19
|
-
};
|
|
20
|
-
if (e === "left" && t === "left")
|
|
21
|
-
return {
|
|
22
|
-
justifyContent: "flex-start",
|
|
23
|
-
flexDirection: "row",
|
|
24
|
-
gap: 3
|
|
25
|
-
};
|
|
26
|
-
if (e === "right" && t === "right")
|
|
27
|
-
return {
|
|
28
|
-
justifyContent: "flex-end",
|
|
29
|
-
flexDirection: "row-reverse",
|
|
30
|
-
gap: 3
|
|
31
|
-
};
|
|
32
|
-
if (e === "left" && t === "right")
|
|
33
|
-
return {
|
|
34
|
-
justifyContent: "space-between",
|
|
35
|
-
flexDirection: "row",
|
|
36
|
-
gap: void 0
|
|
37
|
-
};
|
|
38
|
-
if (e === "right" && t === "left")
|
|
39
|
-
return {
|
|
40
|
-
justifyContent: "space-between",
|
|
41
|
-
flexDirection: "row-reverse",
|
|
42
|
-
gap: void 0
|
|
43
|
-
};
|
|
44
|
-
if (e === "center")
|
|
45
|
-
return {
|
|
46
|
-
justifyContent: "space-around",
|
|
47
|
-
flexDirection: t === "left" ? "row-reverse" : "row",
|
|
48
|
-
gap: void 0
|
|
49
|
-
};
|
|
50
|
-
if (t === "center")
|
|
51
|
-
return {
|
|
52
|
-
justifyContent: "space-around",
|
|
53
|
-
flexDirection: e === "left" ? "row" : "row-reverse",
|
|
54
|
-
gap: void 0
|
|
55
|
-
};
|
|
1
|
+
import { jsxs as r, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { classNames as a } from "./index173.js";
|
|
3
|
+
import { Stack as e } from "@mui/material";
|
|
4
|
+
const x = ({
|
|
5
|
+
className: t,
|
|
6
|
+
searchField: i,
|
|
7
|
+
children: s,
|
|
8
|
+
sx: n
|
|
9
|
+
}) => /* @__PURE__ */ r(e, { direction: "row", justifyContent: "space-between", alignItems: "center", className: a("Monite-Filters", t), sx: Object.assign({
|
|
10
|
+
"& > *": {
|
|
11
|
+
flexBasis: "fit-content",
|
|
12
|
+
flexGrow: 1
|
|
13
|
+
},
|
|
14
|
+
"& > .Monite-SearchField": {
|
|
15
|
+
maxWidth: "400px",
|
|
16
|
+
width: "100%"
|
|
56
17
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
flexDirection: "row",
|
|
68
|
-
gap: 3
|
|
69
|
-
};
|
|
70
|
-
default:
|
|
71
|
-
return {
|
|
72
|
-
justifyContent: "space-between",
|
|
73
|
-
flexDirection: "row",
|
|
74
|
-
gap: void 0
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
}
|
|
18
|
+
}, n || {}), children: [
|
|
19
|
+
i,
|
|
20
|
+
/* @__PURE__ */ o(e, { gap: 1, direction: "row", justifyContent: "flex-end", alignItems: "center", className: "Monite-Filters-Group", sx: {
|
|
21
|
+
ml: 2,
|
|
22
|
+
"& .Monite-FilterControl": {
|
|
23
|
+
maxWidth: "160px",
|
|
24
|
+
width: "100%"
|
|
25
|
+
}
|
|
26
|
+
}, children: s })
|
|
27
|
+
] });
|
|
78
28
|
export {
|
|
79
|
-
|
|
29
|
+
x as FilterContainer
|
|
80
30
|
};
|
|
@@ -1,23 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./
|
|
3
|
-
import "@
|
|
4
|
-
import "
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const u = ({
|
|
11
|
-
id: r
|
|
1
|
+
import { jsxs as i, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useDebounceCallback as c } from "./index66.js";
|
|
3
|
+
import m from "@mui/icons-material/Search";
|
|
4
|
+
import { FormControl as s, InputLabel as h, Input as p, InputAdornment as d } from "@mui/material";
|
|
5
|
+
const u = 500, x = ({
|
|
6
|
+
label: r,
|
|
7
|
+
value: o,
|
|
8
|
+
placeholder: l,
|
|
9
|
+
onChange: n
|
|
12
10
|
}) => {
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
const t = c((a) => n(a), u);
|
|
12
|
+
return /* @__PURE__ */ i(s, { "aria-label": "search-by-name", className: "Monite-SearchField Monite-FilterControl", children: [
|
|
13
|
+
r && /* @__PURE__ */ e(h, { htmlFor: "search-by-name", shrink: !0, children: r }),
|
|
14
|
+
/* @__PURE__ */ e(p, { id: "search-by-name", name: "search-by-name", "aria-label": "search-by-name", placeholder: l, value: o, onChange: (a) => {
|
|
15
|
+
t(a.target.value || null);
|
|
16
|
+
}, startAdornment: /* @__PURE__ */ e(d, { position: "end", children: /* @__PURE__ */ e(m, { fontSize: "medium" }) }), sx: {
|
|
17
|
+
"&::placeholder": {
|
|
18
|
+
opacity: 1,
|
|
19
|
+
color: "text.primary"
|
|
20
|
+
},
|
|
21
|
+
"& input::placeholder": {
|
|
22
|
+
opacity: 1,
|
|
23
|
+
color: "text.primary"
|
|
24
|
+
}
|
|
25
|
+
} })
|
|
26
|
+
] });
|
|
20
27
|
};
|
|
21
28
|
export {
|
|
22
|
-
u as
|
|
29
|
+
u as DEBOUNCE_SEARCH_TIMEOUT,
|
|
30
|
+
x as SearchField
|
|
23
31
|
};
|
|
@@ -1,45 +1,80 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
1
|
+
function i({
|
|
2
|
+
layout: r,
|
|
3
|
+
navigationPosition: e,
|
|
4
|
+
pageSizePosition: t,
|
|
5
|
+
hasPageSizeSelect: n
|
|
6
|
+
}) {
|
|
7
|
+
if (!n)
|
|
8
|
+
return {
|
|
9
|
+
justifyContent: "center",
|
|
10
|
+
flexDirection: "row",
|
|
11
|
+
gap: void 0
|
|
12
|
+
};
|
|
13
|
+
if (r === "custom") {
|
|
14
|
+
if (e === "center" && t === "center")
|
|
15
|
+
return {
|
|
16
|
+
justifyContent: "center",
|
|
17
|
+
flexDirection: "row",
|
|
18
|
+
gap: 3
|
|
19
|
+
};
|
|
20
|
+
if (e === "left" && t === "left")
|
|
21
|
+
return {
|
|
22
|
+
justifyContent: "flex-start",
|
|
23
|
+
flexDirection: "row",
|
|
24
|
+
gap: 3
|
|
25
|
+
};
|
|
26
|
+
if (e === "right" && t === "right")
|
|
27
|
+
return {
|
|
28
|
+
justifyContent: "flex-end",
|
|
29
|
+
flexDirection: "row-reverse",
|
|
30
|
+
gap: 3
|
|
31
|
+
};
|
|
32
|
+
if (e === "left" && t === "right")
|
|
33
|
+
return {
|
|
34
|
+
justifyContent: "space-between",
|
|
35
|
+
flexDirection: "row",
|
|
36
|
+
gap: void 0
|
|
37
|
+
};
|
|
38
|
+
if (e === "right" && t === "left")
|
|
39
|
+
return {
|
|
40
|
+
justifyContent: "space-between",
|
|
41
|
+
flexDirection: "row-reverse",
|
|
42
|
+
gap: void 0
|
|
43
|
+
};
|
|
44
|
+
if (e === "center")
|
|
45
|
+
return {
|
|
46
|
+
justifyContent: "space-around",
|
|
47
|
+
flexDirection: t === "left" ? "row-reverse" : "row",
|
|
48
|
+
gap: void 0
|
|
49
|
+
};
|
|
50
|
+
if (t === "center")
|
|
51
|
+
return {
|
|
52
|
+
justifyContent: "space-around",
|
|
53
|
+
flexDirection: e === "left" ? "row" : "row-reverse",
|
|
54
|
+
gap: void 0
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
switch (r) {
|
|
58
|
+
case "reversed":
|
|
59
|
+
return {
|
|
60
|
+
justifyContent: "space-between",
|
|
61
|
+
flexDirection: "row-reverse",
|
|
62
|
+
gap: void 0
|
|
63
|
+
};
|
|
64
|
+
case "centered":
|
|
65
|
+
return {
|
|
66
|
+
justifyContent: "center",
|
|
67
|
+
flexDirection: "row",
|
|
68
|
+
gap: 3
|
|
69
|
+
};
|
|
70
|
+
default:
|
|
71
|
+
return {
|
|
72
|
+
justifyContent: "space-between",
|
|
73
|
+
flexDirection: "row",
|
|
74
|
+
gap: void 0
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
}
|
|
43
78
|
export {
|
|
44
|
-
|
|
79
|
+
i as getLayoutStyles
|
|
45
80
|
};
|
|
@@ -1,16 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
|
|
1
|
+
import { useMoniteContext as s } from "./index58.js";
|
|
2
|
+
import { useLingui as n } from "@lingui/react";
|
|
3
|
+
import { toast as r } from "react-hot-toast";
|
|
4
|
+
const c = (i) => {
|
|
5
|
+
const {
|
|
6
|
+
i18n: e
|
|
7
|
+
} = n(), {
|
|
8
|
+
api: a,
|
|
9
|
+
queryClient: o
|
|
10
|
+
} = s();
|
|
11
|
+
return a.finops.patchProductsId.useMutation({
|
|
12
|
+
path: {
|
|
13
|
+
product_id: i
|
|
14
|
+
}
|
|
15
|
+
}, {
|
|
16
|
+
onSuccess: async (t) => {
|
|
17
|
+
await a.finops.getProducts.invalidateQueries(o), await a.finops.getProductsId.invalidateQueries({
|
|
18
|
+
parameters: {
|
|
19
|
+
path: {
|
|
20
|
+
product_id: t.id
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}, o), r.success(t.type === "product" ? e._("Product {name} was updated.", {
|
|
24
|
+
name: t.name
|
|
25
|
+
}) : e._("Service {name} was updated.", {
|
|
26
|
+
name: t.name
|
|
27
|
+
}));
|
|
28
|
+
},
|
|
29
|
+
onError: () => {
|
|
30
|
+
r.error(e._("Failed to update"));
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
};
|
|
13
34
|
export {
|
|
14
|
-
|
|
15
|
-
a as tagCategories
|
|
35
|
+
c as useUpdateProduct
|
|
16
36
|
};
|
|
@@ -1,82 +1,67 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "react";
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const I = ({
|
|
10
|
-
setNameError: l,
|
|
11
|
-
onTagCreated: c,
|
|
12
|
-
onTagUpdated: m
|
|
1
|
+
import { jsx as a, jsxs as g } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMemo as o, useCallback as x } from "react";
|
|
3
|
+
import { getLineItemErrorMessage as b } from "./index353.js";
|
|
4
|
+
import { useLingui as E } from "@lingui/react";
|
|
5
|
+
import { Collapse as _, Alert as j, List as v, ListItem as L, ListItemText as A } from "@mui/material";
|
|
6
|
+
const q = ({
|
|
7
|
+
generalError: e,
|
|
8
|
+
fieldErrors: n
|
|
13
9
|
}) => {
|
|
10
|
+
const t = o(() => {
|
|
11
|
+
for (const r of Object.values(n))
|
|
12
|
+
if (r) return !0;
|
|
13
|
+
return !1;
|
|
14
|
+
}, [n]);
|
|
15
|
+
return e || t ? /* @__PURE__ */ a(_, { in: !0, sx: {
|
|
16
|
+
":not(.MuiCollapse-hidden)": {
|
|
17
|
+
marginBottom: 1
|
|
18
|
+
}
|
|
19
|
+
}, children: /* @__PURE__ */ g(j, { severity: "error", sx: {
|
|
20
|
+
"& .MuiAlert-icon": {
|
|
21
|
+
alignItems: "center"
|
|
22
|
+
}
|
|
23
|
+
}, children: [
|
|
24
|
+
e && /* @__PURE__ */ a("div", { children: e }),
|
|
25
|
+
t && /* @__PURE__ */ a(v, { dense: !0, disablePadding: !0, sx: {
|
|
26
|
+
mt: e ? 1 : 0
|
|
27
|
+
}, children: Object.entries(n).map(([r, s]) => s ? /* @__PURE__ */ a(L, { disablePadding: !0, children: /* @__PURE__ */ a(A, { primary: s, primaryTypographyProps: {
|
|
28
|
+
sx: {
|
|
29
|
+
color: "inherit"
|
|
30
|
+
}
|
|
31
|
+
} }) }, r) : null) })
|
|
32
|
+
] }) }) : null;
|
|
33
|
+
}, C = (e) => {
|
|
14
34
|
const {
|
|
15
35
|
i18n: n
|
|
16
|
-
} =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
onSuccess: () => i.finops.getTags.invalidateQueries(o),
|
|
25
|
-
onError: (e) => {
|
|
26
|
-
const t = d(n, e);
|
|
27
|
-
t === "This tag already exists." ? l?.(t) : u.error(t);
|
|
28
|
-
}
|
|
29
|
-
}), _ = i.finops.patchTagsId.useMutation(void 0, {
|
|
30
|
-
onSuccess: (e) => {
|
|
31
|
-
Promise.all([i.finops.getTags.invalidateQueries(o), i.finops.getTagsId.invalidateQueries({
|
|
32
|
-
parameters: {
|
|
33
|
-
path: {
|
|
34
|
-
tag_id: e.id
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}, o)]), m?.(e);
|
|
38
|
-
},
|
|
39
|
-
onError: (e) => {
|
|
40
|
-
u.error(d(n, e));
|
|
36
|
+
} = E(), t = o(() => Array.isArray(e) ? e : e ? [e] : [], [e]), r = x((i) => {
|
|
37
|
+
for (let u = 0; u < t.length; u++) {
|
|
38
|
+
const f = t[u];
|
|
39
|
+
if (typeof f == "object") {
|
|
40
|
+
const h = b(f, i);
|
|
41
|
+
if (h)
|
|
42
|
+
return h;
|
|
43
|
+
}
|
|
41
44
|
}
|
|
42
|
-
|
|
45
|
+
return null;
|
|
46
|
+
}, [t]), s = o(() => r("product.name") ?? r("name"), [r]), l = o(() => r("quantity"), [r]), m = o(() => r("price") ?? r("product.price.value") ?? r("product.price.currency"), [r]), c = o(() => r("tax_rate_value"), [r]), p = o(() => r("product.measure_unit_id") ?? r("product.measure_unit_name") ?? r("measure_unit"), [r]), d = o(() => r("product.type"), [r]), y = o(() => t.length === 0 || (s || l || m || c || p || d) ? void 0 : t.some((i) => {
|
|
47
|
+
if (!i || typeof i != "object") return !1;
|
|
48
|
+
const u = Object.keys(i);
|
|
49
|
+
return u.length > 0 && u.some((f) => i[f] != null);
|
|
50
|
+
}) ? n._("Please check the form for errors") : void 0, [t, s, l, m, c, p, d, n]);
|
|
43
51
|
return {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
},
|
|
55
|
-
body: t
|
|
56
|
-
}),
|
|
57
|
-
updateOcrAutoTagging: (e, t = []) => {
|
|
58
|
-
const s = r.filter((y) => y.tag_id !== e);
|
|
59
|
-
if (s.length === r.length && !t.length)
|
|
60
|
-
return;
|
|
61
|
-
const p = t.length ? [...s, {
|
|
62
|
-
tag_id: e,
|
|
63
|
-
keywords: [...new Set(t)],
|
|
64
|
-
enabled: !0
|
|
65
|
-
}] : s;
|
|
66
|
-
p.length && f({
|
|
67
|
-
tax_mode: a.tax_mode,
|
|
68
|
-
payment_priority: a.payment_priority,
|
|
69
|
-
quote_signature_required: a.quote_signature_required,
|
|
70
|
-
receivable_edit_flow: a.receivable_edit_flow,
|
|
71
|
-
allow_purchase_order_autolinking: a.allow_purchase_order_autolinking,
|
|
72
|
-
generate_paid_invoice_pdf: a.generate_paid_invoice_pdf,
|
|
73
|
-
payables_ocr_auto_tagging: p,
|
|
74
|
-
payables_skip_approval_flow: a.payables_skip_approval_flow,
|
|
75
|
-
tax_inclusive_discount_mode: a.tax_inclusive_discount_mode
|
|
76
|
-
});
|
|
77
|
-
}
|
|
52
|
+
generalError: y,
|
|
53
|
+
fieldErrors: {
|
|
54
|
+
name: s,
|
|
55
|
+
quantity: l,
|
|
56
|
+
price: m,
|
|
57
|
+
tax: c,
|
|
58
|
+
measureUnit: p,
|
|
59
|
+
productType: d
|
|
60
|
+
},
|
|
61
|
+
hasErrors: !!(y || s || l || m || c || p || d)
|
|
78
62
|
};
|
|
79
63
|
};
|
|
80
64
|
export {
|
|
81
|
-
|
|
65
|
+
q as FormErrorDisplay,
|
|
66
|
+
C as useFormErrors
|
|
82
67
|
};
|
|
@@ -1,44 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as _, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { memo as b } from "react";
|
|
3
|
+
import { Button as I } from "./index85.js";
|
|
4
|
+
import { Checkbox as y } from "./index363.js";
|
|
5
|
+
import { Trash2 as R } from "lucide-react";
|
|
6
|
+
import { ItemSelector as U } from "./index351.js";
|
|
7
|
+
import { PriceField as N } from "./index428.js";
|
|
8
|
+
import { QuantityField as V } from "./index429.js";
|
|
9
|
+
import { MeasureUnitField as j } from "./index430.js";
|
|
10
|
+
const k = ({
|
|
11
|
+
index: t,
|
|
12
|
+
control: l,
|
|
13
|
+
errors: a,
|
|
14
|
+
defaultCurrency: i = "USD",
|
|
15
|
+
measureUnitsData: m,
|
|
16
|
+
container: c,
|
|
17
|
+
onRequestLineItemValue: n,
|
|
18
|
+
onLineItemValueChange: o,
|
|
19
|
+
onRequestOpenCreateProductDialog: p,
|
|
20
|
+
onUpdateItem: h,
|
|
21
|
+
onRemoveItem: s,
|
|
22
|
+
canRemove: u
|
|
10
23
|
}) => {
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
/* @__PURE__ */ i(p, { width: 18 }),
|
|
32
|
-
s(r)
|
|
33
|
-
] }, r);
|
|
34
|
-
case "approval_chain":
|
|
35
|
-
return /* @__PURE__ */ e("li", { children: [
|
|
36
|
-
/* @__PURE__ */ i(a, { width: 18 }),
|
|
37
|
-
s(r)
|
|
38
|
-
] }, r);
|
|
39
|
-
}
|
|
40
|
-
}) }) : null;
|
|
41
|
-
};
|
|
24
|
+
const w = !!a.line_items?.[t]?.product?.name, v = !!a.line_items?.[t]?.quantity, f = !!a.line_items?.[t]?.product?.price?.value, d = n("product.name"), x = !!(d && d.trim()), C = a.line_items?.[t]?.product?.measure_unit_id;
|
|
25
|
+
return /* @__PURE__ */ _("li", { className: "ttw:flex ttw:items-center ttw:gap-2.5 ttw:h-9", children: [
|
|
26
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex-1 ttw:min-w-30", children: /* @__PURE__ */ e(U, { onCreateItem: p, onChange: (r, g) => h(t, r, g), fieldName: n("product.name") || "", index: t, error: w, defaultCurrency: i, measureUnits: m, container: c }) }),
|
|
27
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(V, { index: t, control: l, quantityError: v, canRemove: u, hasProduct: x, onLineItemValueChange: o, onRemoveItem: s }) }),
|
|
28
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(j, { value: n("product.measure_unit_id"), onChange: (r) => {
|
|
29
|
+
o("product.measure_unit_id", r, {
|
|
30
|
+
shouldValidate: !0
|
|
31
|
+
});
|
|
32
|
+
}, availableMeasureUnits: m?.data || [], fieldError: C }) }),
|
|
33
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(N, { error: f, currency: i, value: n("product.price.value"), onChange: (r) => {
|
|
34
|
+
o("product.price.value", r, {
|
|
35
|
+
shouldValidate: !0
|
|
36
|
+
});
|
|
37
|
+
} }) }),
|
|
38
|
+
/* @__PURE__ */ e("div", { className: "ttw:w-12 ttw:min-w-12 ttw:flex ttw:items-center ttw:justify-center", children: /* @__PURE__ */ e(y, { checked: n("taxable") ?? !1, onCheckedChange: (r) => {
|
|
39
|
+
o("taxable", r === !0);
|
|
40
|
+
} }) }),
|
|
41
|
+
u && /* @__PURE__ */ e(I, { type: "button", variant: "ghost", size: "sm", className: "ttw:w-10 ttw:text-muted-foreground ttw:hover:bg-transparent ttw:hover:text-destructive ttw:border-l ttw:border-border ttw:pl-4 ttw:rounded-none ttw:has-[>svg]:pr-0", onClick: () => s(t), children: /* @__PURE__ */ e(R, {}) })
|
|
42
|
+
] });
|
|
43
|
+
}, S = b(k);
|
|
42
44
|
export {
|
|
43
|
-
|
|
45
|
+
S as InvoiceItemRow
|
|
44
46
|
};
|
|
@@ -1,64 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
user: e,
|
|
16
|
-
variant: m = "text",
|
|
17
|
-
showUsersAsEmail: i = !1,
|
|
18
|
-
showAvatar: f = !1,
|
|
19
|
-
className: o = ""
|
|
1
|
+
import { jsxs as n, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useLingui as r } from "@lingui/react";
|
|
3
|
+
import { twMerge as i } from "tailwind-merge";
|
|
4
|
+
const o = ({
|
|
5
|
+
label: e,
|
|
6
|
+
value: l,
|
|
7
|
+
className: a
|
|
8
|
+
}) => /* @__PURE__ */ n("li", { className: i("ttw:flex ttw:justify-between ttw:items-center", a), children: [
|
|
9
|
+
/* @__PURE__ */ t("span", { children: e }),
|
|
10
|
+
/* @__PURE__ */ t("span", { children: l?.toString() })
|
|
11
|
+
] }), u = ({
|
|
12
|
+
subtotalPrice: e,
|
|
13
|
+
totalTaxes: l,
|
|
14
|
+
totalPrice: a
|
|
20
15
|
}) => {
|
|
21
16
|
const {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
badgeVariant: E,
|
|
30
|
-
className: c
|
|
31
|
-
} = d({
|
|
32
|
-
variant: m,
|
|
33
|
-
isError: !0,
|
|
34
|
-
componentType: "user",
|
|
35
|
-
className: o
|
|
36
|
-
});
|
|
37
|
-
return x ? /* @__PURE__ */ s(p, { variant: E, className: c, children: "N/A" }) : /* @__PURE__ */ s("span", { className: c, children: "N/A" });
|
|
38
|
-
}
|
|
39
|
-
if (!a && !r)
|
|
40
|
-
return null;
|
|
41
|
-
const h = a ? `${a.first_name ?? ""} ${a.last_name ?? ""}`.trim() : "", w = a ? `${a.first_name?.[0] ?? ""}${a.last_name?.[0] ?? ""}`.toUpperCase() : "", n = i && a?.email ? a.email : h || a?.email || "";
|
|
42
|
-
if (r)
|
|
43
|
-
return /* @__PURE__ */ s(B, { className: "ttw:h-4 ttw:w-20" });
|
|
44
|
-
const {
|
|
45
|
-
useBadge: v,
|
|
46
|
-
badgeVariant: A,
|
|
47
|
-
className: l,
|
|
48
|
-
showAvatar: g
|
|
49
|
-
} = d({
|
|
50
|
-
variant: m,
|
|
51
|
-
isError: !1,
|
|
52
|
-
componentType: "user",
|
|
53
|
-
showAvatar: f,
|
|
54
|
-
showUsersAsEmail: i,
|
|
55
|
-
className: o
|
|
56
|
-
});
|
|
57
|
-
return v ? /* @__PURE__ */ y(p, { variant: A, className: l, children: [
|
|
58
|
-
g && /* @__PURE__ */ s(b, { className: "ttw:w-4 ttw:h-4", children: /* @__PURE__ */ s(k, { className: "ttw:text-xs ttw:font-medium", children: w }) }),
|
|
59
|
-
n
|
|
60
|
-
] }) : /* @__PURE__ */ s("span", { className: l, children: n });
|
|
17
|
+
i18n: s
|
|
18
|
+
} = r();
|
|
19
|
+
return /* @__PURE__ */ n("ul", { className: "ttw:w-full ttw:flex ttw:flex-col ttw:gap-1.5 ttw:list-none", children: [
|
|
20
|
+
/* @__PURE__ */ t(o, { label: s._("Subtotal"), value: e, className: "ttw:text-sm ttw:font-normal" }),
|
|
21
|
+
/* @__PURE__ */ t(o, { label: s._("Tax"), value: l, className: "ttw:text-sm ttw:font-normal" }),
|
|
22
|
+
/* @__PURE__ */ t(o, { label: s._("Total"), value: a, className: "ttw:text-lg ttw:font-medium" })
|
|
23
|
+
] });
|
|
61
24
|
};
|
|
62
25
|
export {
|
|
63
|
-
|
|
26
|
+
u as InvoiceTotals
|
|
64
27
|
};
|