@tesouro/embedded-components-react 0.2.109 → 0.2.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/ReceivablesWidget.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/data-access/dist/index2.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/data-access/dist/index5.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/data-access/dist/index6.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/expense-requirements-widget/data-access/dist/index3.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +33 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +34 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1269 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +12 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +8 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +25 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +9 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +46 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +75 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +58 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +196 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +11 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +14 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +38 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +24 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +82 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +9 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +76 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +29 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +38 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +7 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +5 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +114 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +70 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +190 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +30 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +109 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +135 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +19 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +18 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +20 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +183 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +50 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +88 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +36 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +45 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +50 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +203 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +423 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +22 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +93 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +57 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +74 -203
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +6 -427
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +33 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +32 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +12 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +12 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +117 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +7 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +44 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +43 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +147 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +57 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +69 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +24 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +3 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +27 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +9 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +20 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +18 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +2 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +18 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +26 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +117 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +68 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +12 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +26 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +86 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +96 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +2 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +7 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +100 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +26 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +12 -35
- 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 +10 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +214 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +58 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +398 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +69 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +407 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +46 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +27 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +4 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +77 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +32 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +19 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +456 -312
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +158 -293
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +36 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +339 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +295 -259
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +93 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +160 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +267 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +23 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +62 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +157 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +27 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +27 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +78 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +2 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +95 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +96 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +191 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +17 -484
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +24 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +65 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +42 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +24 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +137 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +112 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +79 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +283 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +47 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +15 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +86 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +221 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +37 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +11 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +11 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +10 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +6 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +2 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +22 -285
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +55 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +28 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +57 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +18 -223
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +149 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +69 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +93 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +83 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +50 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +44 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +28 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +127 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +44 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +62 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +27 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +41 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +59 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +96 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +110 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +86 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +59 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +30 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +113 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +21 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +41 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +52 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +10 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +19 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +18 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +39 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +76 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +22 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +15 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +169 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +132 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +154 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +10 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +18 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +61 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +67 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +54 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +6 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +9 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +60 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +22 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +54 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +14 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +76 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +44 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +96 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +33 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +35 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +127 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +12 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +67 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +67 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +33 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +32 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +85 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +24 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +11 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +103 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +110 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +27 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +23 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +37 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +73 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +67 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +2 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +7 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +54 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +18 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +21 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +10 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +15 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +19 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +13 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +20 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +24 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +45 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +20 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +29 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +66 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +44 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +25 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +32 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +122 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +18 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +16 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +53 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +31 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +71 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +16 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +16 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +11 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +29 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +67 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +54 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +39 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +94 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +16 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +73 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +20 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +18 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +50 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +59 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +29 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +41 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +35 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +15 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +33 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +51 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +18 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +81 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +39 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +15 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/profile-widget/data-access/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index5.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/external-bank-account/useAllExternalBankAccountsQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +90 -90
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +1537 -1512
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useGetUserDataQuery.js +6 -6
- 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 +21 -21
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/tags-widget/data-access/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/tags-widget/data-access/dist/index9.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index12.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index17.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index22.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index5.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index9.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index7.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index8.js +2 -2
- package/package.json +1 -1
|
@@ -1,305 +1,170 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
import { useDeletePayable as aa } from "./index34.js";
|
|
19
|
-
import { useRejectApprovalRequest as ta } from "./index395.js";
|
|
20
|
-
import { useApproveApprovalRequest as ia } from "./index396.js";
|
|
21
|
-
import { isPayableInOCRProcessing as ra } from "./index292.js";
|
|
22
|
-
import { useMoniteContext as sa } from "./index57.js";
|
|
23
|
-
import { useCurrencies as oa } from "./index58.js";
|
|
24
|
-
import { useState as na, useEffect as da, useCallback as X, useMemo as pa } from "react";
|
|
25
|
-
import "./index92.js";
|
|
26
|
-
import "@emotion/react/jsx-runtime";
|
|
27
|
-
import { useLingui as ca } from "@lingui/react";
|
|
28
|
-
import "react-dom";
|
|
29
|
-
import "@mui/x-data-grid";
|
|
30
|
-
import { useEntityUserByAuthToken as ma } from "./index75.js";
|
|
31
|
-
import { usePayablePaymentIntentsAndRecords as ua } from "./index79.js";
|
|
32
|
-
import { useUserPermissions as la } from "./index166.js";
|
|
33
|
-
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
34
|
-
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
35
|
-
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
36
|
-
import "@tanstack/react-query";
|
|
37
|
-
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
38
|
-
import { Scope as u } from "../../shared/data-access/dist/lib/scopes.js";
|
|
39
|
-
import { toast as w } from "react-hot-toast";
|
|
40
|
-
function $a({
|
|
41
|
-
id: e,
|
|
42
|
-
enableGLCodes: Y,
|
|
43
|
-
shouldOpenInEditMode: Z,
|
|
44
|
-
onSaved: q,
|
|
45
|
-
onCanceled: $,
|
|
46
|
-
onSubmitted: ee,
|
|
47
|
-
onRejected: M,
|
|
48
|
-
onApproved: U,
|
|
49
|
-
onReopened: ae,
|
|
50
|
-
onDeleted: te,
|
|
51
|
-
onPay: f
|
|
52
|
-
}) {
|
|
1
|
+
import { jsx as e, jsxs as s, Fragment as D } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Role as j } from "./index456.js";
|
|
3
|
+
import { User as g } from "./index336.js";
|
|
4
|
+
import { useApprovalPolicyScript as B } from "./index436.js";
|
|
5
|
+
import { useApprovalPolicyTrigger as R } from "./index428.js";
|
|
6
|
+
import { getCounterpartName as $ } from "./index7.js";
|
|
7
|
+
import { useMoniteContext as q } from "./index57.js";
|
|
8
|
+
import { useDialog as H } from "./index50.js";
|
|
9
|
+
import { DialogFooter as N } from "./index452.js";
|
|
10
|
+
import { DialogHeader as Q } from "./index453.js";
|
|
11
|
+
import { useLingui as U, Trans as E } from "@lingui/react";
|
|
12
|
+
import { Stack as c, Chip as w, DialogContent as F, Typography as u, Paper as A, Table as x, TableHead as C, TableRow as m, TableCell as o, TableBody as I } from "@mui/material";
|
|
13
|
+
import { toast as M } from "react-hot-toast";
|
|
14
|
+
const le = ({
|
|
15
|
+
approvalPolicy: d,
|
|
16
|
+
setIsEdit: P
|
|
17
|
+
}) => {
|
|
53
18
|
const {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
} =
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
} =
|
|
63
|
-
|
|
64
|
-
payable_id: e ?? ""
|
|
65
|
-
}
|
|
66
|
-
}, d), E = G && ra(G), {
|
|
67
|
-
data: i,
|
|
68
|
-
error: ie,
|
|
69
|
-
isLoading: re,
|
|
70
|
-
refetch: _
|
|
71
|
-
} = ke(e ?? "", E, l), c = i?.status, {
|
|
72
|
-
payablesPaymentIntentsRecord: se,
|
|
73
|
-
refetch: v
|
|
74
|
-
} = ua(e ? [e] : []), {
|
|
75
|
-
showPayButton: oe,
|
|
76
|
-
intentsAnalysis: ne
|
|
77
|
-
} = Fe({
|
|
78
|
-
payable: i,
|
|
79
|
-
payableRecentPaymentRecordByIntent: se?.[e ?? ""] || []
|
|
19
|
+
i18n: a
|
|
20
|
+
} = U(), T = H(), {
|
|
21
|
+
api: h,
|
|
22
|
+
queryClient: _
|
|
23
|
+
} = q(), {
|
|
24
|
+
triggers: i,
|
|
25
|
+
getTriggerLabel: k,
|
|
26
|
+
getAmountLabel: S
|
|
27
|
+
} = R({
|
|
28
|
+
approvalPolicy: d
|
|
80
29
|
}), {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
} =
|
|
84
|
-
|
|
85
|
-
}, ne.idPaymentIntentInCreated), {
|
|
86
|
-
counterpart: pe,
|
|
87
|
-
isCounterpartAIMatched: ce,
|
|
88
|
-
AISuggestions: me
|
|
89
|
-
} = Ge({
|
|
90
|
-
payable: i
|
|
91
|
-
});
|
|
92
|
-
da(() => {
|
|
93
|
-
if (E) return () => {
|
|
94
|
-
n.finops.getPayables.invalidateQueries(d);
|
|
95
|
-
};
|
|
96
|
-
}, [n, E, d]);
|
|
97
|
-
const {
|
|
98
|
-
data: ue
|
|
99
|
-
} = xe(e ?? ""), O = ue?.data, {
|
|
100
|
-
data: h
|
|
101
|
-
} = He(e ?? "", c), P = h?.data?.find((a) => a.status === "waiting" && !a.approved_by?.includes(W?.id ?? "") && a.user_ids?.includes(W?.id ?? "")), j = p.has(u.PayableWriteOrg), g = p.has(u.PayableWriteOrg), T = p.has(u.PayableWriteOrg), F = p.has(u.PayableApproveOrg), k = p.has(u.PayablePayOrg), x = p.has(u.PayableWriteOrg), H = p.has(u.PayableWriteOrg), S = Je(), I = Ne(), J = Ve(e ?? ""), le = ze(e ?? ""), ye = Ke(e ?? ""), {
|
|
102
|
-
mutateAsync: fe,
|
|
103
|
-
isPending: be
|
|
104
|
-
} = Xe(e ?? "", $), {
|
|
105
|
-
submitForApproval: Pe,
|
|
106
|
-
isPending: N
|
|
107
|
-
} = Ye({
|
|
108
|
-
payableId: e ?? "",
|
|
109
|
-
AISuggestions: me?.suggested_counterpart,
|
|
110
|
-
isCounterpartAIMatched: ce,
|
|
111
|
-
counterpartId: pe?.id,
|
|
112
|
-
onSubmitted: ee
|
|
30
|
+
rules: t,
|
|
31
|
+
getRuleLabel: b
|
|
32
|
+
} = B({
|
|
33
|
+
approvalPolicy: d
|
|
113
34
|
}), {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
isPending: he
|
|
119
|
-
} = ia(P?.id ?? "", U, e, i?.document_id), {
|
|
120
|
-
mutateAsync: Ie,
|
|
121
|
-
isPending: Ae
|
|
122
|
-
} = Ze(e ?? "", M), {
|
|
123
|
-
mutateAsync: we,
|
|
124
|
-
isPending: Ce
|
|
125
|
-
} = $e(e ?? "", U), {
|
|
126
|
-
mutateAsync: Re,
|
|
127
|
-
isPending: Ee
|
|
128
|
-
} = ea(e ?? "", ae), {
|
|
129
|
-
mutateAsync: Le
|
|
130
|
-
} = aa(e ?? "", te), Oe = S.isPending || I.isPending || be || N || Ae || Ce || Ee || _e || he, je = S.isPending || I.isPending || N, V = X(() => p.has(u.PayableApproveOrg), [p]), Se = pa(() => {
|
|
131
|
-
if (!e) return ["cancelEdit", "save"];
|
|
132
|
-
if (c === "draft")
|
|
133
|
-
return l ? g ? ["cancelEdit", "save"] : [] : [...j ? ["cancel"] : [], ...g ? ["edit"] : []];
|
|
134
|
-
if (c === "new")
|
|
135
|
-
return l ? g ? ["cancelEdit", "save"] : [] : [...j ? ["cancel"] : [], ...g ? ["edit"] : [], ...T ? ["submit"] : []];
|
|
136
|
-
if (c === "approve_in_progress") {
|
|
137
|
-
const a = (h?.data?.length ?? 0) > 0 && h?.data?.[0]?.status === "waiting" && P !== void 0, o = V();
|
|
138
|
-
return [
|
|
139
|
-
// Show approve/reject buttons if user has pending approval request
|
|
140
|
-
...a ? ["reject", "approve"] : [],
|
|
141
|
-
...F && o ? ["forceReject", "forceApprove"] : []
|
|
142
|
-
];
|
|
35
|
+
data: L
|
|
36
|
+
} = h.finops.getTags.useQuery({
|
|
37
|
+
query: {
|
|
38
|
+
id__in: Array.isArray(i?.tags) ? i.tags : []
|
|
143
39
|
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
createdPayableDocument_id: r.document_id
|
|
152
|
-
})), n.finops.getCounterparts.invalidateQueries({
|
|
153
|
-
parameters: {
|
|
154
|
-
query: {
|
|
155
|
-
is_vendor: !0
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}, d);
|
|
159
|
-
}
|
|
160
|
-
});
|
|
161
|
-
if (o) {
|
|
162
|
-
const r = [];
|
|
163
|
-
o?.forEach((s) => {
|
|
164
|
-
t.currency && !s.id && r.push(J.mutateAsync({
|
|
165
|
-
path: {
|
|
166
|
-
payable_id: t.id
|
|
167
|
-
},
|
|
168
|
-
body: B(t.currency, s, C, {
|
|
169
|
-
allowLedgerUpdate: !1
|
|
170
|
-
})
|
|
171
|
-
}));
|
|
172
|
-
}), await Promise.all(r);
|
|
40
|
+
}, {
|
|
41
|
+
enabled: !!i?.tags?.length
|
|
42
|
+
}), {
|
|
43
|
+
data: W
|
|
44
|
+
} = h.finops.getCounterparts.useQuery({
|
|
45
|
+
query: {
|
|
46
|
+
id__in: Array.isArray(i?.counterpart_id) ? i.counterpart_id : []
|
|
173
47
|
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}, d), n.finops.getPayables.invalidateQueries(d), n.finops.getPayablesIdLineItems.invalidateQueries({
|
|
181
|
-
parameters: {
|
|
182
|
-
path: {
|
|
183
|
-
payable_id: t.id
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}, d)]), l && R(!1), q?.(t.id);
|
|
187
|
-
}, Qe = async (a, o, t, r) => {
|
|
188
|
-
const s = await I.mutateAsync({
|
|
189
|
-
path: {
|
|
190
|
-
payable_id: a
|
|
191
|
-
},
|
|
192
|
-
body: o
|
|
193
|
-
}, {
|
|
194
|
-
onSuccess: (y) => {
|
|
195
|
-
w.success(b._("Payable “{updatedPayableDocument_id}” has been updated", {
|
|
196
|
-
updatedPayableDocument_id: y.document_id
|
|
197
|
-
}));
|
|
198
|
-
}
|
|
199
|
-
});
|
|
200
|
-
if (t && r) {
|
|
201
|
-
const y = [];
|
|
202
|
-
t?.forEach((m) => {
|
|
203
|
-
s.currency && !m.id && y.push(J.mutateAsync({
|
|
204
|
-
path: {
|
|
205
|
-
payable_id: s.id
|
|
206
|
-
},
|
|
207
|
-
body: B(s.currency, m, C)
|
|
208
|
-
}));
|
|
209
|
-
}), r?.lineItems?.forEach((m, A) => {
|
|
210
|
-
if (!m) return;
|
|
211
|
-
const {
|
|
212
|
-
id: Me,
|
|
213
|
-
...z
|
|
214
|
-
} = m, Ue = Object.values(z).some((Q) => Q), D = t[A]?.id, K = t[A], We = !Me && !!Ue && !!D && !!K;
|
|
215
|
-
s.currency && We && y.push(le.mutateAsync({
|
|
48
|
+
}, {
|
|
49
|
+
enabled: !!i?.counterpart_id?.length
|
|
50
|
+
}), y = h.finops.deleteApprovalPoliciesId.useMutation(void 0, {
|
|
51
|
+
onSuccess: async () => {
|
|
52
|
+
await Promise.all([h.finops.getApprovalPolicies.invalidateQueries(_), h.finops.getApprovalPoliciesId.invalidateQueries({
|
|
53
|
+
parameters: {
|
|
216
54
|
path: {
|
|
217
|
-
|
|
218
|
-
line_item_id: D
|
|
219
|
-
},
|
|
220
|
-
body: B(s.currency, K, C, {
|
|
221
|
-
allowLedgerUpdate: Y && !!z.ledger_account_id,
|
|
222
|
-
previous: O?.find((Q) => Q.id === D)?.ledger_account_id
|
|
223
|
-
})
|
|
224
|
-
}));
|
|
225
|
-
}), O?.forEach((m) => {
|
|
226
|
-
t?.find((A) => A.id === m.id) || y.push(ye.mutateAsync({
|
|
227
|
-
path: {
|
|
228
|
-
payable_id: s.id,
|
|
229
|
-
line_item_id: m.id
|
|
230
|
-
}
|
|
231
|
-
}));
|
|
232
|
-
}), await Promise.all(y);
|
|
233
|
-
}
|
|
234
|
-
await n.finops.getPayablesId.invalidateQueries({
|
|
235
|
-
parameters: {
|
|
236
|
-
path: {
|
|
237
|
-
payable_id: s.id
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}, d), l && R(!1), q?.(a);
|
|
241
|
-
}, Be = async (a, o) => {
|
|
242
|
-
const t = o.map((r) => r.id);
|
|
243
|
-
await I.mutateAsync({
|
|
244
|
-
path: {
|
|
245
|
-
payable_id: a
|
|
246
|
-
},
|
|
247
|
-
body: {
|
|
248
|
-
tag_ids: t
|
|
249
|
-
}
|
|
250
|
-
}, {
|
|
251
|
-
onSuccess: (r) => {
|
|
252
|
-
n.finops.getPayablesId.invalidateQueries({
|
|
253
|
-
parameters: {
|
|
254
|
-
path: {
|
|
255
|
-
payable_id: r.id
|
|
256
|
-
}
|
|
55
|
+
approval_policy_id: d.id
|
|
257
56
|
}
|
|
258
|
-
}, d);
|
|
259
|
-
}
|
|
260
|
-
});
|
|
261
|
-
}, qe = X(() => {
|
|
262
|
-
if (i) {
|
|
263
|
-
if (!f) return L();
|
|
264
|
-
if (f?.length < 2) return f(i.id);
|
|
265
|
-
f(i.id, void 0, {
|
|
266
|
-
resolve: (a) => {
|
|
267
|
-
a?.showToast && w.success(b._("Payment flow started")), _(), v();
|
|
268
|
-
},
|
|
269
|
-
reject: (a, o) => {
|
|
270
|
-
o?.showToast && w.error(b._("Payment failed or cancelled")), _(), v();
|
|
271
57
|
}
|
|
272
|
-
});
|
|
58
|
+
}, _)]), M.success(a._("Approval policy has been deleted"));
|
|
59
|
+
}
|
|
60
|
+
}), f = Object.keys(i).map((r) => {
|
|
61
|
+
const l = k(r);
|
|
62
|
+
let p;
|
|
63
|
+
switch (r) {
|
|
64
|
+
case "was_created_by_user_id":
|
|
65
|
+
Array.isArray(i[r]) && (p = /* @__PURE__ */ e(c, { direction: "row", gap: 1, sx: {
|
|
66
|
+
flexWrap: "wrap"
|
|
67
|
+
}, children: i[r].map((n) => /* @__PURE__ */ e(g, { userId: n }, n)) }));
|
|
68
|
+
break;
|
|
69
|
+
case "tags":
|
|
70
|
+
p = /* @__PURE__ */ e(c, { direction: "row", gap: 1, sx: {
|
|
71
|
+
flexWrap: "wrap"
|
|
72
|
+
}, children: L?.data.map((n) => /* @__PURE__ */ e(w, { label: n.name }, n.id)) });
|
|
73
|
+
break;
|
|
74
|
+
case "counterpart_id":
|
|
75
|
+
p = /* @__PURE__ */ e(c, { direction: "row", gap: 1, sx: {
|
|
76
|
+
flexWrap: "wrap"
|
|
77
|
+
}, children: W?.data.map((n) => /* @__PURE__ */ e(w, { label: $(n) }, n.id)) });
|
|
78
|
+
break;
|
|
79
|
+
case "amount":
|
|
80
|
+
p = /* @__PURE__ */ e("p", { children: S(i.amount?.value ?? [], i.amount?.currency ?? "EUR") });
|
|
81
|
+
break;
|
|
82
|
+
default:
|
|
83
|
+
p = r;
|
|
84
|
+
break;
|
|
273
85
|
}
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
86
|
+
return {
|
|
87
|
+
label: l,
|
|
88
|
+
value: p
|
|
89
|
+
};
|
|
90
|
+
}), v = t && Object.keys(t)?.map((r) => {
|
|
91
|
+
if (!t[r]) return null;
|
|
92
|
+
switch (r) {
|
|
93
|
+
case "single_user":
|
|
94
|
+
return {
|
|
95
|
+
label: b(r),
|
|
96
|
+
value: /* @__PURE__ */ e(g, { userId: t[r].userId })
|
|
97
|
+
};
|
|
98
|
+
case "users_from_list":
|
|
99
|
+
return {
|
|
100
|
+
label: b(r, t[r].count),
|
|
101
|
+
value: /* @__PURE__ */ e(c, { direction: "column", gap: 1, sx: {
|
|
102
|
+
flexWrap: "wrap"
|
|
103
|
+
}, children: t[r].userIds?.map((l) => /* @__PURE__ */ e(g, { userId: l }, l)) })
|
|
104
|
+
};
|
|
105
|
+
case "roles_from_list":
|
|
106
|
+
return {
|
|
107
|
+
label: b(r),
|
|
108
|
+
value: /* @__PURE__ */ e(c, { direction: "row", gap: 1, sx: {
|
|
109
|
+
flexWrap: "wrap"
|
|
110
|
+
}, children: t[r].roleIds?.map((l) => /* @__PURE__ */ e(j, { roleId: l, quoted: !0 }, l)) })
|
|
111
|
+
};
|
|
112
|
+
case "approval_chain":
|
|
113
|
+
return {
|
|
114
|
+
label: b(r),
|
|
115
|
+
value: /* @__PURE__ */ e(c, { direction: "column", spacing: 0.5, children: t[r].chainUserIds?.map((l) => l ? /* @__PURE__ */ e(g, { userId: l }, l) : null) })
|
|
116
|
+
};
|
|
300
117
|
}
|
|
301
|
-
};
|
|
302
|
-
|
|
118
|
+
});
|
|
119
|
+
return /* @__PURE__ */ s(D, { children: [
|
|
120
|
+
/* @__PURE__ */ e(Q, { title: d?.name, closeButtonTooltip: a._("Close approval policy details") }),
|
|
121
|
+
/* @__PURE__ */ s(F, { children: [
|
|
122
|
+
/* @__PURE__ */ e(u, { variant: "h5", mt: 2, mb: 1, children: a._("Description") }),
|
|
123
|
+
d?.description && /* @__PURE__ */ e(u, { variant: "body1", children: d.description }),
|
|
124
|
+
/* @__PURE__ */ e(u, { variant: "h5", mt: 4, mb: 1, children: a._("Conditions") }),
|
|
125
|
+
/* @__PURE__ */ e(u, { variant: "body1", mb: 1, children: /* @__PURE__ */ e(E, { id: "INKhSX", components: {
|
|
126
|
+
0: /* @__PURE__ */ e("strong", {})
|
|
127
|
+
} }) }),
|
|
128
|
+
/* @__PURE__ */ e(A, { variant: "outlined", children: /* @__PURE__ */ s(x, { children: [
|
|
129
|
+
/* @__PURE__ */ e(C, { children: /* @__PURE__ */ s(m, { children: [
|
|
130
|
+
/* @__PURE__ */ e(o, { children: a._("Condition") }),
|
|
131
|
+
/* @__PURE__ */ e(o, { children: a._("Criteria") })
|
|
132
|
+
] }) }),
|
|
133
|
+
/* @__PURE__ */ e(I, { children: f.length > 0 ? f.map((r) => /* @__PURE__ */ s(m, { children: [
|
|
134
|
+
/* @__PURE__ */ e(o, { children: r.label }),
|
|
135
|
+
/* @__PURE__ */ e(o, { children: r.value })
|
|
136
|
+
] }, r.label)) : /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(o, { colSpan: 2, children: a._("No conditions") }) }) })
|
|
137
|
+
] }) }),
|
|
138
|
+
/* @__PURE__ */ e(u, { variant: "h5", mt: 4, mb: 1, children: a._("Approval flow") }),
|
|
139
|
+
/* @__PURE__ */ e(u, { variant: "body1", mb: 1, children: a._("Who needs to approve the document and how:") }),
|
|
140
|
+
/* @__PURE__ */ e(A, { variant: "outlined", children: /* @__PURE__ */ s(x, { children: [
|
|
141
|
+
/* @__PURE__ */ e(C, { children: /* @__PURE__ */ s(m, { children: [
|
|
142
|
+
/* @__PURE__ */ e(o, { children: a._("Approval type") }),
|
|
143
|
+
/* @__PURE__ */ e(o, { children: a._("Users or Roles") })
|
|
144
|
+
] }) }),
|
|
145
|
+
/* @__PURE__ */ e(I, { children: v && v.length > 0 ? v.map((r) => /* @__PURE__ */ s(m, { children: [
|
|
146
|
+
/* @__PURE__ */ e(o, { children: r?.label }),
|
|
147
|
+
/* @__PURE__ */ e(o, { children: r?.value })
|
|
148
|
+
] }, r?.label)) : /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(o, { colSpan: 2, children: a._("No rules") }) }) })
|
|
149
|
+
] }) })
|
|
150
|
+
] }),
|
|
151
|
+
/* @__PURE__ */ e(N, { primaryButton: {
|
|
152
|
+
label: a._("Edit"),
|
|
153
|
+
onClick: () => P(!0)
|
|
154
|
+
}, deleteButton: {
|
|
155
|
+
onClick: () => {
|
|
156
|
+
y.mutate({
|
|
157
|
+
path: {
|
|
158
|
+
approval_policy_id: d.id
|
|
159
|
+
}
|
|
160
|
+
}, {
|
|
161
|
+
onSuccess: () => T?.onClose?.()
|
|
162
|
+
});
|
|
163
|
+
},
|
|
164
|
+
isLoading: y.isPending
|
|
165
|
+
} })
|
|
166
|
+
] });
|
|
167
|
+
};
|
|
303
168
|
export {
|
|
304
|
-
|
|
169
|
+
le as ApprovalPolicyView
|
|
305
170
|
};
|
|
@@ -1,105 +1,43 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import "react-dom";
|
|
10
|
-
import "@mui/x-data-grid";
|
|
11
|
-
import { CenteredContentBox as M } from "./index221.js";
|
|
12
|
-
import T from "@mui/icons-material/AttachFile";
|
|
13
|
-
import j from "@mui/icons-material/CloudUploadOutlined";
|
|
14
|
-
import { useTheme as k, alpha as $, CircularProgress as z, Box as g, Typography as a, Button as L } from "@mui/material";
|
|
15
|
-
const X = ({
|
|
16
|
-
payableId: i
|
|
1
|
+
import { jsxs as t, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useLingui as s } from "@lingui/react";
|
|
3
|
+
import { Dialog as d, DialogTitle as h, Typography as n, DialogContent as x, DialogActions as g, Button as l } from "@mui/material";
|
|
4
|
+
const v = ({
|
|
5
|
+
open: a,
|
|
6
|
+
type: p,
|
|
7
|
+
onClose: i,
|
|
8
|
+
onConfirm: c
|
|
17
9
|
}) => {
|
|
18
10
|
const {
|
|
19
11
|
i18n: o
|
|
20
|
-
} =
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
openFileInput: b,
|
|
26
|
-
checkFileError: v
|
|
27
|
-
} = E(), [c, l] = _(!1), u = n.finops.postPayablesIdAttachFile.useMutation({
|
|
28
|
-
path: {
|
|
29
|
-
payable_id: i
|
|
12
|
+
} = s(), r = p === "approve";
|
|
13
|
+
return /* @__PURE__ */ t(d, { open: a, onClose: i, maxWidth: "sm", fullWidth: !0, container: () => document.body, PaperProps: {
|
|
14
|
+
sx: {
|
|
15
|
+
borderRadius: 3,
|
|
16
|
+
padding: 2
|
|
30
17
|
}
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
const t = Array.from(e.dataTransfer.files)[0];
|
|
54
|
-
t && d(t);
|
|
55
|
-
}, d = (e) => {
|
|
56
|
-
const t = v(e);
|
|
57
|
-
if (t) {
|
|
58
|
-
s.error(t);
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
i && u.mutate({
|
|
62
|
-
file: e
|
|
63
|
-
}, {
|
|
64
|
-
onSuccess: () => {
|
|
65
|
-
s.success(o._("File successfully attached"));
|
|
66
|
-
},
|
|
67
|
-
onError: (P) => {
|
|
68
|
-
s.error(B(o, P));
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
};
|
|
72
|
-
return u.isPending ? /* @__PURE__ */ r(M, { children: /* @__PURE__ */ r(z, {}) }) : /* @__PURE__ */ r(g, { className: "Monite-PayableDetailsAttachFile", sx: {
|
|
73
|
-
width: "100%",
|
|
74
|
-
height: "100%",
|
|
75
|
-
display: "flex",
|
|
76
|
-
flexDirection: "column",
|
|
77
|
-
justifyContent: "center",
|
|
78
|
-
textAlign: "center",
|
|
79
|
-
...c && x
|
|
80
|
-
}, onDragOver: D, onDragLeave: C, onDrop: F, children: /* @__PURE__ */ r(g, { sx: {
|
|
81
|
-
margin: "auto"
|
|
82
|
-
}, children: c ? /* @__PURE__ */ f(h, { children: [
|
|
83
|
-
/* @__PURE__ */ r(j, { color: "primary", fontSize: "large" }),
|
|
84
|
-
/* @__PURE__ */ r(a, { color: "primary", variant: "subtitle2", children: o._("Drop the file here to upload") })
|
|
85
|
-
] }) : /* @__PURE__ */ f(h, { children: [
|
|
86
|
-
/* @__PURE__ */ r(T, { color: "primary", fontSize: "large", sx: {
|
|
87
|
-
marginBottom: 2
|
|
88
|
-
} }),
|
|
89
|
-
/* @__PURE__ */ r(a, { variant: "h3", sx: {
|
|
90
|
-
marginBottom: 1
|
|
91
|
-
}, children: o._("Attach a file") }),
|
|
92
|
-
/* @__PURE__ */ r(a, { children: o._("This invoice doesn't have a file attached.") }),
|
|
93
|
-
/* @__PURE__ */ r(a, { sx: {
|
|
94
|
-
marginBottom: 2
|
|
95
|
-
}, children: o._("Drag & Drop it here to save for administrative purposes.") }),
|
|
96
|
-
/* @__PURE__ */ r(L, { variant: "outlined", component: "label", onClick: b, children: o._("Choose from device") }),
|
|
97
|
-
/* @__PURE__ */ r(y, { onChange: (e) => {
|
|
98
|
-
const t = e.target.files ? e.target.files[0] : null;
|
|
99
|
-
t && d(t);
|
|
100
|
-
} })
|
|
101
|
-
] }) }) });
|
|
18
|
+
}, children: [
|
|
19
|
+
/* @__PURE__ */ e(h, { sx: {
|
|
20
|
+
p: "16px !important"
|
|
21
|
+
}, children: /* @__PURE__ */ e(n, { variant: "h5", fontWeight: 600, children: r ? o._("Force Approve bill?") : o._("Force Reject bill?") }) }),
|
|
22
|
+
/* @__PURE__ */ e(x, { sx: {
|
|
23
|
+
px: 2,
|
|
24
|
+
pb: 3
|
|
25
|
+
}, children: /* @__PURE__ */ e(n, { variant: "body1", color: "text.secondary", children: r ? o._("The bill status will change to Approved, skipping the approval flow.") : o._("The bill status will change to Rejected, skipping the approval flow.") }) }),
|
|
26
|
+
/* @__PURE__ */ t(g, { sx: {
|
|
27
|
+
px: 0,
|
|
28
|
+
pt: 2,
|
|
29
|
+
gap: 2
|
|
30
|
+
}, children: [
|
|
31
|
+
/* @__PURE__ */ e(l, { onClick: i, variant: "text", sx: {
|
|
32
|
+
color: "primary.main",
|
|
33
|
+
fontWeight: 500,
|
|
34
|
+
textTransform: "none",
|
|
35
|
+
fontSize: "16px"
|
|
36
|
+
}, children: o._("Cancel") }),
|
|
37
|
+
/* @__PURE__ */ e(l, { onClick: c, variant: "contained", color: r ? "primary" : "error", children: r ? o._("Force Approve") : o._("Force Reject") })
|
|
38
|
+
] })
|
|
39
|
+
] });
|
|
102
40
|
};
|
|
103
41
|
export {
|
|
104
|
-
|
|
42
|
+
v as PayableDetailsForceActionDialog
|
|
105
43
|
};
|