@tesouro/embedded-components-react 0.2.55 → 0.2.58
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 +26 -26
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index2.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index2.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index3.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/ExpenseApprovalPoliciesWidgetFeature.js +34 -34
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/feature/dist/lib/ReceiptMatchWidget.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/feature/dist/lib/useReceiptMatch.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/expense-requirements-widget/feature/dist/lib/ExpenseRequirementsWidget.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/expense-upload-receipt-widget/feature/dist/lib/UploadReceiptWidget.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index2.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index4.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.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 +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/index112.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +13 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +7 -6
- 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 +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +32 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +35 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +23 -1269
- 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 +1270 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +58 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +398 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +69 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +407 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +57 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +24 -30
- 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 +96 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +101 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +76 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +12 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +9 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +37 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +72 -45
- 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 +55 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +196 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +12 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +36 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +23 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +79 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +9 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +80 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +28 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +61 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +41 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +5 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +111 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +69 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +184 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +24 -190
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +124 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +55 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +20 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +20 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +13 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +10 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +20 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +4 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +5 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +86 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +6 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +43 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +48 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +391 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +18 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +14 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +15 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +91 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +97 -6
- 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 +24 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +9 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +17 -391
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +18 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +9 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +20 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +20 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +27 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +112 -22
- 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 +67 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +33 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +15 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +29 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +23 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +12 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +5 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +121 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +11 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +46 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +45 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +44 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +151 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +54 -396
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +68 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +29 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +3 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +7 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +35 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +100 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +4 -5
- 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 +7 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +32 -141
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +47 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +25 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +5 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +74 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +32 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +20 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +26 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +51 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +33 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +54 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +344 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +8 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +15 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +18 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +37 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +37 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +14 -249
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +17 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +249 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +182 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +19 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +22 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +34 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +57 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +45 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +29 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +95 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +42 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +142 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +86 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +21 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +183 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +24 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +39 -341
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +13 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +71 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +38 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +56 -261
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +30 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +113 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +21 -490
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +36 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +57 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +75 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +43 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +71 -190
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +63 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +154 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +28 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +26 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +76 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +61 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +43 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +186 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +107 -21
- 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 +80 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +285 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +49 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +15 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +84 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +222 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +36 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +341 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +301 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +99 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +159 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +262 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +23 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +18 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +149 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +47 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +50 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +110 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +41 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +12 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +20 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +18 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +17 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +171 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +130 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +153 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +10 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +17 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +60 -287
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +65 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +60 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +6 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +8 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +57 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +61 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +14 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +489 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +162 -165
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +60 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +2 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +94 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +97 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +189 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +20 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +18 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +28 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +37 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +59 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +94 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +108 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +88 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +34 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +10 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +19 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +22 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +57 -19
- 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 +27 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +58 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +16 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +24 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +50 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +11 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +11 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +45 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +31 -26
- 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 +29 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +8 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +104 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +57 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +33 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +43 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +25 -16
- 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 +74 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +95 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +23 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +32 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +9 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +10 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +255 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +71 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +66 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +37 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +65 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +32 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +85 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +23 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +102 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +111 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +95 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +28 -17
- 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 +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +11 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +64 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +28 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +19 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +38 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +5 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +123 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +16 -67
- 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 +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +71 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +16 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +20 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +15 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +20 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +9 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +21 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +9 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +18 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +54 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +35 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +24 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +7 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +52 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +18 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +22 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +26 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +36 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +66 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +45 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +31 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +4 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +127 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +29 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +66 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +55 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +40 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +14 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +30 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +30 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +16 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +58 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +29 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +52 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +39 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +36 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +13 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +96 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +16 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +75 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +22 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +9 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +55 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +69 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +21 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +29 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +39 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +81 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +14 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +49 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +38 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +46 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +73 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +83 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +55 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +52 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +51 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +48 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +40 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.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/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +33 -33
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +1498 -1484
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js +79 -74
- package/dist/packages/shared-ui-shadcn/dist/index.js +2 -0
- package/package.json +1 -1
|
@@ -1,14 +1,24 @@
|
|
|
1
|
+
import { toast as i } from "react-hot-toast";
|
|
1
2
|
import { useMoniteContext as s } from "./index58.js";
|
|
2
|
-
|
|
3
|
+
import { useLingui as r } from "@lingui/react";
|
|
4
|
+
const d = (a) => {
|
|
3
5
|
const {
|
|
4
|
-
api:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
6
|
+
api: t,
|
|
7
|
+
queryClient: e
|
|
8
|
+
} = s(), {
|
|
9
|
+
i18n: n
|
|
10
|
+
} = r();
|
|
11
|
+
return t.finops.patchBankDetailsId.useMutation(void 0, {
|
|
12
|
+
onSuccess: async (o) => {
|
|
13
|
+
i.success(n._('Bank Account "{name}" has been updated.', {
|
|
14
|
+
name: o.display_name
|
|
15
|
+
})), await t.finops.getBankDetailsId.invalidateQueries(e), await t.finops.getBankDetails.invalidateQueries(e), a && a();
|
|
16
|
+
},
|
|
17
|
+
onError: () => {
|
|
18
|
+
i.error(n._("Failed to update Bank Account."));
|
|
19
|
+
}
|
|
10
20
|
});
|
|
11
21
|
};
|
|
12
22
|
export {
|
|
13
|
-
|
|
23
|
+
d as useUpdateEntityBankAccount
|
|
14
24
|
};
|
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
counterpart_id: t,
|
|
6
|
-
counterpart_type: n
|
|
7
|
-
}) => {
|
|
1
|
+
import { toast as o } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as s } from "./index58.js";
|
|
3
|
+
import { useLingui as a } from "@lingui/react";
|
|
4
|
+
const d = (e) => {
|
|
8
5
|
const {
|
|
9
|
-
|
|
10
|
-
} =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
i18n: t
|
|
7
|
+
} = a(), {
|
|
8
|
+
api: n,
|
|
9
|
+
queryClient: i
|
|
10
|
+
} = s();
|
|
11
|
+
return n.finops.deleteBankDetailsId.useMutation(void 0, {
|
|
12
|
+
onSuccess: async () => {
|
|
13
|
+
await n.finops.getBankDetails.invalidateQueries(i), e && e(), o.success(t._("Bank Account has been deleted."));
|
|
14
|
+
},
|
|
15
|
+
onError: () => {
|
|
16
|
+
o.error(t._("Failed to delete Bank Account."));
|
|
17
17
|
}
|
|
18
|
-
}, {
|
|
19
|
-
enabled: !!e && !!t
|
|
20
18
|
});
|
|
21
19
|
};
|
|
22
20
|
export {
|
|
23
|
-
|
|
21
|
+
d as useDeleteEntityBankAccount
|
|
24
22
|
};
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { useMoniteContext as n } from "./index58.js";
|
|
2
|
+
const o = (t) => {
|
|
3
|
+
const {
|
|
4
|
+
api: e
|
|
5
|
+
} = n();
|
|
6
|
+
return e.finops.getBankDetailsId.useQuery({
|
|
7
|
+
path: {
|
|
8
|
+
bank_account_id: t
|
|
9
|
+
}
|
|
10
|
+
}, {
|
|
11
|
+
enabled: !!t
|
|
12
|
+
});
|
|
13
|
+
};
|
|
3
14
|
export {
|
|
4
|
-
|
|
5
|
-
s as rateMinorToMajor
|
|
15
|
+
o as useGetEntityBankAccountById
|
|
6
16
|
};
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
const m = (
|
|
1
|
+
import { jsx as a } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { ConfirmationModal as l } from "./index236.js";
|
|
3
|
+
import { useLingui as r } from "@lingui/react";
|
|
4
|
+
const m = ({
|
|
5
|
+
open: o,
|
|
6
|
+
isDeleting: n,
|
|
7
|
+
onClose: i,
|
|
8
|
+
handleDelete: t
|
|
9
|
+
}) => {
|
|
10
|
+
const {
|
|
11
|
+
i18n: e
|
|
12
|
+
} = r();
|
|
13
|
+
return /* @__PURE__ */ a(l, { open: o, title: e._("Delete bank account?"), message: e._("Draft or already issued invoices will keep this bank account. If required, you will need to manually update those invoices with new account information."), confirmLabel: e._("Delete"), cancelLabel: e._("Cancel"), onClose: i, onConfirm: t, isLoading: n });
|
|
14
|
+
};
|
|
5
15
|
export {
|
|
6
|
-
m as
|
|
16
|
+
m as BankAccountDeleteModal
|
|
7
17
|
};
|
|
@@ -1,90 +1,95 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
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
|
-
|
|
1
|
+
import { jsxs as t, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { prepareBankAccountUpdatePayload as y, prepareBankAccountCreatePayload as v } from "./index322.js";
|
|
3
|
+
import "date-fns";
|
|
4
|
+
import { getEntityBankAccountValidationSchema as F } from "./index166.js";
|
|
5
|
+
import { safeZodResolver as g } from "./index239.js";
|
|
6
|
+
import { useLingui as A } from "@lingui/react";
|
|
7
|
+
import { useForm as w, Controller as l } from "react-hook-form";
|
|
8
|
+
import { Field as d, FieldContent as m, FieldLabel as c, FieldError as s } from "./index220.js";
|
|
9
|
+
import { Input as u } from "./index119.js";
|
|
10
|
+
import { Typography as x } from "./index86.js";
|
|
11
|
+
const R = ({
|
|
12
|
+
bankAccounts: h,
|
|
13
|
+
bankAccount: n,
|
|
14
|
+
formId: f,
|
|
15
|
+
createBankAccount: p,
|
|
16
|
+
updateBankAccount: _
|
|
17
|
+
}) => {
|
|
18
|
+
const {
|
|
19
|
+
i18n: o
|
|
20
|
+
} = A(), b = {
|
|
21
|
+
display_name: n?.display_name ?? o._("Bank account {number}", {
|
|
22
|
+
number: h?.length + 1
|
|
23
|
+
}),
|
|
24
|
+
bank_name: n?.bank_name ?? "",
|
|
25
|
+
account_holder_name: n?.account_holder_name ?? "",
|
|
26
|
+
account_number: n?.account_number ?? "",
|
|
27
|
+
routing_number: n?.routing_number ?? ""
|
|
28
|
+
}, {
|
|
29
|
+
control: i,
|
|
30
|
+
handleSubmit: k
|
|
31
|
+
} = w({
|
|
32
|
+
resolver: g(F(o, !!n)),
|
|
33
|
+
defaultValues: b
|
|
34
|
+
});
|
|
35
|
+
return /* @__PURE__ */ t("form", { id: f, onSubmit: k((a) => {
|
|
36
|
+
n ? _(y(a)) : p(v(a));
|
|
37
|
+
}), noValidate: !0, className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
38
|
+
/* @__PURE__ */ e(x, { variant: "body1", children: o._("This bank account will receive payments for your invoices") }),
|
|
39
|
+
/* @__PURE__ */ t("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
40
|
+
/* @__PURE__ */ e(l, { name: "display_name", control: i, render: ({
|
|
41
|
+
field: a,
|
|
42
|
+
fieldState: {
|
|
43
|
+
error: r
|
|
44
|
+
}
|
|
45
|
+
}) => /* @__PURE__ */ e(d, { className: "ttw:flex-1", children: /* @__PURE__ */ t(m, { children: [
|
|
46
|
+
/* @__PURE__ */ e(c, { htmlFor: "display_name", children: o._("Display name") }),
|
|
47
|
+
/* @__PURE__ */ e(u, { ...a, id: "display_name", "aria-invalid": !!r }),
|
|
48
|
+
/* @__PURE__ */ e(s, { errors: r ? [r] : [] })
|
|
49
|
+
] }) }) }),
|
|
50
|
+
/* @__PURE__ */ e(l, { name: "bank_name", control: i, disabled: !!n, render: ({
|
|
51
|
+
field: a,
|
|
52
|
+
fieldState: {
|
|
53
|
+
error: r
|
|
54
|
+
}
|
|
55
|
+
}) => /* @__PURE__ */ e(d, { className: "ttw:flex-1", children: /* @__PURE__ */ t(m, { children: [
|
|
56
|
+
/* @__PURE__ */ e(c, { htmlFor: "bank_name", children: o._("Bank name") }),
|
|
57
|
+
/* @__PURE__ */ e(u, { ...a, id: "bank_name", "aria-invalid": !!r }),
|
|
58
|
+
/* @__PURE__ */ e(s, { errors: r ? [r] : [] })
|
|
59
|
+
] }) }) })
|
|
60
|
+
] }),
|
|
61
|
+
/* @__PURE__ */ e(l, { name: "account_number", control: i, disabled: !!n, render: ({
|
|
62
|
+
field: a,
|
|
63
|
+
fieldState: {
|
|
64
|
+
error: r
|
|
52
65
|
}
|
|
53
|
-
)
|
|
66
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ t(m, { children: [
|
|
67
|
+
/* @__PURE__ */ e(c, { htmlFor: a.name, children: o._("Account number") }),
|
|
68
|
+
/* @__PURE__ */ e(u, { ...a, id: a.name, "aria-invalid": !!r }),
|
|
69
|
+
/* @__PURE__ */ e(s, { errors: r ? [r] : [] })
|
|
70
|
+
] }) }) }),
|
|
71
|
+
/* @__PURE__ */ e(l, { name: "routing_number", control: i, disabled: !!n, render: ({
|
|
72
|
+
field: a,
|
|
73
|
+
fieldState: {
|
|
74
|
+
error: r
|
|
75
|
+
}
|
|
76
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ t(m, { children: [
|
|
77
|
+
/* @__PURE__ */ e(c, { htmlFor: a.name, children: o._("Routing number") }),
|
|
78
|
+
/* @__PURE__ */ e(u, { ...a, id: a.name, "aria-invalid": !!r }),
|
|
79
|
+
/* @__PURE__ */ e(s, { errors: r ? [r] : [] })
|
|
80
|
+
] }) }) }),
|
|
81
|
+
/* @__PURE__ */ e(l, { name: "account_holder_name", control: i, render: ({
|
|
82
|
+
field: a,
|
|
83
|
+
fieldState: {
|
|
84
|
+
error: r
|
|
85
|
+
}
|
|
86
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ t(m, { children: [
|
|
87
|
+
/* @__PURE__ */ e(c, { htmlFor: a.name, children: o._("Account holder name") }),
|
|
88
|
+
/* @__PURE__ */ e(u, { ...a, id: a.name, "aria-invalid": !!r }),
|
|
89
|
+
/* @__PURE__ */ e(s, { errors: r ? [r] : [] })
|
|
90
|
+
] }) }) })
|
|
54
91
|
] });
|
|
55
|
-
}
|
|
56
|
-
function b({
|
|
57
|
-
className: t,
|
|
58
|
-
...a
|
|
59
|
-
}) {
|
|
60
|
-
return /* @__PURE__ */ e("div", { "data-slot": "dialog-header", className: s("ttw:flex ttw:flex-col ttw:gap-2 ttw:text-center ttw:sm:text-left", t), ...a });
|
|
61
|
-
}
|
|
62
|
-
function h({
|
|
63
|
-
className: t,
|
|
64
|
-
...a
|
|
65
|
-
}) {
|
|
66
|
-
return /* @__PURE__ */ e("div", { "data-slot": "dialog-footer", className: s("ttw:flex ttw:flex-col-reverse ttw:gap-2 ttw:sm:flex-row ttw:sm:justify-end", t), ...a });
|
|
67
|
-
}
|
|
68
|
-
function y({
|
|
69
|
-
className: t,
|
|
70
|
-
...a
|
|
71
|
-
}) {
|
|
72
|
-
return /* @__PURE__ */ e(o.Title, { "data-slot": "dialog-title", className: s("ttw:text-lg ttw:leading-none ttw:font-semibold", t), ...a });
|
|
73
|
-
}
|
|
74
|
-
function D({
|
|
75
|
-
className: t,
|
|
76
|
-
...a
|
|
77
|
-
}) {
|
|
78
|
-
return /* @__PURE__ */ e(o.Description, { "data-slot": "dialog-description", className: s("ttw:text-muted-foreground ttw:text-sm", t), ...a });
|
|
79
|
-
}
|
|
92
|
+
};
|
|
80
93
|
export {
|
|
81
|
-
|
|
82
|
-
v as DialogClose,
|
|
83
|
-
N as DialogContent,
|
|
84
|
-
D as DialogDescription,
|
|
85
|
-
h as DialogFooter,
|
|
86
|
-
b as DialogHeader,
|
|
87
|
-
g as DialogOverlay,
|
|
88
|
-
u as DialogPortal,
|
|
89
|
-
y as DialogTitle
|
|
94
|
+
R as BankAccountFormContent
|
|
90
95
|
};
|
|
@@ -1,10 +1,101 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsx as t, jsxs as r } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as f } from "react";
|
|
3
|
+
import { toast as n } from "react-hot-toast";
|
|
4
|
+
import "./index58.js";
|
|
5
|
+
import { useLingui as _ } from "@lingui/react";
|
|
6
|
+
import "./index93.js";
|
|
7
|
+
import { useFileInput as z } from "./index62.js";
|
|
8
|
+
import "react-dom";
|
|
9
|
+
import "@mui/x-data-grid";
|
|
10
|
+
import { Button as s } from "./index85.js";
|
|
11
|
+
import { Popover as D, PopoverTrigger as P, PopoverContent as k } from "./index383.js";
|
|
12
|
+
import { cn as F } from "./index101.js";
|
|
13
|
+
import { ChevronUpIcon as I, ChevronDownIcon as U, CloudUpload as j, Copy as A, Plus as E } from "lucide-react";
|
|
14
|
+
const K = ({
|
|
15
|
+
isCreateAllowed: u,
|
|
16
|
+
onCreateInvoice: h,
|
|
17
|
+
handleFileUpload: w
|
|
18
|
+
}) => {
|
|
3
19
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
|
|
20
|
+
i18n: e
|
|
21
|
+
} = _(), [c, a] = f(!1), {
|
|
22
|
+
FileInput: x,
|
|
23
|
+
openFileInput: b,
|
|
24
|
+
checkFileError: y
|
|
25
|
+
} = z(), [g, i] = f(!1), v = (l) => {
|
|
26
|
+
l.preventDefault(), i(!0);
|
|
27
|
+
}, N = (l) => {
|
|
28
|
+
l.preventDefault(), i(!1);
|
|
29
|
+
}, d = 10, C = (l) => {
|
|
30
|
+
l.preventDefault(), i(!1);
|
|
31
|
+
const o = Array.from(l.dataTransfer.files);
|
|
32
|
+
if (o.length > d) {
|
|
33
|
+
n.error(e._("You can only upload up to {fileCount} files at a time", {
|
|
34
|
+
fileCount: d
|
|
35
|
+
})), a(!1);
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
o.forEach((m) => {
|
|
39
|
+
const p = y(m);
|
|
40
|
+
if (p) {
|
|
41
|
+
n.error(p);
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
w(m);
|
|
45
|
+
}), a(!1);
|
|
46
|
+
};
|
|
47
|
+
return /* @__PURE__ */ t("div", { className: "Monite-Payables", children: /* @__PURE__ */ r(D, { open: c, onOpenChange: a, children: [
|
|
48
|
+
/* @__PURE__ */ t(P, { asChild: !0, children: /* @__PURE__ */ r(s, { size: "lg", disabled: !u, children: [
|
|
49
|
+
e._("Add new bill"),
|
|
50
|
+
c ? /* @__PURE__ */ t(I, {}) : /* @__PURE__ */ t(U, {})
|
|
51
|
+
] }) }),
|
|
52
|
+
/* @__PURE__ */ r(k, { align: "end", className: "ttw:w-auto ttw:min-w-110 ttw:border-none ttw:p-6", children: [
|
|
53
|
+
/* @__PURE__ */ r("div", { className: "ttw:w-110 ttw:flex ttw:flex-col ttw:gap-4", onClick: (l) => {
|
|
54
|
+
l.preventDefault(), l.stopPropagation();
|
|
55
|
+
}, children: [
|
|
56
|
+
/* @__PURE__ */ r("div", { children: [
|
|
57
|
+
/* @__PURE__ */ t("h3", { className: "ttw:text-xl ttw:font-semibold ttw:text-zinc-950", children: e._("Upload bills") }),
|
|
58
|
+
/* @__PURE__ */ t("p", { className: "ttw:text-sm ttw:font-normal ttw:text-zinc-500", children: e._("Upload your bills and we'll automatically pull the details so you can review and approve.") })
|
|
59
|
+
] }),
|
|
60
|
+
/* @__PURE__ */ t("div", { className: F("ttw:box-border ttw:cursor-pointer ttw:w-full ttw:h-36.5 ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:text-center ttw:border ttw:rounded-lg ttw:border-dashed ttw:border-zinc-200 ttw:bg-zinc-50", g && "ttw:bg-transparent"), onDragOver: v, onDragLeave: N, onDrop: C, onClick: b, children: /* @__PURE__ */ r("div", { className: "ttw:mx-auto ttw:flex ttw:flex-col ttw:items-center ttw:gap-2", children: [
|
|
61
|
+
/* @__PURE__ */ t("div", { className: "ttw:w-11 ttw:h-11 ttw:rounded-full ttw:bg-primary ttw:flex ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(j, { className: "ttw:text-white ttw:size-5" }) }),
|
|
62
|
+
/* @__PURE__ */ r("p", { className: "ttw:text-sm ttw:font-medium ttw:text-zinc-950", children: [
|
|
63
|
+
e._("Drop your files here, or"),
|
|
64
|
+
" ",
|
|
65
|
+
/* @__PURE__ */ t("span", { className: "ttw:text-primary ttw:underline", children: e._("click to browse") })
|
|
66
|
+
] }),
|
|
67
|
+
/* @__PURE__ */ t("p", { className: "ttw:text-xs ttw:font-normal ttw:text-zinc-500", children: e._("PDF, PNG or JPG (max. 20MB)") })
|
|
68
|
+
] }) }),
|
|
69
|
+
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
70
|
+
/* @__PURE__ */ t("h3", { className: "ttw:text-primary ttw:text-sm ttw:font-semibold", children: e._("Send via email") }),
|
|
71
|
+
/* @__PURE__ */ t("p", { className: "ttw:text-zinc-500 ttw:font-normal ttw:text-sm", children: e._("Email your bills here and they'll appear in your bill pay inbox, ready to review and pay.") })
|
|
72
|
+
] }),
|
|
73
|
+
/* @__PURE__ */ r("div", { className: "ttw:px-3 ttw:h-14 ttw:border ttw:border-zinc-200 ttw:rounded-lg ttw:flex ttw:items-center ttw:justify-between ttw:gap-6", children: [
|
|
74
|
+
/* @__PURE__ */ t("span", { children: e._("bills@business-banking.com") }),
|
|
75
|
+
/* @__PURE__ */ r(s, { type: "button", variant: "ghost", size: "sm", className: "ttw:text-primary ttw:hover:bg-primary-foreground ttw:hover:text-primary", onClick: () => {
|
|
76
|
+
navigator.clipboard.writeText("bills@business-banking.com"), n.success(e._("Email address copied to clipboard"));
|
|
77
|
+
}, children: [
|
|
78
|
+
/* @__PURE__ */ t(A, {}),
|
|
79
|
+
e._("Copy")
|
|
80
|
+
] })
|
|
81
|
+
] }),
|
|
82
|
+
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
83
|
+
/* @__PURE__ */ t("h3", { className: "ttw:text-sm ttw:font-semibold ttw:text-primary", children: e._("Or add bill manually") }),
|
|
84
|
+
/* @__PURE__ */ r(s, { onClick: () => {
|
|
85
|
+
a(!1), h();
|
|
86
|
+
}, className: "ttw:w-fit ttw:bg-primary-foreground ttw:hover:bg-primary-foreground ttw:text-primary", children: [
|
|
87
|
+
/* @__PURE__ */ t(E, {}),
|
|
88
|
+
e._("Add new bill")
|
|
89
|
+
] })
|
|
90
|
+
] })
|
|
91
|
+
] }),
|
|
92
|
+
/* @__PURE__ */ t(x, { "aria-label": e._("Upload payable files"), multiple: !0, onChange: (l) => {
|
|
93
|
+
const o = l.target.files;
|
|
94
|
+
o && w(o), a(!1);
|
|
95
|
+
} })
|
|
96
|
+
] })
|
|
97
|
+
] }) });
|
|
7
98
|
};
|
|
8
99
|
export {
|
|
9
|
-
|
|
100
|
+
K as CreatePayableMenu
|
|
10
101
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMemo as p } from "react";
|
|
2
|
-
import { useUserPermissions as y } from "./
|
|
2
|
+
import { useUserPermissions as y } from "./index137.js";
|
|
3
3
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
4
4
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
5
5
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
@@ -1,49 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { useLingui as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
isPaymentTermsLoading: d
|
|
1
|
+
import { jsx as l } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { ConfirmationModal as s } from "./index236.js";
|
|
3
|
+
import { useLingui as d } from "@lingui/react";
|
|
4
|
+
import "./index58.js";
|
|
5
|
+
import "react-hot-toast";
|
|
6
|
+
import { useGetProductById as u } from "./index203.js";
|
|
7
|
+
import { useDeleteProduct as c } from "./index347.js";
|
|
8
|
+
const P = ({
|
|
9
|
+
id: e,
|
|
10
|
+
open: a,
|
|
11
|
+
onClose: t,
|
|
12
|
+
onDeleted: r
|
|
14
13
|
}) => {
|
|
15
14
|
const {
|
|
16
|
-
i18n:
|
|
17
|
-
} =
|
|
18
|
-
|
|
19
|
-
} =
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:items-start ttw:gap-2.5 ttw:w-full", children: [
|
|
28
|
-
/* @__PURE__ */ t(c, { paymentTerms: n, disabled: i, isLoading: d }),
|
|
29
|
-
/* @__PURE__ */ t(w, { name: "purchase_order", control: s, render: ({
|
|
30
|
-
field: a,
|
|
31
|
-
fieldState: {
|
|
32
|
-
error: o
|
|
33
|
-
}
|
|
34
|
-
}) => /* @__PURE__ */ t(f, { children: /* @__PURE__ */ e(h, { children: [
|
|
35
|
-
/* @__PURE__ */ e(u, { htmlFor: a.name, className: "ttw:text-nowrap", children: [
|
|
36
|
-
r._("PO Number"),
|
|
37
|
-
/* @__PURE__ */ t(l, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: r._("(optional)") })
|
|
38
|
-
] }),
|
|
39
|
-
/* @__PURE__ */ t(g, { ...a, id: a.name, disabled: i, "aria-invalid": !!o }),
|
|
40
|
-
/* @__PURE__ */ t(b, { errors: o ? [o] : [] })
|
|
41
|
-
] }) }) })
|
|
42
|
-
] }),
|
|
43
|
-
/* @__PURE__ */ t(y, { disabled: i })
|
|
44
|
-
] })
|
|
45
|
-
] });
|
|
15
|
+
i18n: o
|
|
16
|
+
} = d(), {
|
|
17
|
+
data: n
|
|
18
|
+
} = u(e), i = c(e, () => {
|
|
19
|
+
t(), r?.(e);
|
|
20
|
+
}), m = () => {
|
|
21
|
+
i.mutate(void 0);
|
|
22
|
+
};
|
|
23
|
+
return n ? /* @__PURE__ */ l(s, { open: a && !!e, title: o._('Delete "{name}"?', {
|
|
24
|
+
name: n.name
|
|
25
|
+
}), message: o._("It will remain in all the documents where it is added. You can't undo this action."), confirmLabel: o._("Delete"), cancelLabel: o._("Cancel"), onClose: t, onConfirm: m, isLoading: i.isPending }) : null;
|
|
46
26
|
};
|
|
47
27
|
export {
|
|
48
|
-
|
|
28
|
+
P as ProductDeleteModal
|
|
49
29
|
};
|
|
@@ -1,52 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { useLingui as
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const _ = ({
|
|
8
|
-
disabled: n
|
|
1
|
+
import { jsx as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Badge as n } from "./index244.js";
|
|
3
|
+
import { useLingui as p } from "@lingui/react";
|
|
4
|
+
import { twMerge as c } from "tailwind-merge";
|
|
5
|
+
const d = ({
|
|
6
|
+
type: e
|
|
9
7
|
}) => {
|
|
10
8
|
const {
|
|
11
9
|
i18n: t
|
|
12
|
-
} =
|
|
13
|
-
|
|
14
|
-
} = f();
|
|
15
|
-
return /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
16
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4", children: [
|
|
17
|
-
/* @__PURE__ */ e(i, { variant: "h4", children: t._("Notes") }),
|
|
18
|
-
/* @__PURE__ */ e(i, { variant: "body2", color: "muted", className: "ttw:font-medium", children: t._("Provide additional information for your customer.") })
|
|
19
|
-
] }),
|
|
20
|
-
/* @__PURE__ */ e(s, { name: "memo", control: l, render: ({
|
|
21
|
-
field: r,
|
|
22
|
-
fieldState: {
|
|
23
|
-
error: o
|
|
24
|
-
}
|
|
25
|
-
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ a(c, { children: [
|
|
26
|
-
/* @__PURE__ */ a(m, { htmlFor: r.name, className: "ttw:text-nowrap", children: [
|
|
27
|
-
t._("Opening note to the customer"),
|
|
28
|
-
/* @__PURE__ */ e(i, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: t._("(optional)") })
|
|
29
|
-
] }),
|
|
30
|
-
/* @__PURE__ */ e(u, { ...r, id: r.name, disabled: n, placeholder: t._("e.g., As discussed on our call, please find the attached invoice."), className: "ttw:h-26 ttw:resize-none", "aria-invalid": !!o }),
|
|
31
|
-
/* @__PURE__ */ e(h, { children: t._("Appears above your line items. Use it to reference a discussion, agreement, or project.") }),
|
|
32
|
-
/* @__PURE__ */ e(p, { errors: o ? [o] : [] })
|
|
33
|
-
] }) }) }),
|
|
34
|
-
/* @__PURE__ */ e(s, { name: "footer", control: l, render: ({
|
|
35
|
-
field: r,
|
|
36
|
-
fieldState: {
|
|
37
|
-
error: o
|
|
38
|
-
}
|
|
39
|
-
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ a(c, { children: [
|
|
40
|
-
/* @__PURE__ */ a(m, { htmlFor: r.name, className: "ttw:text-nowrap", children: [
|
|
41
|
-
t._("Closing note to the customer"),
|
|
42
|
-
/* @__PURE__ */ e(i, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: t._("(optional)") })
|
|
43
|
-
] }),
|
|
44
|
-
/* @__PURE__ */ e(u, { ...r, id: r.name, disabled: n, placeholder: t._("e.g., Thank you for your business!"), className: "ttw:h-26 ttw:resize-none", "aria-invalid": !!o }),
|
|
45
|
-
/* @__PURE__ */ e(h, { children: t._("Appears below your line items. Commonly used for thank you messages or payment instructions.") }),
|
|
46
|
-
/* @__PURE__ */ e(p, { errors: o ? [o] : [] })
|
|
47
|
-
] }) }) })
|
|
48
|
-
] });
|
|
10
|
+
} = p(), r = e === "product", o = r ? t._("Product") : t._("Service");
|
|
11
|
+
return /* @__PURE__ */ i(n, { variant: "secondary", className: c(r ? "ttw:bg-blue-100 ttw:text-blue-700" : "ttw:bg-pink-100 ttw:text-pink-700"), children: o });
|
|
49
12
|
};
|
|
50
13
|
export {
|
|
51
|
-
|
|
14
|
+
d as ProductType
|
|
52
15
|
};
|