@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 +1,51 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { useMoniteContext as e } from "./index47.js";
|
|
2
|
+
import { extractStructureItemsFromScriptStep as t, findUserApprovalCall as n, processApprovalStructure as r } from "./index323.js";
|
|
3
|
+
import { ApprovalStepResolver as i } from "./index407.js";
|
|
4
|
+
import { useMemo as a } from "react";
|
|
5
|
+
import { useLingui as o } from "@lingui/react";
|
|
6
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js
|
|
7
|
+
function s(s, c, l = "desc") {
|
|
8
|
+
let { i18n: u } = o(), { api: d } = e(), { data: f, isLoading: p } = d.finops.getApprovalRequests.useQuery({ query: {
|
|
9
|
+
object_id: s,
|
|
10
|
+
object_type: "payable",
|
|
11
|
+
limit: 50,
|
|
12
|
+
order: l
|
|
13
|
+
} }), { data: m, isLoading: h } = d.finops.getApprovalPoliciesId.useQuery({ path: { approval_policy_id: c } }), g = a(() => f?.data || [], [f]), _ = a(() => m?.script || [], [m]), v = a(() => !_.length || !g ? [] : new i(_, g, u).buildCompleteSteps(), [
|
|
14
|
+
_,
|
|
15
|
+
g,
|
|
16
|
+
u
|
|
17
|
+
]), y = a(() => {
|
|
18
|
+
let e = /* @__PURE__ */ new Set();
|
|
19
|
+
return _.forEach((i) => {
|
|
20
|
+
let a = t(i), o = r(a), s = n(o);
|
|
21
|
+
s?.params?.user_ids && s.params.user_ids.forEach((t) => e.add(t));
|
|
22
|
+
}), v.forEach((t) => {
|
|
23
|
+
t.actualAssignees.forEach((t) => e.add(t));
|
|
24
|
+
}), Array.from(e);
|
|
25
|
+
}, [_, v]), { data: b, isLoading: x } = d.finops.getEntityUsers.useQuery({ query: {
|
|
26
|
+
id__in: y.length > 0 ? y : void 0,
|
|
27
|
+
limit: 100
|
|
28
|
+
} }, { enabled: y.length > 0 }), S = a(() => {
|
|
29
|
+
let e = /* @__PURE__ */ new Map();
|
|
30
|
+
return b?.data && b.data.forEach((t) => {
|
|
31
|
+
e.set(t.id, t);
|
|
32
|
+
}), e;
|
|
33
|
+
}, [b]);
|
|
34
|
+
return {
|
|
35
|
+
steps: a(() => v.map((e) => ({
|
|
36
|
+
...e,
|
|
37
|
+
resolvedUsers: e.actualAssignees.map((e) => S.get(e)),
|
|
38
|
+
userNames: e.actualAssignees.map((e) => {
|
|
39
|
+
let t = S.get(e);
|
|
40
|
+
return t && (`${t.first_name || ""} ${t.last_name || ""}`.trim() || t.email || t.login) || e;
|
|
41
|
+
})
|
|
42
|
+
})), [v, S]),
|
|
43
|
+
isLoading: p || h || x,
|
|
44
|
+
error: null
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function c(e, t) {
|
|
48
|
+
return s(e, t.id, "desc");
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
export { c as useResolvedApprovalStepsWithPolicy };
|
|
@@ -1,348 +1,85 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { useApprovalPolicyById as s } from "./index130.js";
|
|
9
|
-
import "./index138.js";
|
|
10
|
-
import { useOptionalFields as c } from "./index177.js";
|
|
11
|
-
import { CenteredContentBox as ee } from "./index203.js";
|
|
12
|
-
import "./index204.js";
|
|
13
|
-
import { MoniteScopedProviders as l } from "./index209.js";
|
|
14
|
-
import { classNames as u } from "./index335.js";
|
|
15
|
-
import { useGetPayableCounterpart as te } from "./index350.js";
|
|
16
|
-
import { usePayableDetailsThemeProps as d } from "./index351.js";
|
|
17
|
-
import { useLedgerAccounts as f } from "./index354.js";
|
|
18
|
-
import "./index369.js";
|
|
19
|
-
import { isFieldRequired as p } from "./index371.js";
|
|
20
|
-
import { isPayableInOCRProcessing as ne } from "./index389.js";
|
|
21
|
-
import { usePayableDetailsInfo as re } from "./index401.js";
|
|
22
|
-
import { UserDisplayCell as ie } from "./index402.js";
|
|
23
|
-
import { PayableApprovalFlowSection as ae } from "./index405.js";
|
|
24
|
-
import { StyledLabelTableCell as m } from "./index406.js";
|
|
25
|
-
import { TagsModal as h } from "./index407.js";
|
|
26
|
-
import "./index408.js";
|
|
27
|
-
import { useMemo as g, useState as _ } from "react";
|
|
28
|
-
import { Sparkles as v } from "lucide-react";
|
|
29
|
-
import { Fragment as y, jsx as b, jsxs as x } from "@emotion/react/jsx-runtime";
|
|
30
|
-
import { Box as S, Chip as C, CircularProgress as w, Grid as T, IconButton as oe, Paper as E, Stack as D, Table as O, TableBody as k, TableCell as A, TableHead as se, TableRow as j, Tooltip as M, Typography as N } from "@mui/material";
|
|
31
|
-
import { useLingui as P } from "@lingui/react";
|
|
32
|
-
import { styled as F } from "@mui/material/styles";
|
|
33
|
-
import ce from "@mui/icons-material/CachedOutlined";
|
|
34
|
-
import le from "@mui/icons-material/Edit";
|
|
35
|
-
import I from "@mui/icons-material/WarningAmberRounded";
|
|
1
|
+
import { PayableStatusChip as e } from "./index197.js";
|
|
2
|
+
import { User as t } from "./index259.js";
|
|
3
|
+
import "./index260.js";
|
|
4
|
+
import { useResolvedApprovalStepsWithPolicy as n } from "./index408.js";
|
|
5
|
+
import { jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { Box as a, CircularProgress as o, Paper as s, Stack as c, Table as l, TableBody as u, TableCell as d, TableRow as f, Typography as p } from "@mui/material";
|
|
7
|
+
import { useLingui as m } from "@lingui/react";
|
|
36
8
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js
|
|
37
|
-
var
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}), /* @__PURE__ */ b(A, { children: /* @__PURE__ */ b(B, {
|
|
107
|
-
counterpart: U,
|
|
108
|
-
counterpartRawName: ue,
|
|
109
|
-
isCounterpartAIMatched: fe,
|
|
110
|
-
isCounterpartMatchingToOCRFound: pe,
|
|
111
|
-
isCounterpartLoading: de
|
|
112
|
-
}) })] }),
|
|
113
|
-
X && /* @__PURE__ */ x(j, { children: [/* @__PURE__ */ b(m, {
|
|
114
|
-
isRequired: p("contactPerson", R) && r?.ocr_status === null,
|
|
115
|
-
children: M._("Contact person")
|
|
116
|
-
}), /* @__PURE__ */ b(A, { children: `${X.first_name} ${X.last_name}` })] }),
|
|
117
|
-
Z && /* @__PURE__ */ x(j, { children: [/* @__PURE__ */ b(m, {
|
|
118
|
-
isRequired: p("counterpartBankAccount", R, Z?.name) && r?.ocr_status === null,
|
|
119
|
-
children: M._("Bank account")
|
|
120
|
-
}), /* @__PURE__ */ b(A, { children: Z.name })] }),
|
|
121
|
-
V && /* @__PURE__ */ x(j, { children: [/* @__PURE__ */ b(m, {
|
|
122
|
-
isRequired: p("issueDate", R) && r?.ocr_status === null,
|
|
123
|
-
children: M._("Issue date")
|
|
124
|
-
}), /* @__PURE__ */ b(A, { children: r.issued_at ? M.date(e(r.issued_at), F.dateFormat) : "—" })] }),
|
|
125
|
-
/* @__PURE__ */ x(j, { children: [/* @__PURE__ */ b(m, {
|
|
126
|
-
isRequired: p("dueDate", R, r.due_date) && r?.ocr_status === null,
|
|
127
|
-
children: M._("Due date")
|
|
128
|
-
}), /* @__PURE__ */ b(A, { children: r.due_date ? M.date(e(r.due_date), F.dateFormat) : "—" })] }),
|
|
129
|
-
/* @__PURE__ */ x(j, { children: [/* @__PURE__ */ b(m, {
|
|
130
|
-
isRequired: p("amount", R) && r?.ocr_status === null,
|
|
131
|
-
children: M._("Total")
|
|
132
|
-
}), /* @__PURE__ */ b(A, { children: /* @__PURE__ */ b(S, {
|
|
133
|
-
sx: {
|
|
134
|
-
display: "flex",
|
|
135
|
-
justifyContent: "space-between"
|
|
136
|
-
},
|
|
137
|
-
children: /* @__PURE__ */ b(S, { children: r.total_amount && r.currency ? I(r.total_amount, r.currency) : r.currency ? I(0, r.currency) : "—" })
|
|
138
|
-
}) })] }),
|
|
139
|
-
H && /* @__PURE__ */ x(j, { children: [/* @__PURE__ */ b(m, {
|
|
140
|
-
isRequired: p("tags", R, r.tags?.[0]?.id) && r?.ocr_status === null,
|
|
141
|
-
children: M._("Tags")
|
|
142
|
-
}), /* @__PURE__ */ b(A, { children: /* @__PURE__ */ x(D, {
|
|
143
|
-
direction: "row",
|
|
144
|
-
gap: 1,
|
|
145
|
-
children: [/* @__PURE__ */ b(S, {
|
|
146
|
-
sx: { width: "100%" },
|
|
147
|
-
children: r.tags?.length ? /* @__PURE__ */ b(D, {
|
|
148
|
-
spacing: 1,
|
|
149
|
-
direction: "row",
|
|
150
|
-
useFlexGap: !0,
|
|
151
|
-
flexWrap: "wrap",
|
|
152
|
-
children: r.tags.map((e) => /* @__PURE__ */ b(C, {
|
|
153
|
-
label: e.name,
|
|
154
|
-
color: "primary",
|
|
155
|
-
sx: { maxWidth: 200 }
|
|
156
|
-
}, e.id))
|
|
157
|
-
}) : /* @__PURE__ */ b(N, {
|
|
158
|
-
variant: "body2",
|
|
159
|
-
sx: { marginTop: 1 },
|
|
160
|
-
children: M._("Not set")
|
|
161
|
-
})
|
|
162
|
-
}), /* @__PURE__ */ b(S, { children: /* @__PURE__ */ b(oe, {
|
|
163
|
-
"aria-label": M._("Edit tags"),
|
|
164
|
-
size: "small",
|
|
165
|
-
onClick: () => $(!0),
|
|
166
|
-
children: /* @__PURE__ */ b(le, { fontSize: "small" })
|
|
167
|
-
}) })]
|
|
168
|
-
}) })] }),
|
|
169
|
-
/* @__PURE__ */ x(j, { children: [/* @__PURE__ */ b(m, {
|
|
170
|
-
isRequired: p("appliedPolicy", R) && r?.ocr_status === null,
|
|
171
|
-
children: M._("Applied policy")
|
|
172
|
-
}), /* @__PURE__ */ b(A, { children: !Y && J?.name ? /* @__PURE__ */ x(S, {
|
|
173
|
-
sx: {
|
|
174
|
-
display: "flex",
|
|
175
|
-
alignItems: "center",
|
|
176
|
-
gap: 1
|
|
177
|
-
},
|
|
178
|
-
children: [/* @__PURE__ */ b("span", { children: J.name }), (r.status === "waiting_to_be_paid" || r.status === "paid" || r.status === "partially_paid") && /* @__PURE__ */ b(C, {
|
|
179
|
-
label: M._("Approved"),
|
|
180
|
-
color: "success",
|
|
181
|
-
size: "small"
|
|
182
|
-
})]
|
|
183
|
-
}) : !Y && M._("no policy") })] })
|
|
184
|
-
] }) })
|
|
185
|
-
})]
|
|
186
|
-
}),
|
|
187
|
-
ve && J && /* @__PURE__ */ b(T, {
|
|
188
|
-
item: !0,
|
|
189
|
-
xs: 12,
|
|
190
|
-
children: /* @__PURE__ */ b(ae, {
|
|
191
|
-
approvalPolicy: J,
|
|
192
|
-
payableId: r.id,
|
|
193
|
-
currentStatus: r.status
|
|
9
|
+
var h = ({ approvalPolicy: h, payableId: g, showUsersAsEmail: _ = !0 }) => {
|
|
10
|
+
let { i18n: v } = m(), { steps: y, isLoading: b } = n(g, h);
|
|
11
|
+
return b ? /* @__PURE__ */ r(a, {
|
|
12
|
+
sx: {
|
|
13
|
+
display: "flex",
|
|
14
|
+
justifyContent: "center",
|
|
15
|
+
p: 3
|
|
16
|
+
},
|
|
17
|
+
children: /* @__PURE__ */ r(o, { size: 20 })
|
|
18
|
+
}) : y.length ? /* @__PURE__ */ i(a, {
|
|
19
|
+
sx: { mt: 4 },
|
|
20
|
+
children: [/* @__PURE__ */ r(p, {
|
|
21
|
+
variant: "h6",
|
|
22
|
+
gutterBottom: !0,
|
|
23
|
+
sx: { fontWeight: 600 },
|
|
24
|
+
children: v._("Approval flow")
|
|
25
|
+
}), /* @__PURE__ */ r(s, {
|
|
26
|
+
variant: "outlined",
|
|
27
|
+
sx: { mt: 2 },
|
|
28
|
+
children: /* @__PURE__ */ r(l, {
|
|
29
|
+
sx: {
|
|
30
|
+
tableLayout: "fixed",
|
|
31
|
+
width: "100%"
|
|
32
|
+
},
|
|
33
|
+
children: /* @__PURE__ */ r(u, { children: y.map((n, a) => /* @__PURE__ */ i(f, { children: [
|
|
34
|
+
/* @__PURE__ */ r(d, {
|
|
35
|
+
sx: {
|
|
36
|
+
verticalAlign: "middle",
|
|
37
|
+
py: 2,
|
|
38
|
+
width: "160px"
|
|
39
|
+
},
|
|
40
|
+
children: /* @__PURE__ */ r(p, {
|
|
41
|
+
variant: "body2",
|
|
42
|
+
color: "text.primary",
|
|
43
|
+
sx: { fontWeight: "normal" },
|
|
44
|
+
children: n.type
|
|
45
|
+
})
|
|
46
|
+
}),
|
|
47
|
+
/* @__PURE__ */ r(d, {
|
|
48
|
+
sx: {
|
|
49
|
+
py: 2,
|
|
50
|
+
verticalAlign: "middle",
|
|
51
|
+
minWidth: "52px"
|
|
52
|
+
},
|
|
53
|
+
children: n.userNames.length > 0 ? /* @__PURE__ */ r(c, {
|
|
54
|
+
direction: "column",
|
|
55
|
+
spacing: .5,
|
|
56
|
+
sx: { overflow: "hidden" },
|
|
57
|
+
children: n.resolvedUsers.map((e) => e ? /* @__PURE__ */ r(t, {
|
|
58
|
+
user: e,
|
|
59
|
+
variant: "cell",
|
|
60
|
+
showUsersAsEmail: _,
|
|
61
|
+
showAvatar: !1
|
|
62
|
+
}, e.id) : null)
|
|
63
|
+
}) : /* @__PURE__ */ r(p, {
|
|
64
|
+
variant: "body2",
|
|
65
|
+
color: "text.secondary",
|
|
66
|
+
sx: { fontWeight: "medium" },
|
|
67
|
+
children: v._("No users assigned")
|
|
68
|
+
})
|
|
69
|
+
}),
|
|
70
|
+
/* @__PURE__ */ r(d, {
|
|
71
|
+
sx: {
|
|
72
|
+
py: 2,
|
|
73
|
+
textAlign: "right",
|
|
74
|
+
verticalAlign: "middle",
|
|
75
|
+
width: "140px"
|
|
76
|
+
},
|
|
77
|
+
children: /* @__PURE__ */ r(e, { status: n.payableStatus })
|
|
194
78
|
})
|
|
195
|
-
})
|
|
196
|
-
/* @__PURE__ */ x(T, {
|
|
197
|
-
item: !0,
|
|
198
|
-
xs: 12,
|
|
199
|
-
className: "Monite-PayableDetailsInfo-Items",
|
|
200
|
-
children: [/* @__PURE__ */ b(N, {
|
|
201
|
-
variant: "subtitle2",
|
|
202
|
-
mb: 2,
|
|
203
|
-
children: M._("Items")
|
|
204
|
-
}), /* @__PURE__ */ b(E, {
|
|
205
|
-
variant: "outlined",
|
|
206
|
-
children: /* @__PURE__ */ x(O, { children: [/* @__PURE__ */ b(se, { children: /* @__PURE__ */ x(j, { children: [
|
|
207
|
-
/* @__PURE__ */ b(A, { children: M._("Name") }),
|
|
208
|
-
/* @__PURE__ */ b(A, { children: M._("Quantity") }),
|
|
209
|
-
/* @__PURE__ */ b(A, { children: M._("Price") }),
|
|
210
|
-
/* @__PURE__ */ b(A, {
|
|
211
|
-
align: "right",
|
|
212
|
-
children: M._("Total, tax")
|
|
213
|
-
})
|
|
214
|
-
] }) }), /* @__PURE__ */ b(k, { children: _e?.map((e) => /* @__PURE__ */ x(j, { children: [
|
|
215
|
-
/* @__PURE__ */ b(A, { children: /* @__PURE__ */ x(D, { children: [/* @__PURE__ */ b(S, { children: e.name }), l && e.ledger_account_id && /* @__PURE__ */ b(N, {
|
|
216
|
-
variant: "body2",
|
|
217
|
-
color: "secondary.main",
|
|
218
|
-
children: he(e.ledger_account_id)
|
|
219
|
-
})] }) }),
|
|
220
|
-
/* @__PURE__ */ b(A, { children: e.quantity }),
|
|
221
|
-
/* @__PURE__ */ b(A, { children: e.unit_price ? I(e.unit_price, r.currency ?? "USD") : "—" }),
|
|
222
|
-
/* @__PURE__ */ b(A, {
|
|
223
|
-
align: "right",
|
|
224
|
-
children: e.subtotal && r.currency ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(S, { children: I(e.subtotal ?? 0, r.currency) }), /* @__PURE__ */ x(S, {
|
|
225
|
-
sx: { color: "secondary.main" },
|
|
226
|
-
children: [
|
|
227
|
-
M._("excl. Tax"),
|
|
228
|
-
" ",
|
|
229
|
-
`${e.tax ? (e.tax / 100).toFixed(0) : 0}%`
|
|
230
|
-
]
|
|
231
|
-
})] }) : r.currency ? I(0, r.currency) : "—"
|
|
232
|
-
})
|
|
233
|
-
] }, e.id)) })] })
|
|
234
|
-
})]
|
|
235
|
-
}),
|
|
236
|
-
/* @__PURE__ */ b(T, {
|
|
237
|
-
item: !0,
|
|
238
|
-
xs: 12,
|
|
239
|
-
className: "Monite-PayableDetailsInfo-Totals",
|
|
240
|
-
children: /* @__PURE__ */ b(E, {
|
|
241
|
-
variant: "outlined",
|
|
242
|
-
children: /* @__PURE__ */ b(O, { children: /* @__PURE__ */ x(k, { children: [
|
|
243
|
-
/* @__PURE__ */ x(j, { children: [/* @__PURE__ */ b(A, { children: M._("Subtotal") }), /* @__PURE__ */ b(A, {
|
|
244
|
-
align: "right",
|
|
245
|
-
children: r.subtotal && r.currency ? I(r.subtotal, r.currency) : r.currency ? I(0, r.currency) : "—"
|
|
246
|
-
})] }),
|
|
247
|
-
!!r.discount && r.currency && /* @__PURE__ */ x(j, { children: [/* @__PURE__ */ b(A, { children: M._("Discount") }), /* @__PURE__ */ b(A, {
|
|
248
|
-
align: "right",
|
|
249
|
-
children: I(r.discount ?? 0, r.currency)
|
|
250
|
-
})] }),
|
|
251
|
-
/* @__PURE__ */ x(j, { children: [/* @__PURE__ */ b(A, { children: M._("Tax Total") }), /* @__PURE__ */ b(A, {
|
|
252
|
-
align: "right",
|
|
253
|
-
children: r.tax_amount && r.currency ? I(r.tax_amount, r.currency) : r.currency ? I(0, r.currency) : "—"
|
|
254
|
-
})] }),
|
|
255
|
-
/* @__PURE__ */ x(j, { children: [/* @__PURE__ */ b(A, { children: /* @__PURE__ */ b(N, {
|
|
256
|
-
variant: "subtitle1",
|
|
257
|
-
children: M._("Total")
|
|
258
|
-
}) }), /* @__PURE__ */ b(A, {
|
|
259
|
-
align: "right",
|
|
260
|
-
children: /* @__PURE__ */ b(N, {
|
|
261
|
-
variant: "subtitle1",
|
|
262
|
-
children: r.total_amount && r.currency ? I(r.total_amount, r.currency) : r.currency ? I(0, r.currency) : "—"
|
|
263
|
-
})
|
|
264
|
-
})] })
|
|
265
|
-
] }) })
|
|
266
|
-
})
|
|
267
|
-
}),
|
|
268
|
-
/* @__PURE__ */ x(T, {
|
|
269
|
-
item: !0,
|
|
270
|
-
xs: 12,
|
|
271
|
-
className: "Monite-PayableDetailsInfo-History",
|
|
272
|
-
children: [/* @__PURE__ */ b(N, {
|
|
273
|
-
variant: "subtitle2",
|
|
274
|
-
mb: 2,
|
|
275
|
-
children: M._("History")
|
|
276
|
-
}), /* @__PURE__ */ b(E, {
|
|
277
|
-
variant: "outlined",
|
|
278
|
-
children: /* @__PURE__ */ b(O, { children: /* @__PURE__ */ x(k, { children: [
|
|
279
|
-
q && /* @__PURE__ */ x(j, { children: [/* @__PURE__ */ b(m, {
|
|
280
|
-
isRequired: p("addedByUser", R) && r?.ocr_status === null,
|
|
281
|
-
children: M._("Added by")
|
|
282
|
-
}), /* @__PURE__ */ b(A, { children: /* @__PURE__ */ b(ie, {
|
|
283
|
-
user: {
|
|
284
|
-
id: q.id,
|
|
285
|
-
first_name: q.first_name,
|
|
286
|
-
last_name: q.last_name,
|
|
287
|
-
userpic_file_id: q.userpic_file_id
|
|
288
|
-
},
|
|
289
|
-
showAvatar: !0,
|
|
290
|
-
avatarSize: 24,
|
|
291
|
-
typographyVariant: "body2"
|
|
292
|
-
}) })] }),
|
|
293
|
-
/* @__PURE__ */ x(j, { children: [/* @__PURE__ */ b(m, {
|
|
294
|
-
isRequired: p("addedOn", R) && r?.ocr_status === null,
|
|
295
|
-
children: M._("Added on")
|
|
296
|
-
}), /* @__PURE__ */ b(A, { children: r.created_at ? M.date(r.created_at, {
|
|
297
|
-
dateStyle: "short",
|
|
298
|
-
timeStyle: "short"
|
|
299
|
-
}) : "—" })] }),
|
|
300
|
-
/* @__PURE__ */ x(j, { children: [/* @__PURE__ */ b(m, {
|
|
301
|
-
isRequired: p("updatedOn", R) && r?.ocr_status === null,
|
|
302
|
-
children: M._("Last updated on")
|
|
303
|
-
}), /* @__PURE__ */ b(A, { children: r.updated_at ? M.date(r.updated_at, {
|
|
304
|
-
dateStyle: "short",
|
|
305
|
-
timeStyle: "short"
|
|
306
|
-
}) : "—" })] })
|
|
307
|
-
] }) })
|
|
308
|
-
})]
|
|
309
|
-
})
|
|
310
|
-
]
|
|
311
|
-
}), /* @__PURE__ */ b(h, {
|
|
312
|
-
opened: ye,
|
|
313
|
-
value: r.tags || [],
|
|
314
|
-
updateTags: v,
|
|
315
|
-
onClose: () => $(!1)
|
|
316
|
-
})]
|
|
317
|
-
});
|
|
318
|
-
}, B = ({ counterpart: e, counterpartRawName: t, isCounterpartAIMatched: n, isCounterpartMatchingToOCRFound: i, isCounterpartLoading: a }) => {
|
|
319
|
-
let { i18n: o } = P();
|
|
320
|
-
if (a) return /* @__PURE__ */ b(w, {
|
|
321
|
-
size: 14,
|
|
322
|
-
color: "secondary"
|
|
323
|
-
});
|
|
324
|
-
let s = r(e);
|
|
325
|
-
return s && !i ? /* @__PURE__ */ x(D, {
|
|
326
|
-
component: "span",
|
|
327
|
-
gap: 1,
|
|
328
|
-
direction: "row",
|
|
329
|
-
children: [s, n && /* @__PURE__ */ b(M, {
|
|
330
|
-
title: o._("Vendor auto-matched by AI. The vendor name on the bill doesn’t exactly match the saved vendor, so AI selected the closest option."),
|
|
331
|
-
children: /* @__PURE__ */ b(v, { className: "ttw:text-blue-600" })
|
|
332
|
-
})]
|
|
333
|
-
}) : t ? /* @__PURE__ */ x(D, {
|
|
334
|
-
component: "span",
|
|
335
|
-
gap: 1,
|
|
336
|
-
direction: "row",
|
|
337
|
-
children: [t, /* @__PURE__ */ b(M, {
|
|
338
|
-
title: i ? o._("The vendor details in the bill don’t fully match the saved vendor.") : o._("The specified vendor has not been saved yet."),
|
|
339
|
-
children: /* @__PURE__ */ b(I, {
|
|
340
|
-
color: "warning",
|
|
341
|
-
fontSize: "small",
|
|
342
|
-
sx: { alignSelf: "center" }
|
|
79
|
+
] }, a)) })
|
|
343
80
|
})
|
|
344
81
|
})]
|
|
345
|
-
}) :
|
|
82
|
+
}) : null;
|
|
346
83
|
};
|
|
347
84
|
//#endregion
|
|
348
|
-
export {
|
|
85
|
+
export { h as PayableApprovalFlowSection };
|
|
@@ -1 +1,23 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import { useMemo as e } from "react";
|
|
2
|
+
import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
3
|
+
import { Card as r, Table as i, TableBody as a, TableCell as o, TableRow as s, styled as c } from "@mui/material";
|
|
4
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js
|
|
5
|
+
var l = c(o)(({ theme: e, isRequired: t }) => ({
|
|
6
|
+
color: t ? e.palette.error.main : e.palette.text.secondary,
|
|
7
|
+
minWidth: 120,
|
|
8
|
+
width: "35%"
|
|
9
|
+
})), u = (r) => {
|
|
10
|
+
let i = e(() => !r.value && r.withEmptyStateFiller ? "—" : r.value, [r.value, r.withEmptyStateFiller]);
|
|
11
|
+
return i ? /* @__PURE__ */ n(s, { children: [/* @__PURE__ */ t(l, {
|
|
12
|
+
component: "th",
|
|
13
|
+
scope: "row",
|
|
14
|
+
children: r.label
|
|
15
|
+
}), /* @__PURE__ */ t(o, { children: i })] }) : null;
|
|
16
|
+
}, d = ({ items: e, children: o, ...s }) => /* @__PURE__ */ n(r, {
|
|
17
|
+
variant: "outlined",
|
|
18
|
+
sx: { overflow: "visible" },
|
|
19
|
+
...s,
|
|
20
|
+
children: [/* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(a, { children: e.map((e, n) => /* @__PURE__ */ t(u, { ...e }, n)) }) }), o]
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { d as MoniteCard, u as MoniteCardItem, l as StyledLabelTableCell };
|
|
@@ -1,32 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
1
|
+
import { useRootElements as e } from "./index178.js";
|
|
2
|
+
import "./index179.js";
|
|
3
|
+
import { Dialog as t } from "./index201.js";
|
|
4
|
+
import "./index202.js";
|
|
5
|
+
import { TagsAutocomplete as n } from "./index306.js";
|
|
6
|
+
import "./index308.js";
|
|
7
|
+
import { useState as r } from "react";
|
|
8
|
+
import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
9
|
+
import { Button as o, DialogActions as s, DialogContent as c, DialogTitle as l } from "@mui/material";
|
|
10
|
+
import { useLingui as u } from "@lingui/react";
|
|
5
11
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js
|
|
6
|
-
var
|
|
7
|
-
let { i18n:
|
|
8
|
-
return /* @__PURE__ */
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var d = ({ opened: d, onClose: f, value: p, updateTags: m }) => {
|
|
13
|
+
let { root: h } = e(), { i18n: g } = u(), [_, v] = r(p);
|
|
14
|
+
return /* @__PURE__ */ a(t, {
|
|
15
|
+
open: d,
|
|
16
|
+
onClose: f,
|
|
17
|
+
container: h,
|
|
18
|
+
fullWidth: !0,
|
|
19
|
+
children: [
|
|
20
|
+
/* @__PURE__ */ i(l, { children: g._("Edit tags") }),
|
|
21
|
+
/* @__PURE__ */ i(c, {
|
|
22
|
+
dividers: !0,
|
|
23
|
+
children: /* @__PURE__ */ i(n, {
|
|
24
|
+
value: _,
|
|
25
|
+
onChange: (e) => {
|
|
26
|
+
v(e);
|
|
27
|
+
}
|
|
28
|
+
})
|
|
29
|
+
}),
|
|
30
|
+
/* @__PURE__ */ a(s, { children: [/* @__PURE__ */ i(o, {
|
|
31
|
+
variant: "text",
|
|
32
|
+
onClick: f,
|
|
33
|
+
children: g._("Cancel")
|
|
34
|
+
}), /* @__PURE__ */ i(o, {
|
|
35
|
+
variant: "contained",
|
|
36
|
+
onClick: () => {
|
|
37
|
+
m?.(_), f();
|
|
38
|
+
},
|
|
39
|
+
children: g._("Update")
|
|
40
|
+
})] })
|
|
41
|
+
]
|
|
29
42
|
});
|
|
30
43
|
};
|
|
31
44
|
//#endregion
|
|
32
|
-
export {
|
|
45
|
+
export { d as TagsModal };
|