@tesouro/embedded-components-react 0.2.324 → 0.2.326
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/README.md +20 -25
- package/dist/experimental/WidgetSuite.d.ts +5 -5
- package/dist/experimental/index.d.ts +5 -5
- package/dist/index.css +12 -0
- package/dist/index.d.ts +21 -41
- package/dist/lib/AcceptDisclosuresWidget.d.ts +14 -34
- package/dist/lib/BalancesWidget.d.ts +5 -5
- package/dist/lib/BankAccountOnboardingWidget.d.ts +5 -5
- package/dist/lib/BankAccountsWidget.d.ts +5 -5
- package/dist/lib/BillPayWidget.d.ts +5 -5
- package/dist/lib/CardDetailsWidget.d.ts +5 -5
- package/dist/lib/CardsWidget.d.ts +5 -5
- package/dist/lib/ChartOfAccountsWidget.d.ts +5 -5
- package/dist/lib/CounterpartsWidget.d.ts +5 -5
- package/dist/lib/CreateCardWidget.d.ts +5 -5
- package/dist/lib/ExpenseApprovalPoliciesWidget.d.ts +5 -5
- package/dist/lib/ExpenseManagementWidget.d.ts +5 -5
- package/dist/lib/ExpenseRequirementsWidget.d.ts +5 -5
- package/dist/lib/HelpWidget.d.ts +5 -5
- package/dist/lib/InsightsWidget.d.ts +5 -5
- package/dist/lib/InvoicingWidget.d.ts +5 -5
- package/dist/lib/LinkedAccountsWidget.d.ts +5 -5
- package/dist/lib/ProductsWidget.d.ts +5 -5
- package/dist/lib/ProfileWidget.d.ts +5 -5
- package/dist/lib/ReceiptMatchWidget.d.ts +5 -5
- package/dist/lib/ReceivablesWidget.d.ts +5 -5
- package/dist/lib/SettingsWidget.d.ts +5 -5
- package/dist/lib/TagsWidget.d.ts +5 -5
- package/dist/lib/TeamWidget.d.ts +5 -5
- package/dist/lib/TransfersWidget.d.ts +5 -5
- package/dist/lib/WidgetProvider.d.ts +12 -12
- package/dist/lib/WidgetProviderPublic.d.ts +5 -5
- package/dist/lib/monite-sdk.d.ts +8 -0
- package/dist/lib/monite-sdk.js +55 -55
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index4.js +57 -68
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +78 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +20 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +6 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +109 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +35 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +2 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +8 -445
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +11 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +73 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +19 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +441 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +41 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +76 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +62 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +28 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +39 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +4 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +2 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +48 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +120 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +5 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +184 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +206 -289
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +162 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +58 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +60 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +296 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +6 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +6 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +19 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +69 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +49 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +24 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +76 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +87 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +10 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +26 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +3 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +54 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +34 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +101 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +55 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +55 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +55 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +3 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +1 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +1 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +34 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +74 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +7 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +79 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +56 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +39 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +1 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +8 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +21 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +62 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +57 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +169 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +0 -598
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +85 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +1 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +598 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +166 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +25 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +1 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +10 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +16 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +27 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +90 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +10 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +10 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +75 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +127 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +11 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +53 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +5 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +62 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +120 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +21 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +6 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +35 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +9 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +52 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +70 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +26 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +1 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +61 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +18 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +22 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +180 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +1 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +29 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +3 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +61 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +29 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +31 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +44 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +8 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +33 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +18 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +14 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +14 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +19 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +5 -198
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +117 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +197 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +7 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +42 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +6 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +9 -422
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +7 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +5 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +420 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +88 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +15 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +20 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +190 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +99 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +42 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +1 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +157 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +1 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +10 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +61 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +44 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +51 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +79 -342
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +23 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +41 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +345 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +1 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +159 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +1 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +35 -187
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +34 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +4 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +103 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +187 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +132 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +211 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +11 -240
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +17 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +27 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +1 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +241 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +0 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +36 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +140 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +1 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +163 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +26 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +8 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +37 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +153 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +71 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +210 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +40 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +1 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +77 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +185 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +166 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +12 -310
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +9 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +5 -190
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +317 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +90 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +191 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +29 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +82 -445
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +133 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +37 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +58 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +138 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +549 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +16 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +137 -140
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +143 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +36 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +64 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +67 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +144 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +57 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +84 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +14 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +23 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +97 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +43 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +27 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +13 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +5 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +13 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +14 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +9 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +92 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +33 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +45 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +66 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +23 -241
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +173 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +142 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +124 -428
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +78 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +246 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +7 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +6 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +435 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +21 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +17 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +52 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +46 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +13 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +39 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +143 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +114 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +40 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +32 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +19 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +19 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +21 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +71 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +171 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +137 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +30 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +113 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +19 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +42 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +13 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +24 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +26 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +36 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +81 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +50 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +37 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +81 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +49 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +34 -779
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +1 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +131 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +109 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +49 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +782 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +90 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +101 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +6 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +23 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +11 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +2 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +25 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +14 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +164 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +207 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +84 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +17 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +156 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +99 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +37 -178
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +13 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +27 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +1 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +180 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +40 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +21 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +75 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +16 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +11 -220
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +130 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +6 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +4 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +4 -205
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +213 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +11 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +32 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +170 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +193 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +91 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +60 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +55 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +90 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +43 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +79 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +85 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +23 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +17 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +21 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +13 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +13 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +5 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +9 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +5 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +6 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +69 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +111 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +80 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +141 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +28 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +91 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +3 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +68 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +1 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index608.js +66 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index609.js +27 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index610.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index611.js +33 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index612.js +18 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index613.js +33 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index614.js +30 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index615.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index616.js +97 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +41 -10
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/disclosures/useDisclosuresQuery.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +79 -80
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/isDisclosuresAcceptanceRequired.js +1 -4
- 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/monite-wrapper/feature/dist/lib/MoniteWrapper.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index3.js +1 -1
- package/package.json +1 -1
|
@@ -1,174 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { Input as a } from "./index89.js";
|
|
6
|
-
import { Textarea as o } from "./index102.js";
|
|
7
|
-
import { useGetReceivableById as s } from "./index137.js";
|
|
8
|
-
import "./index138.js";
|
|
9
|
-
import { DialogDescription as c, DialogFooter as l, DialogHeader as u, DialogTitle as d } from "./index58.js";
|
|
10
|
-
import { Typography as f } from "./index62.js";
|
|
11
|
-
import { formatFileSize as p } from "./index219.js";
|
|
12
|
-
import { useEffect as m, useMemo as h, useState as g } from "react";
|
|
13
|
-
import { Check as _, Send as v } from "lucide-react";
|
|
14
|
-
import { Fragment as y, jsx as b, jsxs as x } from "@emotion/react/jsx-runtime";
|
|
15
|
-
import { toast as S } from "react-hot-toast";
|
|
16
|
-
import { useLingui as C } from "@lingui/react";
|
|
1
|
+
import { getAPIErrorMessage as e } from "./index26.js";
|
|
2
|
+
import { useMoniteContext as t } from "./index47.js";
|
|
3
|
+
import { toast as n } from "react-hot-toast";
|
|
4
|
+
import { useLingui as r } from "@lingui/react";
|
|
17
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js
|
|
18
|
-
var
|
|
19
|
-
let { i18n:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
children: /* @__PURE__ */ x("div", {
|
|
33
|
-
className: "ttw:flex ttw:items-center ttw:gap-4",
|
|
34
|
-
children: [/* @__PURE__ */ b("span", {
|
|
35
|
-
className: "ttw:flex ttw:size-10 ttw:shrink-0 ttw:items-center ttw:justify-center ttw:rounded-full ttw:border ttw:border-emerald-200 ttw:bg-emerald-50",
|
|
36
|
-
children: b(O ? v : _, { className: "ttw:size-6 ttw:text-green-700" })
|
|
37
|
-
}), /* @__PURE__ */ x("div", {
|
|
38
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
39
|
-
children: [/* @__PURE__ */ b(d, { children: O ? k._("Send a copy to {name}?", { name: R }) : k._("Invoice issued. Send a copy to {name}?", { name: R }) }), /* @__PURE__ */ b(c, {
|
|
40
|
-
className: "ttw:text-xs",
|
|
41
|
-
children: k._("The customer will be emailed a copy of the invoice with payment instructions.")
|
|
42
|
-
})]
|
|
43
|
-
})]
|
|
44
|
-
})
|
|
45
|
-
}),
|
|
46
|
-
/* @__PURE__ */ x("div", {
|
|
47
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2 ttw:p-6",
|
|
48
|
-
children: [
|
|
49
|
-
/* @__PURE__ */ x("div", {
|
|
50
|
-
className: "ttw:flex ttw:items-center ttw:gap-4",
|
|
51
|
-
children: [/* @__PURE__ */ b(f, {
|
|
52
|
-
variant: "body2",
|
|
53
|
-
color: "muted",
|
|
54
|
-
className: "ttw:w-16 ttw:shrink-0",
|
|
55
|
-
children: k._("To")
|
|
56
|
-
}), /* @__PURE__ */ x(f, {
|
|
57
|
-
variant: "body2",
|
|
58
|
-
children: [R, z ? ` <${z}>` : ""]
|
|
59
|
-
})]
|
|
60
|
-
}),
|
|
61
|
-
/* @__PURE__ */ x("div", {
|
|
62
|
-
className: "ttw:flex ttw:items-center ttw:gap-4",
|
|
63
|
-
children: [/* @__PURE__ */ b(f, {
|
|
64
|
-
variant: "body2",
|
|
65
|
-
color: "muted",
|
|
66
|
-
className: "ttw:w-16 ttw:shrink-0",
|
|
67
|
-
children: k._("Subject")
|
|
68
|
-
}), /* @__PURE__ */ b(a, {
|
|
69
|
-
className: "ttw:flex-1",
|
|
70
|
-
value: W,
|
|
71
|
-
onChange: (e) => {
|
|
72
|
-
G(e.target.value), q(!0);
|
|
73
|
-
},
|
|
74
|
-
disabled: X
|
|
75
|
-
})]
|
|
76
|
-
}),
|
|
77
|
-
/* @__PURE__ */ x("div", {
|
|
78
|
-
className: "ttw:flex ttw:items-start ttw:gap-4",
|
|
79
|
-
children: [/* @__PURE__ */ b(f, {
|
|
80
|
-
variant: "body2",
|
|
81
|
-
color: "muted",
|
|
82
|
-
className: "ttw:w-16 ttw:shrink-0 ttw:pt-2",
|
|
83
|
-
children: k._("Message")
|
|
84
|
-
}), /* @__PURE__ */ b(o, {
|
|
85
|
-
className: "ttw:flex-1",
|
|
86
|
-
value: J,
|
|
87
|
-
onChange: (e) => Y(e.target.value),
|
|
88
|
-
placeholder: k._("e.g., Thank you for your business"),
|
|
89
|
-
disabled: X
|
|
90
|
-
})]
|
|
91
|
-
}),
|
|
92
|
-
H.length > 0 && /* @__PURE__ */ x("div", {
|
|
93
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pl-20",
|
|
94
|
-
children: [/* @__PURE__ */ x("div", {
|
|
95
|
-
className: "ttw:flex ttw:flex-col",
|
|
96
|
-
children: [/* @__PURE__ */ b(f, {
|
|
97
|
-
variant: "body2",
|
|
98
|
-
color: "muted",
|
|
99
|
-
children: k._("Attachments")
|
|
100
|
-
}), /* @__PURE__ */ b(f, {
|
|
101
|
-
variant: "caption",
|
|
102
|
-
color: "muted",
|
|
103
|
-
children: k._("To change what files are attached to the email, you will need to update the invoice.")
|
|
104
|
-
})]
|
|
105
|
-
}), /* @__PURE__ */ b("ul", {
|
|
106
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2.5",
|
|
107
|
-
children: H.map((e) => /* @__PURE__ */ x("li", {
|
|
108
|
-
className: "ttw:rounded-lg ttw:bg-muted ttw:px-2 ttw:py-1 ttw:text-sm ttw:font-medium",
|
|
109
|
-
children: [
|
|
110
|
-
e.name,
|
|
111
|
-
" ",
|
|
112
|
-
/* @__PURE__ */ x("span", {
|
|
113
|
-
className: "ttw:text-muted-foreground",
|
|
114
|
-
children: [
|
|
115
|
-
"(",
|
|
116
|
-
p(e.size),
|
|
117
|
-
")"
|
|
118
|
-
]
|
|
119
|
-
})
|
|
120
|
-
]
|
|
121
|
-
}, e.id))
|
|
122
|
-
})]
|
|
123
|
-
})
|
|
124
|
-
]
|
|
125
|
-
}),
|
|
126
|
-
/* @__PURE__ */ x(l, {
|
|
127
|
-
className: "ttw:flex ttw:flex-row ttw:gap-4 ttw:border-t ttw:border-border ttw:p-6",
|
|
128
|
-
children: [/* @__PURE__ */ b(i, {
|
|
129
|
-
type: "button",
|
|
130
|
-
variant: "outline",
|
|
131
|
-
className: "ttw:flex-1 ttw:border-border",
|
|
132
|
-
disabled: X,
|
|
133
|
-
onClick: E,
|
|
134
|
-
children: O ? k._("Cancel") : k._("Skip")
|
|
135
|
-
}), /* @__PURE__ */ b(i, {
|
|
136
|
-
type: "button",
|
|
137
|
-
variant: "default",
|
|
138
|
-
className: "ttw:flex-1",
|
|
139
|
-
disabled: X || !W.trim() || !J.trim(),
|
|
140
|
-
onClick: async () => {
|
|
141
|
-
Z(!0);
|
|
142
|
-
try {
|
|
143
|
-
let e = F ? F.data.filter(({ status: e, direction: t }) => e === "active" && t === "receive") : [];
|
|
144
|
-
e.length === 0 ? S.error(k._("You haven't onboarded for any payment method. Invoice is sent without a payment link.")) : await L({
|
|
145
|
-
recipient: {
|
|
146
|
-
id: M,
|
|
147
|
-
type: "entity"
|
|
148
|
-
},
|
|
149
|
-
payment_methods: e.map((e) => e.type),
|
|
150
|
-
object: {
|
|
151
|
-
id: w,
|
|
152
|
-
type: "receivable"
|
|
153
|
-
}
|
|
154
|
-
}), await I({
|
|
155
|
-
path: { receivable_id: w },
|
|
156
|
-
body: {
|
|
157
|
-
subject_text: W,
|
|
158
|
-
body_text: J,
|
|
159
|
-
recipients: z ? { to: [z] } : void 0
|
|
160
|
-
}
|
|
161
|
-
}), await Promise.all([A.finops.getReceivables.invalidateQueries(j), A.finops.getReceivablesId.invalidateQueries({ parameters: { path: { receivable_id: w } } }, j)]), S.success(k._("Invoice sent successfully")), D();
|
|
162
|
-
} catch {
|
|
163
|
-
S.error(k._("Failed to send invoice."));
|
|
164
|
-
} finally {
|
|
165
|
-
Z(!1);
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
children: k._("Send invoice")
|
|
169
|
-
})]
|
|
170
|
-
})
|
|
171
|
-
] });
|
|
6
|
+
var i = (i, a) => {
|
|
7
|
+
let { i18n: o } = r(), { api: s, queryClient: c } = t();
|
|
8
|
+
return s.finops.postRecurrencesIdPause.useMutation({ path: { recurrence_id: i } }, {
|
|
9
|
+
onError: (t) => {
|
|
10
|
+
n.error(e(o, t));
|
|
11
|
+
},
|
|
12
|
+
onSuccess: async () => {
|
|
13
|
+
await Promise.all([
|
|
14
|
+
s.finops.getReceivables.invalidateQueries(c),
|
|
15
|
+
s.finops.getReceivablesId.invalidateQueries({ parameters: { path: { receivable_id: a } } }, c),
|
|
16
|
+
s.finops.getRecurrencesId.invalidateQueries({ parameters: { path: { recurrence_id: i } } }, c)
|
|
17
|
+
]), n.success(o._("Series has been paused"));
|
|
18
|
+
}
|
|
19
|
+
});
|
|
172
20
|
};
|
|
173
21
|
//#endregion
|
|
174
|
-
export {
|
|
22
|
+
export { i as usePauseRecurrence };
|
|
@@ -1,141 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import { DialogFooter as r, DialogHeader as i, DialogTitle as a } from "./index58.js";
|
|
6
|
-
import { Typography as o } from "./index62.js";
|
|
7
|
-
import { Separator as s } from "./index64.js";
|
|
8
|
-
import { Checkbox as c } from "./index99.js";
|
|
9
|
-
import { useGetMeasureUnits as l } from "./index450.js";
|
|
10
|
-
import { useMemo as u, useState as d } from "react";
|
|
11
|
-
import { Check as f } from "lucide-react";
|
|
12
|
-
import { Fragment as p, jsx as m, jsxs as h } from "@emotion/react/jsx-runtime";
|
|
13
|
-
import { toast as g } from "react-hot-toast";
|
|
14
|
-
import { useLingui as _ } from "@lingui/react";
|
|
1
|
+
import { getAPIErrorMessage as e } from "./index26.js";
|
|
2
|
+
import { useMoniteContext as t } from "./index47.js";
|
|
3
|
+
import { toast as n } from "react-hot-toast";
|
|
4
|
+
import { useLingui as r } from "@lingui/react";
|
|
15
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js
|
|
16
|
-
var
|
|
17
|
-
let { i18n:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
children: /* @__PURE__ */ h(a, {
|
|
31
|
-
className: "ttw:flex ttw:flex-row ttw:items-center ttw:gap-4",
|
|
32
|
-
children: [/* @__PURE__ */ m("span", {
|
|
33
|
-
className: "ttw:flex ttw:size-10 ttw:items-center ttw:justify-center ttw:rounded-full ttw:border ttw:border-emerald-200 ttw:bg-emerald-50",
|
|
34
|
-
children: /* @__PURE__ */ m(f, { className: "ttw:size-6 ttw:text-green-700" })
|
|
35
|
-
}), y]
|
|
36
|
-
})
|
|
37
|
-
}),
|
|
38
|
-
/* @__PURE__ */ h("div", {
|
|
39
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:p-6",
|
|
40
|
-
children: [/* @__PURE__ */ h("div", {
|
|
41
|
-
className: "ttw:flex ttw:items-start ttw:justify-between ttw:gap-1.5",
|
|
42
|
-
children: [/* @__PURE__ */ h("div", {
|
|
43
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
44
|
-
children: [/* @__PURE__ */ m(o, {
|
|
45
|
-
variant: "h4",
|
|
46
|
-
children: x._("Do you want to also save these items?")
|
|
47
|
-
}), /* @__PURE__ */ m(o, {
|
|
48
|
-
variant: "caption",
|
|
49
|
-
color: "muted",
|
|
50
|
-
children: x._("Saved items can be quickly added to future invoices.")
|
|
51
|
-
})]
|
|
52
|
-
}), /* @__PURE__ */ m(n, {
|
|
53
|
-
type: "button",
|
|
54
|
-
variant: "ghost",
|
|
55
|
-
className: "ttw:text-primary ttw:hover:text-primary",
|
|
56
|
-
disabled: A,
|
|
57
|
-
onClick: N ? F : P,
|
|
58
|
-
children: N ? x._("Deselect all") : x._("Select all")
|
|
59
|
-
})]
|
|
60
|
-
}), /* @__PURE__ */ h("ul", {
|
|
61
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
62
|
-
children: [
|
|
63
|
-
/* @__PURE__ */ h("li", {
|
|
64
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
65
|
-
children: [/* @__PURE__ */ m(c, {
|
|
66
|
-
checked: M,
|
|
67
|
-
onCheckedChange: (e) => e ? P() : F(),
|
|
68
|
-
disabled: A || D.length === 0,
|
|
69
|
-
"aria-label": x._("Products and services")
|
|
70
|
-
}), /* @__PURE__ */ m(o, {
|
|
71
|
-
variant: "body2",
|
|
72
|
-
className: "ttw:font-semibold",
|
|
73
|
-
children: x._("Products and services")
|
|
74
|
-
})]
|
|
75
|
-
}),
|
|
76
|
-
/* @__PURE__ */ m("li", { children: /* @__PURE__ */ m(s, {}) }),
|
|
77
|
-
D.map(({ key: e, lineItem: t }) => /* @__PURE__ */ h("li", {
|
|
78
|
-
className: "ttw:flex ttw:items-start ttw:gap-2",
|
|
79
|
-
children: [/* @__PURE__ */ m(c, {
|
|
80
|
-
checked: O.has(e),
|
|
81
|
-
onCheckedChange: () => I(e),
|
|
82
|
-
disabled: A,
|
|
83
|
-
"aria-label": t.product.name
|
|
84
|
-
}), /* @__PURE__ */ h("div", {
|
|
85
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
86
|
-
children: [/* @__PURE__ */ m(o, {
|
|
87
|
-
variant: "caption",
|
|
88
|
-
children: t.product.name
|
|
89
|
-
}), /* @__PURE__ */ m(o, {
|
|
90
|
-
variant: "caption",
|
|
91
|
-
color: "muted",
|
|
92
|
-
children: L(t)
|
|
93
|
-
})]
|
|
94
|
-
})]
|
|
95
|
-
}, e))
|
|
96
|
-
]
|
|
97
|
-
})]
|
|
98
|
-
}),
|
|
99
|
-
/* @__PURE__ */ h(r, {
|
|
100
|
-
className: "ttw:flex ttw:flex-row ttw:gap-4 ttw:border-t ttw:border-border ttw:p-6",
|
|
101
|
-
children: [/* @__PURE__ */ m(n, {
|
|
102
|
-
type: "button",
|
|
103
|
-
variant: "outline",
|
|
104
|
-
className: "ttw:flex-1 ttw:border-border",
|
|
105
|
-
disabled: A,
|
|
106
|
-
onClick: b,
|
|
107
|
-
children: x._("Skip")
|
|
108
|
-
}), /* @__PURE__ */ m(n, {
|
|
109
|
-
type: "button",
|
|
110
|
-
variant: "default",
|
|
111
|
-
className: "ttw:flex-1",
|
|
112
|
-
disabled: !N || A,
|
|
113
|
-
onClick: async () => {
|
|
114
|
-
let e = D.filter((e) => O.has(e.key));
|
|
115
|
-
if (e.length) {
|
|
116
|
-
j(!0);
|
|
117
|
-
try {
|
|
118
|
-
await Promise.all(e.map(({ lineItem: e }) => E({ body: {
|
|
119
|
-
name: e.product.name,
|
|
120
|
-
type: "product",
|
|
121
|
-
price: {
|
|
122
|
-
value: e.product.price.value,
|
|
123
|
-
currency: e.product.price?.currency ?? "USD"
|
|
124
|
-
},
|
|
125
|
-
...e.product.measure_unit_id ? { measure_unit_id: e.product.measure_unit_id } : {},
|
|
126
|
-
...e.product.description ? { description: e.product.description } : {}
|
|
127
|
-
} }))), await S.finops.getProducts.invalidateQueries(C), g.success(x._("Products and services saved.")), b();
|
|
128
|
-
} catch {
|
|
129
|
-
g.error(x._("Failed to save products and services."));
|
|
130
|
-
} finally {
|
|
131
|
-
j(!1);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
children: x._("Save selected items")
|
|
136
|
-
})]
|
|
137
|
-
})
|
|
138
|
-
] });
|
|
6
|
+
var i = (i, a) => {
|
|
7
|
+
let { i18n: o } = r(), { api: s, queryClient: c } = t();
|
|
8
|
+
return s.finops.postRecurrencesIdResume.useMutation({ path: { recurrence_id: i } }, {
|
|
9
|
+
onError: (t) => {
|
|
10
|
+
n.error(e(o, t));
|
|
11
|
+
},
|
|
12
|
+
onSuccess: async () => {
|
|
13
|
+
await Promise.all([
|
|
14
|
+
s.finops.getReceivables.invalidateQueries(c),
|
|
15
|
+
s.finops.getReceivablesId.invalidateQueries({ parameters: { path: { receivable_id: a } } }, c),
|
|
16
|
+
s.finops.getRecurrencesId.invalidateQueries({ parameters: { path: { recurrence_id: i } } }, c)
|
|
17
|
+
]), n.success(o._("Series has been resumed"));
|
|
18
|
+
}
|
|
19
|
+
});
|
|
139
20
|
};
|
|
140
21
|
//#endregion
|
|
141
|
-
export {
|
|
22
|
+
export { i as useResumeRecurrence };
|
|
@@ -1,35 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { jsx as a } from "@emotion/react/jsx-runtime";
|
|
6
|
-
import { useLingui as o } from "@lingui/react";
|
|
1
|
+
import { cn as e } from "./index49.js";
|
|
2
|
+
import { Typography as t } from "./index62.js";
|
|
3
|
+
import { amountValueToneClass as n } from "./index217.js";
|
|
4
|
+
import { jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
7
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js
|
|
8
|
-
|
|
9
|
-
let
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
isEditFlow: f,
|
|
24
|
-
onSkip: () => v("issued"),
|
|
25
|
-
onSent: () => v("sent")
|
|
26
|
-
}) : /* @__PURE__ */ a(r, {
|
|
27
|
-
inlineLineItems: u,
|
|
28
|
-
title: y,
|
|
29
|
-
onClose: c
|
|
30
|
-
})
|
|
31
|
-
})
|
|
6
|
+
function a({ row: a, defaultTone: o }) {
|
|
7
|
+
let s = a.tone ?? (a.emphasis ? o : "default");
|
|
8
|
+
return /* @__PURE__ */ i("div", {
|
|
9
|
+
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
10
|
+
children: [/* @__PURE__ */ r(t, {
|
|
11
|
+
variant: "caption",
|
|
12
|
+
color: "muted",
|
|
13
|
+
className: "ttw:font-medium",
|
|
14
|
+
children: a.label
|
|
15
|
+
}), /* @__PURE__ */ r(t, {
|
|
16
|
+
component: "span",
|
|
17
|
+
variant: a.emphasis ? "h3" : "body1",
|
|
18
|
+
className: e(!a.emphasis && "ttw:font-medium", n[s]),
|
|
19
|
+
children: a.value
|
|
20
|
+
})]
|
|
32
21
|
});
|
|
33
|
-
}
|
|
22
|
+
}
|
|
34
23
|
//#endregion
|
|
35
|
-
export {
|
|
24
|
+
export { a as InvoiceDetailsAmountCell };
|
|
@@ -1,118 +1,76 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { useMeasureUnitsMapping as o } from "./index161.js";
|
|
8
|
-
import { useGetRecurrenceById as s } from "./index164.js";
|
|
9
|
-
import { buildEditInvoiceFormValues as c } from "./index223.js";
|
|
10
|
-
import "./index228.js";
|
|
11
|
-
import { LoadingPage as l } from "./index251.js";
|
|
12
|
-
import "./index252.js";
|
|
13
|
-
import { useGetMeasureUnits as u } from "./index450.js";
|
|
14
|
-
import { useReceivableSubmit as d } from "./index451.js";
|
|
15
|
-
import { ReceivableFormLayout as f } from "./index500.js";
|
|
16
|
-
import { useCallback as p, useEffect as m, useMemo as h, useRef as g } from "react";
|
|
17
|
-
import { Fragment as _, jsx as v, jsxs as y } from "@emotion/react/jsx-runtime";
|
|
18
|
-
import { useLingui as b } from "@lingui/react";
|
|
19
|
-
import { useForm as x } from "react-hook-form";
|
|
20
|
-
import { zodResolver as S } from "@hookform/resolvers/zod";
|
|
1
|
+
import { Typography as e } from "./index62.js";
|
|
2
|
+
import { Badge as t } from "./index195.js";
|
|
3
|
+
import { AccordionContent as n, AccordionItem as r, AccordionTrigger as i } from "./index507.js";
|
|
4
|
+
import { Check as a } from "lucide-react";
|
|
5
|
+
import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { useLingui as c } from "@lingui/react";
|
|
21
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js
|
|
22
|
-
var
|
|
23
|
-
let {
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
I
|
|
33
|
-
]), R = h(() => S(i(O, j, A, I)), [
|
|
34
|
-
O,
|
|
35
|
-
j,
|
|
36
|
-
A,
|
|
37
|
-
I
|
|
38
|
-
]), z = p((e, t, n) => (M.current === "issue" || e.frequency !== "once" && I === 0 ? R : L)(e, t, n), [
|
|
39
|
-
R,
|
|
40
|
-
L,
|
|
41
|
-
I
|
|
42
|
-
]), B = x({
|
|
43
|
-
mode: "onBlur",
|
|
44
|
-
resolver: z,
|
|
45
|
-
defaultValues: F
|
|
46
|
-
}), { getValues: V, reset: H } = B;
|
|
47
|
-
o(N, V, H);
|
|
48
|
-
let U = !!T?.iterations?.some((e) => e.issued_invoice_id), W = d({
|
|
49
|
-
mode: "edit",
|
|
50
|
-
methods: B,
|
|
51
|
-
currency: P,
|
|
52
|
-
invoice: s,
|
|
53
|
-
submitModeRef: M,
|
|
54
|
-
existingRecurrence: T ? {
|
|
55
|
-
id: T.id,
|
|
56
|
-
scheduleLocked: U
|
|
57
|
-
} : void 0,
|
|
58
|
-
hasStartedRecurrence: I > 0,
|
|
59
|
-
onComplete: (e) => C(e.receivable, {
|
|
60
|
-
inlineLineItems: e.inlineLineItems,
|
|
61
|
-
activatedRecurrence: e.mode === "recurrence",
|
|
62
|
-
issued: e.mode === "issue",
|
|
63
|
-
counterpartId: e.counterpartId,
|
|
64
|
-
hasCustomerEmail: e.hasCustomerEmail
|
|
65
|
-
}),
|
|
66
|
-
onClose: l
|
|
67
|
-
});
|
|
68
|
-
return m(() => {
|
|
69
|
-
E && W.highlightForIssue();
|
|
70
|
-
}, []), /* @__PURE__ */ v(f, {
|
|
71
|
-
open: w,
|
|
72
|
-
onRequestClose: W.requestClose,
|
|
73
|
-
methods: B,
|
|
74
|
-
title: O._("Edit invoice"),
|
|
75
|
-
currency: P,
|
|
76
|
-
embeddedBankName: D,
|
|
77
|
-
showPurchaseOrder: !1,
|
|
78
|
-
lockRecurrenceSchedule: U,
|
|
79
|
-
formName: W.formName,
|
|
80
|
-
onSubmit: W.onSubmit,
|
|
81
|
-
formScrollRef: W.formScrollRef,
|
|
82
|
-
registerLineItemCleanupFn: W.registerLineItemCleanupFn,
|
|
83
|
-
onAttachmentsUploadingChange: W.onAttachmentsUploadingChange,
|
|
84
|
-
disabled: W.isLoading,
|
|
85
|
-
closeDisabled: W.isSaving,
|
|
86
|
-
discardModal: W.discardModal,
|
|
87
|
-
footer: /* @__PURE__ */ y(_, { children: [
|
|
88
|
-
/* @__PURE__ */ v(n, {
|
|
89
|
-
variant: "outline",
|
|
90
|
-
className: "ttw:border-border",
|
|
91
|
-
onClick: W.requestClose,
|
|
92
|
-
disabled: W.isSaving || W.attachmentsUploading,
|
|
93
|
-
children: O._("Cancel")
|
|
94
|
-
}),
|
|
95
|
-
!W.isRecurrenceEnabled && /* @__PURE__ */ v(n, {
|
|
8
|
+
var l = ({ attachments: l }) => {
|
|
9
|
+
let { i18n: u } = c();
|
|
10
|
+
return /* @__PURE__ */ s(r, {
|
|
11
|
+
value: "attachments",
|
|
12
|
+
children: [/* @__PURE__ */ o(i, { children: /* @__PURE__ */ s("span", {
|
|
13
|
+
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
14
|
+
children: [/* @__PURE__ */ o("span", {
|
|
15
|
+
className: "ttw:group-hover:underline",
|
|
16
|
+
children: u._("Attachments")
|
|
17
|
+
}), /* @__PURE__ */ o(t, {
|
|
96
18
|
variant: "secondary",
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
19
|
+
className: "ttw:rounded-full",
|
|
20
|
+
children: l.length
|
|
21
|
+
})]
|
|
22
|
+
}) }), /* @__PURE__ */ o(n, { children: l.length === 0 ? /* @__PURE__ */ o(e, {
|
|
23
|
+
variant: "body2",
|
|
24
|
+
color: "muted",
|
|
25
|
+
children: u._("No attached files")
|
|
26
|
+
}) : /* @__PURE__ */ s("table", {
|
|
27
|
+
className: "ttw:w-full ttw:border-collapse",
|
|
28
|
+
children: [/* @__PURE__ */ o("thead", { children: /* @__PURE__ */ s("tr", {
|
|
29
|
+
className: "ttw:border-b ttw:border-border",
|
|
30
|
+
children: [/* @__PURE__ */ o("th", {
|
|
31
|
+
scope: "col",
|
|
32
|
+
className: "ttw:py-2 ttw:text-left",
|
|
33
|
+
children: /* @__PURE__ */ o(e, {
|
|
34
|
+
component: "span",
|
|
35
|
+
variant: "caption",
|
|
36
|
+
color: "muted",
|
|
37
|
+
children: u._("File")
|
|
38
|
+
})
|
|
39
|
+
}), /* @__PURE__ */ o("th", {
|
|
40
|
+
scope: "col",
|
|
41
|
+
className: "ttw:py-2 ttw:text-right",
|
|
42
|
+
children: /* @__PURE__ */ o(e, {
|
|
43
|
+
component: "span",
|
|
44
|
+
variant: "caption",
|
|
45
|
+
color: "muted",
|
|
46
|
+
children: u._("Emailed")
|
|
47
|
+
})
|
|
48
|
+
})]
|
|
49
|
+
}) }), /* @__PURE__ */ o("tbody", { children: l.map((e) => /* @__PURE__ */ s("tr", {
|
|
50
|
+
className: "ttw:border-b ttw:border-border ttw:last:border-b-0",
|
|
51
|
+
children: [/* @__PURE__ */ o("td", {
|
|
52
|
+
className: "ttw:py-3",
|
|
53
|
+
children: /* @__PURE__ */ o("a", {
|
|
54
|
+
href: e.url,
|
|
55
|
+
target: "_blank",
|
|
56
|
+
rel: "noreferrer",
|
|
57
|
+
className: "ttw:text-primary ttw:hover:underline",
|
|
58
|
+
children: e.name
|
|
59
|
+
})
|
|
60
|
+
}), /* @__PURE__ */ o("td", {
|
|
61
|
+
className: "ttw:py-3 ttw:text-right ttw:align-middle",
|
|
62
|
+
children: e.include_in_email ? /* @__PURE__ */ o(a, {
|
|
63
|
+
role: "img",
|
|
64
|
+
"aria-label": u._("Included in email"),
|
|
65
|
+
className: "ttw:inline-block ttw:size-4 ttw:text-emerald-600"
|
|
66
|
+
}) : /* @__PURE__ */ o("span", {
|
|
67
|
+
className: "ttw:sr-only",
|
|
68
|
+
children: u._("Not included in email")
|
|
69
|
+
})
|
|
70
|
+
})]
|
|
71
|
+
}, e.id)) })]
|
|
72
|
+
}) })]
|
|
115
73
|
});
|
|
116
74
|
};
|
|
117
75
|
//#endregion
|
|
118
|
-
export {
|
|
76
|
+
export { l as InvoiceDetailsAttachments };
|
|
@@ -1,22 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Button as e } from "./index56.js";
|
|
2
|
+
import { forwardRef as t } from "react";
|
|
3
|
+
import { XIcon as n } from "lucide-react";
|
|
4
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
3
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js
|
|
4
|
-
|
|
5
|
-
return /* @__PURE__ */
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
variant: "body2",
|
|
16
|
-
className: "ttw:whitespace-pre-line",
|
|
17
|
-
children: i
|
|
18
|
-
})]
|
|
6
|
+
var i = t(function({ label: t, onClose: i, variant: a = "ghost", size: o = "icon", onClick: s, ...c }, l) {
|
|
7
|
+
return /* @__PURE__ */ r(e, {
|
|
8
|
+
ref: l,
|
|
9
|
+
variant: a,
|
|
10
|
+
size: o,
|
|
11
|
+
...c,
|
|
12
|
+
"aria-label": t,
|
|
13
|
+
onClick: (e) => {
|
|
14
|
+
s?.(e), i();
|
|
15
|
+
},
|
|
16
|
+
children: /* @__PURE__ */ r(n, { className: "ttw:size-4" })
|
|
19
17
|
});
|
|
20
|
-
}
|
|
18
|
+
});
|
|
21
19
|
//#endregion
|
|
22
|
-
export {
|
|
20
|
+
export { i as InvoiceDetailsCloseButton };
|