@tesouro/embedded-components-react 0.2.111 → 0.2.113
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/index.css +16 -0
- package/dist/index.d.ts +2 -0
- package/dist/lib/ReceivablesWidget.js +23 -23
- package/dist/lib/monite-sdk.d.ts +8 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index2.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index4.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index5.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/index6.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index3.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index4.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index2.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/help-widget/ui/shadcn/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index5.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index12.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index13.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index16.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index5.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index6.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/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/index109.js +1 -1
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +32 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +1270 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +9 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +9 -13
- 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 +75 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +6 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +33 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +30 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +12 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +12 -197
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +122 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +117 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +6 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +12 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +10 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +47 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +43 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +13 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +46 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +15 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +11 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +56 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +150 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +25 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +56 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +69 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +24 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +3 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +62 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +36 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +79 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +5 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +97 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +57 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +9 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +46 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +76 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +57 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +196 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +14 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +21 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +74 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +28 -204
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +38 -423
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +7 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +113 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +70 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +190 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +31 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +111 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +132 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +20 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +17 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +183 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +12 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +18 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +48 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +4 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +5 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +87 -45
- 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 +37 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +8 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +42 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +47 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +203 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +421 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +24 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +141 -140
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +35 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +100 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +24 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +5 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +211 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +10 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +146 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +85 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +26 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +20 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +28 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +42 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +61 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +94 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +110 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +86 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +62 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +73 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +44 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +8 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +47 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +26 -245
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +4 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +76 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +32 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +484 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +164 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +42 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +57 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +29 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +112 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +21 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +41 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +57 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +36 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +34 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +66 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +345 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +2 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +20 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +13 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +9 -486
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +9 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +11 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +18 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +28 -294
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +30 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +14 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +17 -267
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +246 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +12 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +19 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +24 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +40 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +55 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +52 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +96 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +46 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +144 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +106 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +22 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +53 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +28 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +57 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +16 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +2 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +95 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +94 -282
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +211 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +26 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +41 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +340 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +297 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +100 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +162 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +265 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +66 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +34 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +149 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +19 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +14 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +74 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +77 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +43 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +17 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +42 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +157 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +27 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +27 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +78 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +60 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +42 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +25 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +141 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +107 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +80 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +282 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +46 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +15 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +83 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +218 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +35 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +11 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +8 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +10 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +11 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +6 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +20 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +167 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +131 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +162 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +9 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +18 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +61 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +67 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +51 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +6 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +8 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +60 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +23 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +60 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +14 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +90 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +16 -7
- 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 +82 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +17 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +48 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +10 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +50 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +27 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +125 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +255 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +53 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +34 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +21 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +14 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +65 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +16 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +19 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +13 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +15 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +24 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +34 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +35 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +45 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +27 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +13 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +66 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +19 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +117 -61
- 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 +18 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +16 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +14 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +73 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +16 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +16 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +11 -24
- 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 +33 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +40 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +72 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +94 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +32 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +19 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +47 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +11 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +9 -21
- 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 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +94 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +32 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +31 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +125 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +49 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +15 -47
- 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 +66 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +45 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +19 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +5 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +29 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +9 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +32 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +85 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +105 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +112 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +74 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +66 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +35 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +8 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +40 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +50 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +38 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +46 -40
- 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 +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +55 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +69 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +21 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +82 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +18 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +29 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +68 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +41 -75
- 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 +32 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +54 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +95 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +16 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +75 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +19 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +9 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +15 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +41 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +36 -33
- 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 +13 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +49 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +58 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +30 -13
- 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 +3 -3
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- 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/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/onboarding-widget/ui/dist/index12.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/onboarding-widget/ui/dist/index6.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index4.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/profile-widget/ui/dist/index2.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index10.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index11.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index4.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index5.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index6.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index3.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index4.js +53 -53
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index5.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index6.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/tags-widget/ui/dist/index3.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/tags-widget/ui/dist/index4.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/tags-widget/ui/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index11.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index12.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index13.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index15.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index16.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index6.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/index4.js +29 -29
- package/dist/packages/shared-ui-shadcn/dist/index.js +892 -892
- package/package.json +1 -1
|
@@ -1,149 +1,116 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
1
|
+
import { getSharedApprovalRuleLabel as c, getUsersFromListLabel as R } from "./index399.js";
|
|
2
|
+
const d = {
|
|
3
|
+
REQUEST_APPROVAL_BY_USERS: "ApprovalRequests.request_approval_by_users",
|
|
4
|
+
REQUEST_APPROVAL_BY_ROLES: "ApprovalRequests.request_approval_by_roles"
|
|
5
|
+
}, v = (e) => {
|
|
6
|
+
switch (e) {
|
|
7
|
+
case "approved":
|
|
8
|
+
return "waiting_to_be_paid";
|
|
9
|
+
case "rejected":
|
|
10
|
+
return "rejected";
|
|
11
|
+
case "canceled":
|
|
12
|
+
return "canceled";
|
|
13
|
+
default:
|
|
14
|
+
return "approve_in_progress";
|
|
15
|
+
}
|
|
16
|
+
}, m = (e) => e.find((a) => a.call === d.REQUEST_APPROVAL_BY_USERS), q = (e) => e.find((a) => a.call === d.REQUEST_APPROVAL_BY_ROLES), f = (e, a, s = !1) => e.filter((r) => r.user_ids?.length ? s ? r.user_ids.some((t) => a.includes(t)) : a.every((t) => r.user_ids.includes(t)) : !1), b = (e, a, s) => {
|
|
17
|
+
if (e?.params) {
|
|
18
|
+
const {
|
|
19
|
+
user_ids: r,
|
|
20
|
+
required_approval_count: t
|
|
21
|
+
} = e.params;
|
|
22
|
+
return r?.length === 1 ? c.singleUser(s) : R(s, t);
|
|
23
|
+
}
|
|
24
|
+
return a?.params ? c.anyUserWithRole(s) : "";
|
|
25
|
+
}, o = (e) => e ? e.call && e.params ? [e] : Array.isArray(e.all) ? e.all.flatMap(o) : e.if ? o(e.if) : [] : [], h = (e) => e.flatMap(o), j = (e) => {
|
|
26
|
+
const a = [];
|
|
27
|
+
if (e.all)
|
|
28
|
+
a.push(...e.all);
|
|
29
|
+
else if (e.if) {
|
|
30
|
+
const s = e.if;
|
|
31
|
+
s.all ? a.push(...s.all) : a.push(s);
|
|
32
|
+
}
|
|
33
|
+
return a;
|
|
34
|
+
}, _ = (e) => e ? e.call && e.params ? [e] : Array.isArray(e.all) ? e.all.flatMap(_) : Array.isArray(e) ? e.flatMap(_) : [] : [], y = (e) => e.length === 0 || e.some((a) => a.status === "waiting") ? "waiting" : e.every((a) => a.status === "approved") ? "approved" : e.some((a) => a.status === "rejected") ? "rejected" : "waiting", E = (e, a, s) => ({
|
|
35
|
+
stepNumber: a,
|
|
36
|
+
type: s,
|
|
37
|
+
assignee: void 0,
|
|
38
|
+
assignees: e.assignees,
|
|
39
|
+
status: e.stepStatus,
|
|
40
|
+
payableStatus: v(e.stepStatus),
|
|
41
|
+
actualAssignees: e.actualAssignees,
|
|
42
|
+
hasActiveRequests: e.relatedRequests.length > 0,
|
|
43
|
+
requestIds: e.relatedRequests.map((r) => r.id),
|
|
44
|
+
approvalRequestId: e.approvalRequestId,
|
|
45
|
+
approvedBy: e.approvedBy,
|
|
46
|
+
objectId: e.objectId,
|
|
47
|
+
rejectedBy: e.rejectedBy,
|
|
48
|
+
requiredApprovalCount: e.requiredApprovalCount
|
|
49
|
+
}), B = (e, a, s, r) => {
|
|
50
|
+
const t = y(a);
|
|
51
|
+
return {
|
|
52
|
+
stepNumber: s,
|
|
53
|
+
type: r,
|
|
54
|
+
assignee: void 0,
|
|
55
|
+
assignees: e,
|
|
56
|
+
status: t,
|
|
57
|
+
payableStatus: v(t),
|
|
58
|
+
actualAssignees: e,
|
|
59
|
+
hasActiveRequests: a.length > 0,
|
|
60
|
+
requestIds: a.map((l) => l.id),
|
|
61
|
+
approvalRequestId: a[0]?.id,
|
|
62
|
+
approvedBy: a.flatMap((l) => l.approved_by || []),
|
|
63
|
+
objectId: a[0]?.object_id,
|
|
64
|
+
rejectedBy: a.find((l) => l.rejected_by)?.rejected_by,
|
|
65
|
+
requiredApprovalCount: a.reduce((l, i) => l + i.required_approval_count, 0)
|
|
66
|
+
};
|
|
67
|
+
}, C = (e, a) => {
|
|
68
|
+
const s = e.flatMap((t) => t.params?.user_ids || []), r = a.filter((t) => t.user_ids?.length && s.some((l) => t.user_ids.includes(l)));
|
|
69
|
+
return {
|
|
70
|
+
allChainUserIds: s,
|
|
71
|
+
allChainRequests: r
|
|
72
|
+
};
|
|
73
|
+
}, I = (e) => {
|
|
74
|
+
const a = [];
|
|
75
|
+
if (e.all)
|
|
76
|
+
a.push(...e.all);
|
|
77
|
+
else if (e.if) {
|
|
78
|
+
const s = e.if;
|
|
79
|
+
s.all ? a.push(...s.all) : a.push(s);
|
|
80
|
+
}
|
|
81
|
+
return a;
|
|
82
|
+
}, L = (e, a) => {
|
|
83
|
+
const s = e.call === d.REQUEST_APPROVAL_BY_USERS ? e : void 0;
|
|
84
|
+
let r = [];
|
|
85
|
+
s?.params?.user_ids && (r = s.params.user_ids);
|
|
86
|
+
const t = f(a, r, !0), l = t.flatMap((p) => p.user_ids || []), i = [...new Set(l)], A = t.length ? t[0].status : "waiting", u = t.find((p) => p.status !== "waiting"), S = t.flatMap((p) => p.approved_by || []), n = [...new Set(S)];
|
|
87
|
+
return {
|
|
88
|
+
assignees: r,
|
|
89
|
+
actualAssignees: i,
|
|
90
|
+
relatedRequests: t,
|
|
91
|
+
stepStatus: A,
|
|
92
|
+
approvalRequestId: u?.id,
|
|
93
|
+
approvedBy: n.length > 0 ? n : void 0,
|
|
94
|
+
objectId: u?.object_id || e.params?.object_id,
|
|
95
|
+
rejectedBy: u?.rejected_by,
|
|
96
|
+
requiredApprovalCount: e.params?.required_approval_count || u?.required_approval_count || 1
|
|
94
97
|
};
|
|
95
|
-
return /* @__PURE__ */ a(E, { children: [
|
|
96
|
-
/* @__PURE__ */ e(U, { className: "ttw:border-b ttw:border-border ttw:p-6", children: /* @__PURE__ */ a("div", { className: "ttw:flex ttw:items-center ttw:gap-4", children: [
|
|
97
|
-
/* @__PURE__ */ e("span", { className: "ttw:flex ttw:size-10 ttw:shrink-0 ttw:items-center ttw:justify-center ttw:rounded-full ttw:border ttw:border-emerald-200 ttw:bg-emerald-50", children: m ? /* @__PURE__ */ e(q, { className: "ttw:size-6 ttw:text-green-700" }) : /* @__PURE__ */ e(G, { className: "ttw:size-6 ttw:text-green-700" }) }),
|
|
98
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
99
|
-
/* @__PURE__ */ e(V, { children: m ? t._("Send a copy to {name}?", {
|
|
100
|
-
name: r
|
|
101
|
-
}) : t._("Invoice issued. Send a copy to {name}?", {
|
|
102
|
-
name: r
|
|
103
|
-
}) }),
|
|
104
|
-
/* @__PURE__ */ e(W, { className: "ttw:text-xs", children: t._("The customer will be emailed a copy of the invoice with payment instructions.") })
|
|
105
|
-
] })
|
|
106
|
-
] }) }),
|
|
107
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-2 ttw:p-6", children: [
|
|
108
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:items-center ttw:gap-4", children: [
|
|
109
|
-
/* @__PURE__ */ e(o, { variant: "body2", color: "muted", className: "ttw:w-16 ttw:shrink-0", children: t._("To") }),
|
|
110
|
-
/* @__PURE__ */ a(o, { variant: "body2", children: [
|
|
111
|
-
r,
|
|
112
|
-
l ? ` <${l}>` : ""
|
|
113
|
-
] })
|
|
114
|
-
] }),
|
|
115
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:items-center ttw:gap-4", children: [
|
|
116
|
-
/* @__PURE__ */ e(o, { variant: "body2", color: "muted", className: "ttw:w-16 ttw:shrink-0", children: t._("Subject") }),
|
|
117
|
-
/* @__PURE__ */ e(Z, { className: "ttw:flex-1", value: u, onChange: (i) => {
|
|
118
|
-
I(i.target.value), A(!0);
|
|
119
|
-
}, disabled: c })
|
|
120
|
-
] }),
|
|
121
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:items-start ttw:gap-4", children: [
|
|
122
|
-
/* @__PURE__ */ e(o, { variant: "body2", color: "muted", className: "ttw:w-16 ttw:shrink-0 ttw:pt-2", children: t._("Message") }),
|
|
123
|
-
/* @__PURE__ */ e(tt, { className: "ttw:flex-1", value: f, onChange: (i) => F(i.target.value), placeholder: t._("e.g., Thank you for your business"), disabled: c })
|
|
124
|
-
] }),
|
|
125
|
-
_.length > 0 && /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pl-20", children: [
|
|
126
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
127
|
-
/* @__PURE__ */ e(o, { variant: "body2", color: "muted", children: t._("Attachments") }),
|
|
128
|
-
/* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: t._("To change what files are attached to the email, you will need to update the invoice.") })
|
|
129
|
-
] }),
|
|
130
|
-
/* @__PURE__ */ e("ul", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: _.map((i) => /* @__PURE__ */ a("li", { className: "ttw:rounded-lg ttw:bg-muted ttw:px-2 ttw:py-1 ttw:text-sm ttw:font-medium", children: [
|
|
131
|
-
i.name,
|
|
132
|
-
" ",
|
|
133
|
-
/* @__PURE__ */ a("span", { className: "ttw:text-muted-foreground", children: [
|
|
134
|
-
"(",
|
|
135
|
-
et(i.size),
|
|
136
|
-
")"
|
|
137
|
-
] })
|
|
138
|
-
] }, i.id)) })
|
|
139
|
-
] })
|
|
140
|
-
] }),
|
|
141
|
-
/* @__PURE__ */ a(X, { className: "ttw:flex ttw:flex-row ttw:gap-4 ttw:border-t ttw:border-border ttw:p-6", children: [
|
|
142
|
-
/* @__PURE__ */ e(C, { type: "button", variant: "outline", className: "ttw:flex-1 ttw:border-border", disabled: c, onClick: T, children: m ? t._("Cancel") : t._("Skip") }),
|
|
143
|
-
/* @__PURE__ */ e(C, { type: "button", variant: "default", className: "ttw:flex-1", disabled: c || !u.trim() || !f.trim(), onClick: R, children: t._("Send invoice") })
|
|
144
|
-
] })
|
|
145
|
-
] });
|
|
146
98
|
};
|
|
147
99
|
export {
|
|
148
|
-
|
|
100
|
+
d as APPROVAL_CALL_TYPES,
|
|
101
|
+
y as calculateIntegralStatus,
|
|
102
|
+
E as createBaseApprovalStep,
|
|
103
|
+
B as createChainApprovalStep,
|
|
104
|
+
o as extractApprovalCalls,
|
|
105
|
+
_ as extractApprovalCallsForTable,
|
|
106
|
+
I as extractItemsFromScriptStep,
|
|
107
|
+
j as extractStructureItemsFromScriptStep,
|
|
108
|
+
f as filterRequestsByUsers,
|
|
109
|
+
q as findRoleApprovalCall,
|
|
110
|
+
m as findUserApprovalCall,
|
|
111
|
+
b as getApprovalRuleLabel,
|
|
112
|
+
v as mapApprovalStatusToPayableStatus,
|
|
113
|
+
h as processApprovalStructure,
|
|
114
|
+
C as processChainApprovalCalls,
|
|
115
|
+
L as resolveStepForCall
|
|
149
116
|
};
|
|
@@ -1,111 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { Typography as c } from "./index85.js";
|
|
17
|
-
const st = ({
|
|
18
|
-
inlineLineItems: u,
|
|
19
|
-
title: _,
|
|
20
|
-
onClose: w
|
|
21
|
-
}) => {
|
|
22
|
-
const {
|
|
23
|
-
i18n: a
|
|
24
|
-
} = F(), {
|
|
25
|
-
api: f,
|
|
26
|
-
queryClient: k
|
|
27
|
-
} = q(), {
|
|
28
|
-
formatCurrencyToDisplay: N
|
|
29
|
-
} = A(), {
|
|
30
|
-
data: C
|
|
31
|
-
} = L(), {
|
|
32
|
-
mutateAsync: S
|
|
33
|
-
} = f.finops.postProducts.useMutation(), s = I(() => u.map((t, e) => ({
|
|
34
|
-
key: t.id ?? String(e),
|
|
35
|
-
lineItem: t
|
|
36
|
-
})), [u]), [n, d] = b(() => new Set(s.map((t) => t.key))), [l, h] = b(!1), D = s.length > 0 && n.size === s.length, m = n.size > 0, y = () => d(new Set(s.map((t) => t.key))), v = () => d(/* @__PURE__ */ new Set()), P = (t) => d((e) => {
|
|
37
|
-
const o = new Set(e);
|
|
38
|
-
return o.has(t) ? o.delete(t) : o.add(t), o;
|
|
39
|
-
}), M = (t) => {
|
|
40
|
-
const e = N(t.product.price.value, t.product.price.currency) ?? "", o = t.product.measure_unit_id ? C?.data?.find(($) => $.id === t.product.measure_unit_id)?.name : void 0;
|
|
41
|
-
return o ? `${e} ${o}` : e;
|
|
42
|
-
}, j = async () => {
|
|
43
|
-
const t = s.filter((e) => n.has(e.key));
|
|
44
|
-
if (t.length) {
|
|
45
|
-
h(!0);
|
|
46
|
-
try {
|
|
47
|
-
await Promise.all(t.map(({
|
|
48
|
-
lineItem: e
|
|
49
|
-
}) => S({
|
|
50
|
-
body: {
|
|
51
|
-
name: e.product.name,
|
|
52
|
-
type: "product",
|
|
53
|
-
price: {
|
|
54
|
-
value: e.product.price.value,
|
|
55
|
-
currency: e.product.price?.currency ?? "USD"
|
|
56
|
-
},
|
|
57
|
-
...e.product.measure_unit_id ? {
|
|
58
|
-
measure_unit_id: e.product.measure_unit_id
|
|
59
|
-
} : {},
|
|
60
|
-
...e.product.description ? {
|
|
61
|
-
description: e.product.description
|
|
62
|
-
} : {}
|
|
63
|
-
}
|
|
64
|
-
}))), await f.finops.getProducts.invalidateQueries(k), g.success(a._("Products and services saved.")), w();
|
|
65
|
-
} catch {
|
|
66
|
-
g.error(a._("Failed to save products and services."));
|
|
67
|
-
} finally {
|
|
68
|
-
h(!1);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
return /* @__PURE__ */ i(z, { children: [
|
|
73
|
-
/* @__PURE__ */ r(U, { className: "ttw:border-b ttw:border-border ttw:p-6", children: /* @__PURE__ */ i(B, { className: "ttw:flex ttw:flex-row ttw:items-center ttw:gap-4", children: [
|
|
74
|
-
/* @__PURE__ */ r("span", { className: "ttw:flex ttw:size-10 ttw:items-center ttw:justify-center ttw:rounded-full ttw:border ttw:border-emerald-200 ttw:bg-emerald-50", children: /* @__PURE__ */ r(T, { className: "ttw:size-6 ttw:text-green-700" }) }),
|
|
75
|
-
_
|
|
76
|
-
] }) }),
|
|
77
|
-
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:p-6", children: [
|
|
78
|
-
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-start ttw:justify-between ttw:gap-1.5", children: [
|
|
79
|
-
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
80
|
-
/* @__PURE__ */ r(c, { variant: "h4", children: a._("Do you want to also save these items?") }),
|
|
81
|
-
/* @__PURE__ */ r(c, { variant: "caption", color: "muted", children: a._("Saved items can be quickly added to future invoices.") })
|
|
82
|
-
] }),
|
|
83
|
-
/* @__PURE__ */ r(p, { type: "button", variant: "ghost", className: "ttw:text-primary ttw:hover:text-primary", disabled: l, onClick: m ? v : y, children: m ? a._("Deselect all") : a._("Select all") })
|
|
84
|
-
] }),
|
|
85
|
-
/* @__PURE__ */ i("ul", { className: "ttw:flex ttw:flex-col ttw:gap-3", children: [
|
|
86
|
-
/* @__PURE__ */ i("li", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
87
|
-
/* @__PURE__ */ r(x, { checked: D, onCheckedChange: (t) => t ? y() : v(), disabled: l || s.length === 0, "aria-label": a._("Products and services") }),
|
|
88
|
-
/* @__PURE__ */ r(c, { variant: "body2", className: "ttw:font-semibold", children: a._("Products and services") })
|
|
89
|
-
] }),
|
|
90
|
-
/* @__PURE__ */ r("li", { children: /* @__PURE__ */ r(H, {}) }),
|
|
91
|
-
s.map(({
|
|
92
|
-
key: t,
|
|
93
|
-
lineItem: e
|
|
94
|
-
}) => /* @__PURE__ */ i("li", { className: "ttw:flex ttw:items-start ttw:gap-2", children: [
|
|
95
|
-
/* @__PURE__ */ r(x, { checked: n.has(t), onCheckedChange: () => P(t), disabled: l, "aria-label": e.product.name }),
|
|
96
|
-
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
97
|
-
/* @__PURE__ */ r(c, { variant: "caption", children: e.product.name }),
|
|
98
|
-
/* @__PURE__ */ r(c, { variant: "caption", color: "muted", children: M(e) })
|
|
99
|
-
] })
|
|
100
|
-
] }, t))
|
|
101
|
-
] })
|
|
102
|
-
] }),
|
|
103
|
-
/* @__PURE__ */ i(G, { className: "ttw:flex ttw:flex-row ttw:gap-4 ttw:border-t ttw:border-border ttw:p-6", children: [
|
|
104
|
-
/* @__PURE__ */ r(p, { type: "button", variant: "outline", className: "ttw:flex-1 ttw:border-border", disabled: l, onClick: w, children: a._("Skip") }),
|
|
105
|
-
/* @__PURE__ */ r(p, { type: "button", variant: "default", className: "ttw:flex-1", disabled: !m || l, onClick: j, children: a._("Save selected items") })
|
|
106
|
-
] })
|
|
107
|
-
] });
|
|
1
|
+
import _ from "@mui/icons-material/Cancel";
|
|
2
|
+
import t from "@mui/icons-material/HourglassEmpty";
|
|
3
|
+
import a from "@mui/icons-material/PaidOutlined";
|
|
4
|
+
const i = "search", s = "created_at", A = "created_by", E = {
|
|
5
|
+
active: "success",
|
|
6
|
+
deleted: "error",
|
|
7
|
+
pending: "warning"
|
|
8
|
+
}, n = (e) => ({
|
|
9
|
+
active: e._("Active"),
|
|
10
|
+
deleted: e._("Deleted"),
|
|
11
|
+
pending: e._("Pending")
|
|
12
|
+
}), o = {
|
|
13
|
+
active: a,
|
|
14
|
+
deleted: _,
|
|
15
|
+
pending: t
|
|
108
16
|
};
|
|
109
17
|
export {
|
|
110
|
-
|
|
18
|
+
o as APPROVAL_STATUS_TO_MUI_ICON_MAP,
|
|
19
|
+
s as FILTER_TYPE_CREATED_AT,
|
|
20
|
+
A as FILTER_TYPE_CREATED_BY,
|
|
21
|
+
i as FILTER_TYPE_SEARCH,
|
|
22
|
+
E as ROW_TO_STATUS_MUI_MAP,
|
|
23
|
+
n as getRowToStatusTextMap
|
|
111
24
|
};
|
|
@@ -1,148 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import { twMerge as c } from "tailwind-merge";
|
|
11
|
-
import { CounterpartBankSection as z } from "./index187.js";
|
|
12
|
-
import { Checkbox as I } from "./index304.js";
|
|
13
|
-
import { CounterpartAddressSection as L } from "./index189.js";
|
|
14
|
-
const $ = ({
|
|
15
|
-
handleChangeCounterpartType: N,
|
|
16
|
-
counterpartType: d,
|
|
17
|
-
isLoading: l,
|
|
18
|
-
customerType: g,
|
|
19
|
-
isEditMode: o
|
|
1
|
+
import { jsx as i, jsxs as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useApprovalPolicyTrigger as l } from "./index389.js";
|
|
3
|
+
import { ColumnList as s } from "./index390.js";
|
|
4
|
+
import { UBuilding as n } from "./index391.js";
|
|
5
|
+
import { ULabel as c } from "./index392.js";
|
|
6
|
+
import { UMoneyBill as m } from "./index393.js";
|
|
7
|
+
import { UUserCircle as p } from "./index394.js";
|
|
8
|
+
const U = ({
|
|
9
|
+
approvalPolicy: o
|
|
20
10
|
}) => {
|
|
21
11
|
const {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
/* @__PURE__ */
|
|
41
|
-
/* @__PURE__ */
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
] })
|
|
54
|
-
] })
|
|
55
|
-
] }),
|
|
56
|
-
d === "individual" ? /* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
57
|
-
/* @__PURE__ */ e(u, { name: "firstName", control: w, render: ({
|
|
58
|
-
field: t,
|
|
59
|
-
fieldState: {
|
|
60
|
-
error: i
|
|
61
|
-
}
|
|
62
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
63
|
-
/* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("First name") }),
|
|
64
|
-
/* @__PURE__ */ e(b, { className: o ? "ttw:bg-white" : "", id: t.name, ...t, disabled: l, "aria-invalid": !!i || void 0 }),
|
|
65
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
66
|
-
] }) }) }),
|
|
67
|
-
/* @__PURE__ */ e(u, { name: "lastName", control: w, render: ({
|
|
68
|
-
field: t,
|
|
69
|
-
fieldState: {
|
|
70
|
-
error: i
|
|
71
|
-
}
|
|
72
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
73
|
-
/* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("Last name") }),
|
|
74
|
-
/* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
|
|
75
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
76
|
-
] }) }) })
|
|
77
|
-
] }) : /* @__PURE__ */ e(u, { name: "companyName", control: w, render: ({
|
|
78
|
-
field: t,
|
|
79
|
-
fieldState: {
|
|
80
|
-
error: i
|
|
81
|
-
}
|
|
82
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
83
|
-
/* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("Business name") }),
|
|
84
|
-
/* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
|
|
85
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
86
|
-
] }) }) }),
|
|
87
|
-
/* @__PURE__ */ a("div", { className: c("ttw:flex ttw:gap-4", s ? "ttw:flex-row" : "ttw:flex-col"), children: [
|
|
88
|
-
/* @__PURE__ */ e(u, { name: "email", control: w, render: ({
|
|
89
|
-
field: t,
|
|
90
|
-
fieldState: {
|
|
91
|
-
error: i
|
|
92
|
-
}
|
|
93
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
94
|
-
/* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("Email") }),
|
|
95
|
-
/* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
|
|
96
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
97
|
-
] }) }) }),
|
|
98
|
-
!s && /* @__PURE__ */ e(u, { name: "remindersEnabled", control: w, render: ({
|
|
99
|
-
field: t
|
|
100
|
-
}) => /* @__PURE__ */ e(h, { orientation: "horizontal", children: /* @__PURE__ */ a(p, { className: "ttw:flex-row", children: [
|
|
101
|
-
/* @__PURE__ */ e(I, { id: t.name, ref: t.ref, checked: t.value, onCheckedChange: t.onChange, onBlur: t.onBlur, disabled: l }),
|
|
102
|
-
/* @__PURE__ */ e(m, { htmlFor: t.name, className: "ttw:font-normal ttw:leading-4", children: r._("Send reminders to this email when an invoice is approaching its due date") })
|
|
103
|
-
] }) }) }),
|
|
104
|
-
/* @__PURE__ */ e(u, { name: "phone", control: w, render: ({
|
|
105
|
-
field: t,
|
|
106
|
-
fieldState: {
|
|
107
|
-
error: i
|
|
108
|
-
}
|
|
109
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
110
|
-
/* @__PURE__ */ a(m, { htmlFor: t.name, className: "ttw:gap-1", children: [
|
|
111
|
-
r._("Phone"),
|
|
112
|
-
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: r._("(optional)") })
|
|
113
|
-
] }),
|
|
114
|
-
/* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
|
|
115
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
116
|
-
] }) }) })
|
|
117
|
-
] }),
|
|
118
|
-
/* @__PURE__ */ e(u, { name: "tax_id", control: w, render: ({
|
|
119
|
-
field: t,
|
|
120
|
-
fieldState: {
|
|
121
|
-
error: i
|
|
122
|
-
}
|
|
123
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
124
|
-
/* @__PURE__ */ a(m, { htmlFor: t.name, className: "ttw:gap-1", children: [
|
|
125
|
-
r._("Tax ID / {documentType}", {
|
|
126
|
-
documentType: d === "individual" ? "SSN" : "EIN"
|
|
127
|
-
}),
|
|
128
|
-
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: r._("(optional)") })
|
|
129
|
-
] }),
|
|
130
|
-
/* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", placeholder: r._("e.g., {example}", {
|
|
131
|
-
example: d === "individual" ? "034-56-78890" : "12-3456789"
|
|
132
|
-
}), disabled: l, "aria-invalid": !!i || void 0 }),
|
|
133
|
-
/* @__PURE__ */ e(_, { children: s ? r._("Required only if you'll file a 1099 IRS form for this vendor at year-end.") : r._("Required only if you'll issue a 1099 IRS form at year-end.") }),
|
|
134
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
135
|
-
] }) }) }),
|
|
136
|
-
(s || !o) && /* @__PURE__ */ e(L, { isLoading: l, customerType: g, isStandalone: !1 }),
|
|
137
|
-
s && !o && /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
138
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-6 ttw:pb-7", children: [
|
|
139
|
-
/* @__PURE__ */ e(n, { variant: "body1", className: "ttw:font-medium", children: r._("Accepted payment methods") }),
|
|
140
|
-
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: r._("How and where will the money be sent. Don't have these yet? No problem. You can save this vendor and add their payment details later - you just won't be able to send payments until you do.") })
|
|
141
|
-
] }),
|
|
142
|
-
/* @__PURE__ */ e(z, { isLoading: l, isStandalone: !1 })
|
|
143
|
-
] })
|
|
144
|
-
] });
|
|
12
|
+
triggers: a,
|
|
13
|
+
getTriggerName: e
|
|
14
|
+
} = l({
|
|
15
|
+
approvalPolicy: o
|
|
16
|
+
});
|
|
17
|
+
return o ? /* @__PURE__ */ i(s, { children: Object.keys(a).map((r) => {
|
|
18
|
+
switch (r) {
|
|
19
|
+
case "amount":
|
|
20
|
+
return /* @__PURE__ */ t("li", { children: [
|
|
21
|
+
/* @__PURE__ */ i(m, { width: 18 }),
|
|
22
|
+
e(r)
|
|
23
|
+
] }, r);
|
|
24
|
+
case "was_created_by_user_id":
|
|
25
|
+
return /* @__PURE__ */ t("li", { children: [
|
|
26
|
+
/* @__PURE__ */ i(p, { width: 18 }),
|
|
27
|
+
e(r)
|
|
28
|
+
] }, r);
|
|
29
|
+
case "counterpart_id":
|
|
30
|
+
return /* @__PURE__ */ t("li", { children: [
|
|
31
|
+
/* @__PURE__ */ i(n, { width: 18 }),
|
|
32
|
+
e(r)
|
|
33
|
+
] }, r);
|
|
34
|
+
case "tags":
|
|
35
|
+
return /* @__PURE__ */ t("li", { children: [
|
|
36
|
+
/* @__PURE__ */ i(c, { width: 18 }),
|
|
37
|
+
e(r)
|
|
38
|
+
] }, r);
|
|
39
|
+
default:
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
}) }) : null;
|
|
145
43
|
};
|
|
146
44
|
export {
|
|
147
|
-
|
|
45
|
+
U as ApprovalPoliciesTriggers
|
|
148
46
|
};
|