@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,36 +1,77 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { getCurrencyEnum as o } from "./index151.js";
|
|
2
|
+
import { z as t } from "zod";
|
|
3
|
+
const r = (e, n) => !!n?.required_fields?.includes(e), c = (e) => {
|
|
4
|
+
const n = t.array(t.object({
|
|
5
|
+
id: t.string().meta({
|
|
6
|
+
title: e._("Item ID")
|
|
7
|
+
}),
|
|
8
|
+
name: t.string().min(1, e._("Item name is required")).meta({
|
|
9
|
+
title: e._("Item Name")
|
|
10
|
+
}),
|
|
11
|
+
quantity: t.coerce.number().positive(e._("Item quantity must be positive")).meta({
|
|
12
|
+
title: e._("Quantity")
|
|
13
|
+
}),
|
|
14
|
+
price: t.coerce.number().min(0, e._("Item price cannot be negative")).meta({
|
|
15
|
+
title: e._("Price")
|
|
16
|
+
}),
|
|
17
|
+
tax: t.coerce.number().min(0, e._("Item tax cannot be negative")).max(100, e._("Item tax cannot exceed 100%")).meta({
|
|
18
|
+
title: e._("Tax")
|
|
19
|
+
}),
|
|
20
|
+
ledger_account_id: t.string().nullable().optional().meta({
|
|
21
|
+
title: e._("GL Code")
|
|
22
|
+
})
|
|
23
|
+
})).meta({
|
|
24
|
+
title: e._("Line Items")
|
|
25
|
+
}), i = t.object({
|
|
26
|
+
id: t.string(),
|
|
27
|
+
name: t.string()
|
|
28
|
+
}).loose().meta({
|
|
29
|
+
title: e._("Tag")
|
|
12
30
|
});
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
return t.object({
|
|
32
|
+
invoiceNumber: t.string().min(1, e._("Invoice Number is required")).meta({
|
|
33
|
+
title: e._("Invoice Number")
|
|
34
|
+
}),
|
|
35
|
+
counterpart: t.string().meta({
|
|
36
|
+
title: e._("Vendor")
|
|
37
|
+
}),
|
|
38
|
+
counterpartBankAccount: t.string().optional().meta({
|
|
39
|
+
title: e._("Vendor Bank Account")
|
|
40
|
+
}),
|
|
41
|
+
invoiceDate: t.preprocess((a) => a === null ? void 0 : a, t.date()).optional().meta({
|
|
42
|
+
title: e._("Invoice Date")
|
|
43
|
+
}),
|
|
44
|
+
dueDate: t.preprocess((a) => a === null ? void 0 : a, t.date()).optional().meta({
|
|
45
|
+
title: e._("Due Date")
|
|
46
|
+
}),
|
|
47
|
+
currency: o().optional().meta({
|
|
48
|
+
title: e._("Currency")
|
|
49
|
+
}),
|
|
50
|
+
tags: t.array(i).meta({
|
|
51
|
+
title: e._("Tags")
|
|
52
|
+
}),
|
|
53
|
+
lineItems: n,
|
|
54
|
+
discount: t.union([t.coerce.number().min(0), t.null()]).optional().meta({
|
|
55
|
+
title: e._("Discount")
|
|
56
|
+
})
|
|
31
57
|
});
|
|
32
|
-
}
|
|
58
|
+
}, s = (e, n) => c(e).refine((i) => i.dueDate instanceof Date, {
|
|
59
|
+
path: ["dueDate"],
|
|
60
|
+
message: e._("Due date is required")
|
|
61
|
+
}).refine((i) => !r("counterpart_id", n) || !!i.counterpart, {
|
|
62
|
+
path: ["counterpart"],
|
|
63
|
+
message: e._("Vendor is required")
|
|
64
|
+
}).refine((i) => !r("counterpart_bank_account_id", n) || !!i.counterpartBankAccount, {
|
|
65
|
+
path: ["counterpartBankAccount"],
|
|
66
|
+
message: e._("Vendor bank account is required")
|
|
67
|
+
}).refine((i) => !r("issued_at", n) || i.invoiceDate instanceof Date, {
|
|
68
|
+
path: ["invoiceDate"],
|
|
69
|
+
message: e._("Invoice date is required")
|
|
70
|
+
}).refine((i) => !r("currency", n) || i.currency !== void 0, {
|
|
71
|
+
path: ["currency"],
|
|
72
|
+
message: e._("Currency is required")
|
|
73
|
+
});
|
|
33
74
|
export {
|
|
34
|
-
|
|
35
|
-
r as
|
|
75
|
+
s as getPayableDetailsFormSchema,
|
|
76
|
+
r as isFieldRequiredByValidations
|
|
36
77
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { jsx as t, jsxs as r, Fragment as E } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { useState as i, useCallback as f, useMemo as v } from "react";
|
|
3
|
-
import { UserCell as R } from "./
|
|
3
|
+
import { UserCell as R } from "./index344.js";
|
|
4
4
|
import { useMoniteContext as W } from "./index57.js";
|
|
5
5
|
import { MoniteScopedProviders as q } from "./index83.js";
|
|
6
|
-
import { useUserPermissions as G } from "./
|
|
6
|
+
import { useUserPermissions as G } from "./index130.js";
|
|
7
7
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
8
8
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
9
9
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
10
10
|
import "@tanstack/react-query";
|
|
11
11
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
12
12
|
import { Scope as Q } from "../../shared/data-access/dist/lib/scopes.js";
|
|
13
|
-
import { DataTable as V } from "./
|
|
13
|
+
import { DataTable as V } from "./index141.js";
|
|
14
14
|
import { Button as u } from "./index84.js";
|
|
15
|
-
import { DropdownMenu as Y, DropdownMenuTrigger as H, DropdownMenuContent as J, DropdownMenuItem as X } from "./
|
|
16
|
-
import { GetNoRowsOverlay as Z } from "./
|
|
17
|
-
import { hasSelectedText as ee } from "./
|
|
15
|
+
import { DropdownMenu as Y, DropdownMenuTrigger as H, DropdownMenuContent as J, DropdownMenuItem as X } from "./index177.js";
|
|
16
|
+
import { GetNoRowsOverlay as Z } from "./index139.js";
|
|
17
|
+
import { hasSelectedText as ee } from "./index148.js";
|
|
18
18
|
import { useLingui as te } from "@lingui/react";
|
|
19
19
|
import { ArrowUp as N, ArrowDown as k, ArrowUpDown as T, MoreVertical as ae, Trash as oe } from "lucide-react";
|
|
20
|
-
import { ConfirmDeleteModal as re } from "./
|
|
21
|
-
import { getTagCategoryLabel as ie } from "./
|
|
20
|
+
import { ConfirmDeleteModal as re } from "./index345.js";
|
|
21
|
+
import { getTagCategoryLabel as ie } from "./index346.js";
|
|
22
22
|
import { TagFormModal as se } from "./index47.js";
|
|
23
|
-
import { useTags as ne } from "./
|
|
23
|
+
import { useTags as ne } from "./index347.js";
|
|
24
24
|
const $e = (n) => /* @__PURE__ */ t(q, { children: /* @__PURE__ */ t(le, { ...n }) }), le = ({
|
|
25
25
|
onChangeSort: n,
|
|
26
26
|
showCreationModal: x
|
|
@@ -1,98 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { useCurrencies as F } from "./index58.js";
|
|
6
|
-
import { useLingui as _ } from "@lingui/react";
|
|
7
|
-
import S from "@mui/icons-material/Add";
|
|
8
|
-
import L from "@mui/icons-material/DeleteForever";
|
|
9
|
-
import { Grid as r, TextField as d, IconButton as $, Typography as j, Button as w } from "@mui/material";
|
|
10
|
-
const Q = ({
|
|
11
|
-
enableGLCodes: f
|
|
12
|
-
}) => {
|
|
1
|
+
import { useMemo as s } from "react";
|
|
2
|
+
import { useLingui as t } from "@lingui/react";
|
|
3
|
+
import { useExistingCurrenciesFromProducts as u } from "./index475.js";
|
|
4
|
+
const d = () => {
|
|
13
5
|
const {
|
|
14
|
-
i18n:
|
|
15
|
-
} =
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}), u = s("currency"), p = s("lineItems");
|
|
30
|
-
return /* @__PURE__ */ l(r, { container: !0, direction: "column", spacing: 4, children: [
|
|
31
|
-
c.map((b, i) => /* @__PURE__ */ l(r, { item: !0, container: !0, gap: 2, className: "Monite-PayableDetailsForm-Item", children: [
|
|
32
|
-
/* @__PURE__ */ l(r, { item: !0, xs: 12, gap: 2, container: !0, flexWrap: "nowrap", children: [
|
|
33
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 8, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.name`, control: a, render: ({
|
|
34
|
-
field: t,
|
|
35
|
-
fieldState: {
|
|
36
|
-
error: n
|
|
37
|
-
}
|
|
38
|
-
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Name"), variant: "standard", error: !!n, helperText: n?.message, fullWidth: !0 }) }) }),
|
|
39
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 3, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.quantity`, control: a, render: ({
|
|
40
|
-
field: t,
|
|
41
|
-
fieldState: {
|
|
42
|
-
error: n
|
|
43
|
-
}
|
|
44
|
-
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Quantity"), variant: "standard", type: "number", inputProps: {
|
|
45
|
-
min: 1
|
|
46
|
-
}, error: !!n, helperText: n?.message, fullWidth: !0 }) }) }),
|
|
47
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 1, container: !0, sx: {
|
|
48
|
-
justifyContent: "flex-end",
|
|
49
|
-
alignItems: "center"
|
|
50
|
-
}, children: /* @__PURE__ */ e($, { "aria-label": "delete", onClick: () => I(i), disabled: c.length === 1, children: /* @__PURE__ */ e(L, {}) }) })
|
|
51
|
-
] }),
|
|
52
|
-
f && /* @__PURE__ */ l(r, { item: !0, xs: 12, gap: 2, container: !0, flexWrap: "nowrap", children: [
|
|
53
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 11, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.ledger_account_id`, control: a, render: ({
|
|
54
|
-
field: t,
|
|
55
|
-
fieldState: {
|
|
56
|
-
error: n
|
|
57
|
-
}
|
|
58
|
-
}) => /* @__PURE__ */ e(W, { value: t.value ?? void 0, onChange: (C) => t.onChange(C ?? void 0), error: !!n, helperText: n?.message }) }) }),
|
|
59
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 1 })
|
|
60
|
-
] }),
|
|
61
|
-
/* @__PURE__ */ l(r, { item: !0, xs: 12, gap: 2, container: !0, flexWrap: "nowrap", justifyContent: "flex-end", children: [
|
|
62
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 8, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.price`, control: a, render: ({
|
|
63
|
-
field: t,
|
|
64
|
-
fieldState: {
|
|
65
|
-
error: n
|
|
66
|
-
}
|
|
67
|
-
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Price"), variant: "standard", type: "number", inputProps: {
|
|
68
|
-
min: 0
|
|
69
|
-
}, error: !!n, helperText: n?.message, fullWidth: !0, InputProps: {
|
|
70
|
-
endAdornment: x(s("currency"))
|
|
71
|
-
} }) }) }),
|
|
72
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 3, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.tax`, control: a, render: ({
|
|
73
|
-
field: t,
|
|
74
|
-
fieldState: {
|
|
75
|
-
error: n
|
|
76
|
-
}
|
|
77
|
-
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Tax"), variant: "standard", type: "number", inputProps: {
|
|
78
|
-
min: 0,
|
|
79
|
-
max: 100
|
|
80
|
-
}, error: !!n, helperText: n?.message, fullWidth: !0, InputProps: {
|
|
81
|
-
endAdornment: "%"
|
|
82
|
-
} }) }) }),
|
|
83
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 1 })
|
|
84
|
-
] }),
|
|
85
|
-
p?.[i] && u && /* @__PURE__ */ e(r, { item: !0, xs: 12, gap: 2, className: "Monite-PayableDetailsForm-Item-Total", children: /* @__PURE__ */ e(j, { fontWeight: "bold", align: "right", children: h(g(v(p?.[i]), u) || 0, u) }) })
|
|
86
|
-
] }, b.id)),
|
|
87
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 12, gap: 2, children: /* @__PURE__ */ e(w, { variant: "text", startIcon: /* @__PURE__ */ e(S, {}), onClick: () => y({
|
|
88
|
-
id: "",
|
|
89
|
-
name: "",
|
|
90
|
-
quantity: 1,
|
|
91
|
-
price: 0,
|
|
92
|
-
tax: 19
|
|
93
|
-
}), children: o._("Add item") }) })
|
|
94
|
-
] });
|
|
6
|
+
i18n: r
|
|
7
|
+
} = t(), {
|
|
8
|
+
existingCurrencies: e,
|
|
9
|
+
isLoadingProducts: o
|
|
10
|
+
} = u();
|
|
11
|
+
return {
|
|
12
|
+
currencyGroups: s(() => [{
|
|
13
|
+
title: r._("You have items in"),
|
|
14
|
+
predicate: (i) => e.has(i.code)
|
|
15
|
+
}, {
|
|
16
|
+
title: r._("No items created in"),
|
|
17
|
+
predicate: (i) => !e.has(i.code)
|
|
18
|
+
}], [e, r]),
|
|
19
|
+
isLoadingCurrencyGroups: o
|
|
20
|
+
};
|
|
95
21
|
};
|
|
96
22
|
export {
|
|
97
|
-
|
|
23
|
+
d as useProductCurrencyGroups
|
|
98
24
|
};
|
|
@@ -1,18 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
}), e = o(r);
|
|
11
|
-
return {
|
|
12
|
-
counterpartQuery: t,
|
|
13
|
-
counterpartBankAccountQuery: e
|
|
14
|
-
};
|
|
15
|
-
}
|
|
1
|
+
import { getCountries as e } from "./index93.js";
|
|
2
|
+
import { getCurrencies as o } from "./index94.js";
|
|
3
|
+
const m = (t, n) => {
|
|
4
|
+
const c = u(t, n);
|
|
5
|
+
return n.is_default_for_currency ? t._("{bankAccountName} (Default)", {
|
|
6
|
+
bankAccountName: c
|
|
7
|
+
}) : c;
|
|
8
|
+
}, u = (t, n) => n.name ? n.name : n.country && n.currency ? `${e(t)[n.country]} (${o(t)[n.currency]})` : n.id;
|
|
16
9
|
export {
|
|
17
|
-
|
|
10
|
+
m as getBankAccountName
|
|
18
11
|
};
|
|
@@ -1,77 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}),
|
|
14
|
-
price: t.coerce.number().min(0, e._("Item price cannot be negative")).meta({
|
|
15
|
-
title: e._("Price")
|
|
16
|
-
}),
|
|
17
|
-
tax: t.coerce.number().min(0, e._("Item tax cannot be negative")).max(100, e._("Item tax cannot exceed 100%")).meta({
|
|
18
|
-
title: e._("Tax")
|
|
19
|
-
}),
|
|
20
|
-
ledger_account_id: t.string().nullable().optional().meta({
|
|
21
|
-
title: e._("GL Code")
|
|
22
|
-
})
|
|
23
|
-
})).meta({
|
|
24
|
-
title: e._("Line Items")
|
|
25
|
-
}), i = t.object({
|
|
26
|
-
id: t.string(),
|
|
27
|
-
name: t.string()
|
|
28
|
-
}).loose().meta({
|
|
29
|
-
title: e._("Tag")
|
|
1
|
+
import { useMoniteContext as s } from "./index57.js";
|
|
2
|
+
import { useCounterpartsBankAccountsList as o } from "./index188.js";
|
|
3
|
+
function p({
|
|
4
|
+
currentCounterpartId: e,
|
|
5
|
+
payableId: t
|
|
6
|
+
}) {
|
|
7
|
+
const {
|
|
8
|
+
api: a
|
|
9
|
+
} = s(), n = o(e), r = a.finops.getPayablesIdLineItems.useQuery({
|
|
10
|
+
path: {
|
|
11
|
+
payable_id: t
|
|
12
|
+
}
|
|
30
13
|
});
|
|
31
|
-
return
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
title: e._("Vendor")
|
|
37
|
-
}),
|
|
38
|
-
counterpartBankAccount: t.string().optional().meta({
|
|
39
|
-
title: e._("Vendor Bank Account")
|
|
40
|
-
}),
|
|
41
|
-
invoiceDate: t.preprocess((a) => a === null ? void 0 : a, t.date()).optional().meta({
|
|
42
|
-
title: e._("Invoice Date")
|
|
43
|
-
}),
|
|
44
|
-
dueDate: t.preprocess((a) => a === null ? void 0 : a, t.date()).optional().meta({
|
|
45
|
-
title: e._("Due Date")
|
|
46
|
-
}),
|
|
47
|
-
currency: o().optional().meta({
|
|
48
|
-
title: e._("Currency")
|
|
49
|
-
}),
|
|
50
|
-
tags: t.array(i).meta({
|
|
51
|
-
title: e._("Tags")
|
|
52
|
-
}),
|
|
53
|
-
lineItems: n,
|
|
54
|
-
discount: t.union([t.coerce.number().min(0), t.null()]).optional().meta({
|
|
55
|
-
title: e._("Discount")
|
|
56
|
-
})
|
|
57
|
-
});
|
|
58
|
-
}, s = (e, n) => c(e).refine((i) => i.dueDate instanceof Date, {
|
|
59
|
-
path: ["dueDate"],
|
|
60
|
-
message: e._("Due date is required")
|
|
61
|
-
}).refine((i) => !r("counterpart_id", n) || !!i.counterpart, {
|
|
62
|
-
path: ["counterpart"],
|
|
63
|
-
message: e._("Vendor is required")
|
|
64
|
-
}).refine((i) => !r("counterpart_bank_account_id", n) || !!i.counterpartBankAccount, {
|
|
65
|
-
path: ["counterpartBankAccount"],
|
|
66
|
-
message: e._("Vendor bank account is required")
|
|
67
|
-
}).refine((i) => !r("issued_at", n) || i.invoiceDate instanceof Date, {
|
|
68
|
-
path: ["invoiceDate"],
|
|
69
|
-
message: e._("Invoice date is required")
|
|
70
|
-
}).refine((i) => !r("currency", n) || i.currency !== void 0, {
|
|
71
|
-
path: ["currency"],
|
|
72
|
-
message: e._("Currency is required")
|
|
73
|
-
});
|
|
14
|
+
return {
|
|
15
|
+
counterpartBankAccountQuery: n,
|
|
16
|
+
lineItemsQuery: r
|
|
17
|
+
};
|
|
18
|
+
}
|
|
74
19
|
export {
|
|
75
|
-
|
|
76
|
-
r as isFieldRequiredByValidations
|
|
20
|
+
p as usePayableDetailsInfo
|
|
77
21
|
};
|
|
@@ -1,24 +1,53 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { jsxs as p, jsx as a } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMemo as m } from "react";
|
|
3
|
+
import { getUserDisplayName as c, getIndividualName as w } from "./index95.js";
|
|
4
|
+
import "date-fns";
|
|
5
|
+
import { UserAvatar as d } from "./index407.js";
|
|
6
|
+
import { Box as f, Typography as h } from "@mui/material";
|
|
7
|
+
const U = ({
|
|
8
|
+
user: e,
|
|
9
|
+
showUserEmail: r = !1,
|
|
10
|
+
showAvatar: s = !0,
|
|
11
|
+
avatarSize: i = 24,
|
|
12
|
+
variant: x = "inline",
|
|
13
|
+
typographyVariant: l = "body2",
|
|
14
|
+
sx: o
|
|
15
|
+
}) => {
|
|
16
|
+
const t = m(() => c(e, r), [e, r]), n = m(() => w(e.first_name || "", e.last_name || ""), [e.first_name, e.last_name]);
|
|
17
|
+
return x === "stacked" ? /* @__PURE__ */ p(f, { sx: {
|
|
18
|
+
display: "flex",
|
|
19
|
+
flexDirection: "column",
|
|
20
|
+
alignItems: "center",
|
|
21
|
+
gap: 1,
|
|
22
|
+
...o
|
|
23
|
+
}, children: [
|
|
24
|
+
s && /* @__PURE__ */ a(d, { sx: {
|
|
25
|
+
width: i,
|
|
26
|
+
height: i
|
|
27
|
+
}, alt: n, fileId: e.userpic_file_id }),
|
|
28
|
+
/* @__PURE__ */ a(h, { variant: l, title: t ?? "", sx: {
|
|
29
|
+
overflow: "hidden",
|
|
30
|
+
textOverflow: "ellipsis",
|
|
31
|
+
whiteSpace: "nowrap",
|
|
32
|
+
textAlign: "center"
|
|
33
|
+
}, children: t ?? "" })
|
|
34
|
+
] }) : /* @__PURE__ */ p(f, { sx: {
|
|
35
|
+
display: "flex",
|
|
36
|
+
alignItems: "center",
|
|
37
|
+
gap: 1,
|
|
38
|
+
...o
|
|
39
|
+
}, children: [
|
|
40
|
+
s && /* @__PURE__ */ a(d, { sx: {
|
|
41
|
+
width: i,
|
|
42
|
+
height: i
|
|
43
|
+
}, alt: n, fileId: e.userpic_file_id }),
|
|
44
|
+
/* @__PURE__ */ a(h, { variant: l, title: t ?? "", sx: {
|
|
45
|
+
overflow: "hidden",
|
|
46
|
+
textOverflow: "ellipsis",
|
|
47
|
+
whiteSpace: "nowrap"
|
|
48
|
+
}, children: t ?? "" })
|
|
49
|
+
] });
|
|
21
50
|
};
|
|
22
51
|
export {
|
|
23
|
-
|
|
52
|
+
U as UserDisplayCell
|
|
24
53
|
};
|
|
@@ -1,11 +1,61 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsx as e, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { User as x } from "./index336.js";
|
|
3
|
+
import { PayableStatusChip as u } from "./index186.js";
|
|
4
|
+
import { useLingui as y } from "@lingui/react";
|
|
5
|
+
import { Box as n, CircularProgress as g, Typography as r, Paper as v, Table as f, TableBody as b, TableRow as w, TableCell as l, Stack as A } from "@mui/material";
|
|
6
|
+
import { useResolvedApprovalStepsWithPolicy as P } from "./index476.js";
|
|
7
|
+
const j = ({
|
|
8
|
+
approvalPolicy: d,
|
|
9
|
+
payableId: p,
|
|
10
|
+
showUsersAsEmail: h = !0
|
|
11
|
+
}) => {
|
|
12
|
+
const {
|
|
13
|
+
i18n: s
|
|
14
|
+
} = y(), {
|
|
15
|
+
steps: a,
|
|
16
|
+
isLoading: c
|
|
17
|
+
} = P(p, d);
|
|
18
|
+
return c ? /* @__PURE__ */ e(n, { sx: {
|
|
19
|
+
display: "flex",
|
|
20
|
+
justifyContent: "center",
|
|
21
|
+
p: 3
|
|
22
|
+
}, children: /* @__PURE__ */ e(g, { size: 20 }) }) : a.length ? /* @__PURE__ */ o(n, { sx: {
|
|
23
|
+
mt: 4
|
|
24
|
+
}, children: [
|
|
25
|
+
/* @__PURE__ */ e(r, { variant: "h6", gutterBottom: !0, sx: {
|
|
26
|
+
fontWeight: 600
|
|
27
|
+
}, children: s._("Approval flow") }),
|
|
28
|
+
/* @__PURE__ */ e(v, { variant: "outlined", sx: {
|
|
29
|
+
mt: 2
|
|
30
|
+
}, children: /* @__PURE__ */ e(f, { sx: {
|
|
31
|
+
tableLayout: "fixed",
|
|
32
|
+
width: "100%"
|
|
33
|
+
}, children: /* @__PURE__ */ e(b, { children: a.map((i, m) => /* @__PURE__ */ o(w, { children: [
|
|
34
|
+
/* @__PURE__ */ e(l, { sx: {
|
|
35
|
+
verticalAlign: "middle",
|
|
36
|
+
py: 2,
|
|
37
|
+
width: "160px"
|
|
38
|
+
}, children: /* @__PURE__ */ e(r, { variant: "body2", color: "text.primary", sx: {
|
|
39
|
+
fontWeight: "normal"
|
|
40
|
+
}, children: i.type }) }),
|
|
41
|
+
/* @__PURE__ */ e(l, { sx: {
|
|
42
|
+
py: 2,
|
|
43
|
+
verticalAlign: "middle",
|
|
44
|
+
minWidth: "52px"
|
|
45
|
+
}, children: i.userNames.length > 0 ? /* @__PURE__ */ e(A, { direction: "column", spacing: 0.5, sx: {
|
|
46
|
+
overflow: "hidden"
|
|
47
|
+
}, children: i.resolvedUsers.map((t) => t ? /* @__PURE__ */ e(x, { user: t, variant: "cell", showUsersAsEmail: h, showAvatar: !1 }, t.id) : null) }) : /* @__PURE__ */ e(r, { variant: "body2", color: "text.secondary", sx: {
|
|
48
|
+
fontWeight: "medium"
|
|
49
|
+
}, children: s._("No users assigned") }) }),
|
|
50
|
+
/* @__PURE__ */ e(l, { sx: {
|
|
51
|
+
py: 2,
|
|
52
|
+
textAlign: "right",
|
|
53
|
+
verticalAlign: "middle",
|
|
54
|
+
width: "140px"
|
|
55
|
+
}, children: /* @__PURE__ */ e(u, { status: i.payableStatus }) })
|
|
56
|
+
] }, m)) }) }) })
|
|
57
|
+
] }) : null;
|
|
58
|
+
};
|
|
9
59
|
export {
|
|
10
|
-
|
|
60
|
+
j as PayableApprovalFlowSection
|
|
11
61
|
};
|
|
@@ -1,45 +1,35 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import f from "
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as n, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useRootElements as g } from "./index92.js";
|
|
3
|
+
import { TagsAutocomplete as f } from "./index454.js";
|
|
4
|
+
import { DialogTitle as h, DialogContent as C, DialogActions as v, Button as r } from "@mui/material";
|
|
5
|
+
import "react-hook-form";
|
|
6
|
+
import { Dialog as x } from "./index50.js";
|
|
7
|
+
import { useLingui as D } from "@lingui/react";
|
|
8
|
+
import { useState as T } from "react";
|
|
9
|
+
const R = ({
|
|
10
|
+
opened: a,
|
|
11
|
+
onClose: t,
|
|
12
|
+
value: l,
|
|
13
|
+
updateTags: s
|
|
10
14
|
}) => {
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
+
const {
|
|
16
|
+
root: m
|
|
17
|
+
} = g(), {
|
|
18
|
+
i18n: e
|
|
19
|
+
} = D(), [i, c] = T(l), d = (u) => {
|
|
20
|
+
c(u);
|
|
21
|
+
}, p = () => {
|
|
22
|
+
s?.(i), t();
|
|
15
23
|
};
|
|
16
|
-
return /* @__PURE__ */ x
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}, "aria-expanded": n, "aria-haspopup": "true", ...d, children: /* @__PURE__ */ r(f, {}) }),
|
|
24
|
-
/* @__PURE__ */ r(C, { anchorEl: t, open: n, onClose: l, container: () => document.body, anchorOrigin: {
|
|
25
|
-
vertical: "bottom",
|
|
26
|
-
horizontal: "right"
|
|
27
|
-
}, transformOrigin: {
|
|
28
|
-
vertical: "top",
|
|
29
|
-
horizontal: "right"
|
|
30
|
-
}, MenuListProps: {
|
|
31
|
-
"aria-labelledby": e,
|
|
32
|
-
role: "menu"
|
|
33
|
-
}, ...s, children: a.map(({
|
|
34
|
-
key: o,
|
|
35
|
-
label: p,
|
|
36
|
-
onClick: u,
|
|
37
|
-
sx: c
|
|
38
|
-
}) => /* @__PURE__ */ r(k, { id: o, onClick: (h) => {
|
|
39
|
-
l(), u?.(h);
|
|
40
|
-
}, sx: c, children: /* @__PURE__ */ r(M, { primary: p }) }, o)) })
|
|
24
|
+
return /* @__PURE__ */ n(x, { open: a, onClose: t, container: m, fullWidth: !0, children: [
|
|
25
|
+
/* @__PURE__ */ o(h, { children: e._("Edit tags") }),
|
|
26
|
+
/* @__PURE__ */ o(C, { dividers: !0, children: /* @__PURE__ */ o(f, { value: i, onChange: d }) }),
|
|
27
|
+
/* @__PURE__ */ n(v, { children: [
|
|
28
|
+
/* @__PURE__ */ o(r, { variant: "text", onClick: t, children: e._("Cancel") }),
|
|
29
|
+
/* @__PURE__ */ o(r, { variant: "contained", onClick: p, children: e._("Update") })
|
|
30
|
+
] })
|
|
41
31
|
] });
|
|
42
32
|
};
|
|
43
33
|
export {
|
|
44
|
-
|
|
34
|
+
R as TagsModal
|
|
45
35
|
};
|