@tesouro/embedded-components-react 0.2.216 → 0.2.217
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.d.ts +119 -5
- package/dist/index.js +99 -96
- package/dist/lib/ReceivablesWidget.js +23 -23
- package/dist/lib/WidgetProvider.d.ts +119 -5
- package/dist/lib/WidgetProvider.js +28 -25
- package/dist/lib/WidgetProviderPublic.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index2.js +35 -35
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index2.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index2.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index2.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/ExpenseApprovalPoliciesWidgetFeature.js +60 -60
- package/dist/libs/tesouro-embedded-components-react/expense-requirements-widget/feature/dist/lib/ExpenseRequirementsWidget.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index2.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index2.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/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 +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +2 -9
- 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 +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +79 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +33 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +31 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +12 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +26 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +11 -1268
- 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 +12 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +121 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +216 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +10 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +49 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +47 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +44 -10
- 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 +15 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +147 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +56 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +68 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +10 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +3 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +64 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +39 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +78 -148
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +5 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +97 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +52 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +9 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +35 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +4 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +2 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +23 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1270 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +31 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +13 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +43 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +74 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +56 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +24 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +77 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +28 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +42 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +7 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +226 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +468 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +110 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +539 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +23 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +25 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +10 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +20 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +19 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +2 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +11 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +20 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +22 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +24 -225
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +109 -462
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +66 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +11 -536
- 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 +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +145 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +86 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +24 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +183 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +25 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +60 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +397 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +65 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +407 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +100 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +25 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +12 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +11 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +7 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +35 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +18 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +32 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +24 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +42 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +50 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +96 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +111 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +87 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +63 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +96 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +95 -359
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +213 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +73 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +44 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +37 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +344 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +300 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +98 -9
- 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 +159 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +264 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +23 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +19 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +5 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +477 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +167 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +22 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +57 -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 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +60 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +20 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +38 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +57 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +29 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +117 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +23 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +42 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +52 -42
- 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 +36 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +80 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +30 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +66 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +359 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +2 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +117 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +6 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +18 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +12 -86
- 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 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +12 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +19 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +53 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +27 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +23 -477
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +26 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +15 -42
- 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 +27 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +16 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +109 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +12 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +19 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +22 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +37 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +52 -340
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +47 -298
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +30 -103
- 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 +93 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +43 -263
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +145 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +107 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +149 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +19 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +7 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +13 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +80 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +74 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- 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 +43 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +19 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +43 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +158 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +27 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +26 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +76 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +25 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +128 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +43 -122
- 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 +113 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +104 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +43 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +198 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +68 -203
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +31 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +4 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +19 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +38 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +24 -13
- 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 +28 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +28 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +12 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +19 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +65 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +26 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +127 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +51 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +26 -168
- 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 +5 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +73 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +32 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +21 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +16 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +17 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +169 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +132 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +156 -56
- 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 +10 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +18 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +63 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +65 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +60 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +11 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +59 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +60 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +14 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +32 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +30 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +53 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +34 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +24 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +8 -24
- 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 +48 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +46 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +16 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +65 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +16 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +20 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +15 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +21 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +45 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +37 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +13 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +66 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +21 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +115 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +80 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +7 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +9 -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 +30 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +5 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +127 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +115 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +72 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +16 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +3 -47
- 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 +11 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +6 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +31 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +43 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +69 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +92 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +9 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +10 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +5 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +20 -23
- 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 +24 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +34 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +9 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +81 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +17 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +83 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +267 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +39 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +62 -282
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +44 -49
- 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 +25 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +138 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +92 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +2 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +282 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +46 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +66 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +47 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +28 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +11 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +16 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +49 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +10 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +8 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +50 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +38 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +46 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +74 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +83 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +50 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +48 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +29 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +53 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +56 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +68 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +21 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +33 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +31 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +85 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +23 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +104 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +107 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +42 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +37 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +13 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +54 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +18 -42
- 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 +49 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +56 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +29 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +30 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +81 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +38 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +67 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +41 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +95 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +16 -24
- 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 +74 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +20 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +9 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +74 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +64 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +33 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +17 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +12 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +28 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +23 -38
- 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 +36 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +39 -47
- 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 +1 -1
- 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/settings-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +124 -112
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +161 -142
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/useWidgetInitPublisher.js +30 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/widgetInitChannel.js +53 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteRegionProvider.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index2.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index2.js +2 -2
- package/package.json +1 -1
|
@@ -1,49 +1,59 @@
|
|
|
1
|
-
import { jsxs as f, jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import {
|
|
8
|
-
import "
|
|
9
|
-
import "./
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
invoice: i,
|
|
16
|
-
open: a,
|
|
17
|
-
onClose: r
|
|
1
|
+
import { jsxs as f, jsx as s } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as c, useMemo as u } from "react";
|
|
3
|
+
import { useMoniteContext as y } from "./index57.js";
|
|
4
|
+
import { useRootElements as E } from "./index92.js";
|
|
5
|
+
import { useDebounceCallback as x, useDebounce as T } from "./index65.js";
|
|
6
|
+
import { useLingui as _ } from "@lingui/react";
|
|
7
|
+
import { X as N } from "lucide-react";
|
|
8
|
+
import { SearchInput as A, DatePicker as $, Combobox as R } from "../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
9
|
+
import { FILTER_TYPE_SEARCH as k, FILTER_TYPE_CREATED_BY as D, FILTER_TYPE_CREATED_AT as v } from "./index257.js";
|
|
10
|
+
const C = 500, F = (t) => {
|
|
11
|
+
const e = `${t.first_name ?? ""} ${t.last_name ?? ""}`.trim();
|
|
12
|
+
return e && t.email ? `${e} (${t.email})` : e || t.email || t.id;
|
|
13
|
+
}, L = ({
|
|
14
|
+
onChange: t
|
|
18
15
|
}) => {
|
|
19
16
|
const {
|
|
20
17
|
i18n: e
|
|
21
|
-
} =
|
|
22
|
-
|
|
23
|
-
} =
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
18
|
+
} = _(), {
|
|
19
|
+
api: n
|
|
20
|
+
} = y(), [r, l] = c(null), [m, a] = c(""), b = T(m, C), {
|
|
21
|
+
data: w
|
|
22
|
+
} = n.finops.getEntityUsers.useQuery({
|
|
23
|
+
query: {
|
|
24
|
+
name__istartswith: b || void 0
|
|
25
|
+
}
|
|
26
|
+
}), d = u(() => w?.data ?? [], [w]), i = u(() => d.map((o) => ({
|
|
27
|
+
value: o.id,
|
|
28
|
+
label: F(o)
|
|
29
|
+
})), [d]), p = u(() => !r || i.some((o) => o.value === r.value) ? i : [r, ...i], [i, r]);
|
|
30
|
+
return /* @__PURE__ */ s(R, { items: p, value: r?.value ?? "", placeholder: e._("Added by"), emptyMessage: e._("No users found"), clearAriaLabel: e._("Clear selection"), onQueryChange: a, onValueChange: (o) => {
|
|
31
|
+
const h = Array.isArray(o) ? o[0] ?? "" : o ?? "";
|
|
32
|
+
l(p.find((g) => g.value === h) ?? null), t(h || void 0);
|
|
33
|
+
} });
|
|
34
|
+
}, X = ({
|
|
35
|
+
onChangeFilter: t
|
|
36
|
+
}) => {
|
|
37
|
+
const {
|
|
38
|
+
i18n: e
|
|
39
|
+
} = _(), {
|
|
40
|
+
root: n
|
|
41
|
+
} = E(), [r, l] = c(void 0), m = x((a) => {
|
|
42
|
+
t(k, a.trim() ? a : null);
|
|
43
|
+
}, C);
|
|
44
|
+
return /* @__PURE__ */ f("div", { className: "ttw:flex ttw:items-center ttw:gap-3 ttw:px-2 ttw:py-2", children: [
|
|
45
|
+
/* @__PURE__ */ s("div", { className: "ttw:flex-1", children: /* @__PURE__ */ s(A, { placeholder: e._("Search"), className: "ttw:h-9 ttw:w-full", onChange: (a) => m(a.target.value) }) }),
|
|
46
|
+
/* @__PURE__ */ s("div", { className: "ttw:w-48 ttw:shrink-0", children: /* @__PURE__ */ s(L, { onChange: (a) => t(D, a ?? null) }) }),
|
|
47
|
+
/* @__PURE__ */ f("div", { className: "ttw:relative ttw:w-44 ttw:shrink-0", children: [
|
|
48
|
+
/* @__PURE__ */ s($, { value: r, placeholder: e._("Created at"), className: `ttw:h-9 ttw:border-border${r ? " ttw:pr-8" : ""}`, container: n, onChange: (a) => {
|
|
49
|
+
l(a), t(v, a ?? null);
|
|
50
|
+
} }),
|
|
51
|
+
r ? /* @__PURE__ */ s("button", { type: "button", "aria-label": e._("Clear created at filter"), className: "ttw:absolute ttw:right-2 ttw:top-1/2 ttw:inline-flex ttw:size-4 ttw:-translate-y-1/2 ttw:cursor-pointer ttw:items-center ttw:justify-center ttw:rounded-sm ttw:text-muted-foreground ttw:opacity-70 hover:ttw:opacity-100", onClick: () => {
|
|
52
|
+
l(void 0), t(v, null);
|
|
53
|
+
}, children: /* @__PURE__ */ s(N, { className: "ttw:size-3.5" }) }) : null
|
|
54
|
+
] })
|
|
45
55
|
] });
|
|
46
56
|
};
|
|
47
57
|
export {
|
|
48
|
-
|
|
58
|
+
X as Filters
|
|
49
59
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as a } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as i } from "./
|
|
2
|
+
import { getAPIErrorMessage as i } from "./index120.js";
|
|
3
3
|
import { useLingui as n } from "@lingui/react";
|
|
4
4
|
import { toast as m } from "react-hot-toast";
|
|
5
5
|
const l = (r) => {
|
|
@@ -1,149 +1,38 @@
|
|
|
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
|
-
data: g
|
|
34
|
-
} = Y($), {
|
|
35
|
-
data: x
|
|
36
|
-
} = n.finops.getEntitiesIdPaymentMethods.useQuery({
|
|
37
|
-
path: {
|
|
38
|
-
entity_id: y
|
|
39
|
-
}
|
|
40
|
-
}), {
|
|
41
|
-
mutateAsync: z
|
|
42
|
-
} = n.finops.postReceivablesIdSend.useMutation(), {
|
|
43
|
-
mutateAsync: D
|
|
44
|
-
} = n.finops.postPaymentLinks.useMutation({}), r = J(g), l = K(g), N = j, w = N?.document_id, _ = N?.attachments ?? [], p = P(() => r ? w ? t._("Invoice #{documentId} for {name}", {
|
|
45
|
-
documentId: w,
|
|
46
|
-
name: r
|
|
47
|
-
}) : t._("Invoice for {name}", {
|
|
48
|
-
name: r
|
|
49
|
-
}) : "", [w, r, t]), [u, I] = d(""), [k, A] = d(!1), [f, F] = d(""), [c, S] = d(!1);
|
|
50
|
-
Q(() => {
|
|
51
|
-
!k && p && I(p);
|
|
52
|
-
}, [p, k]);
|
|
53
|
-
const R = async () => {
|
|
54
|
-
S(!0);
|
|
55
|
-
try {
|
|
56
|
-
const i = x ? x.data.filter(({
|
|
57
|
-
status: h,
|
|
58
|
-
direction: B
|
|
59
|
-
}) => h === "active" && B === "receive") : [];
|
|
60
|
-
i.length === 0 ? v.error(t._("You haven't onboarded for any payment method. Invoice is sent without a payment link.")) : await D({
|
|
61
|
-
recipient: {
|
|
62
|
-
id: y,
|
|
63
|
-
type: "entity"
|
|
64
|
-
},
|
|
65
|
-
payment_methods: i.map((h) => h.type),
|
|
66
|
-
object: {
|
|
67
|
-
id: s,
|
|
68
|
-
type: "receivable"
|
|
69
|
-
}
|
|
70
|
-
}), await z({
|
|
71
|
-
path: {
|
|
72
|
-
receivable_id: s
|
|
73
|
-
},
|
|
74
|
-
body: {
|
|
75
|
-
subject_text: u,
|
|
76
|
-
// Required by the API and gated by the Send button, so always set.
|
|
77
|
-
body_text: f,
|
|
78
|
-
recipients: l ? {
|
|
79
|
-
to: [l]
|
|
80
|
-
} : void 0
|
|
81
|
-
}
|
|
82
|
-
}), await Promise.all([n.finops.getReceivables.invalidateQueries(b), n.finops.getReceivablesId.invalidateQueries({
|
|
83
|
-
parameters: {
|
|
84
|
-
path: {
|
|
85
|
-
receivable_id: s
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}, b)]), v.success(t._("Invoice sent successfully")), M();
|
|
89
|
-
} catch {
|
|
90
|
-
v.error(t._("Failed to send invoice."));
|
|
91
|
-
} finally {
|
|
92
|
-
S(!1);
|
|
93
|
-
}
|
|
94
|
-
};
|
|
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
|
-
};
|
|
1
|
+
import { jsx as e, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as a } from "./index100.js";
|
|
3
|
+
import * as r from "@radix-ui/react-accordion";
|
|
4
|
+
import { ChevronDownIcon as s } from "lucide-react";
|
|
5
|
+
function l({
|
|
6
|
+
...t
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(r.Root, { "data-slot": "accordion", ...t });
|
|
9
|
+
}
|
|
10
|
+
function m({
|
|
11
|
+
className: t,
|
|
12
|
+
...o
|
|
13
|
+
}) {
|
|
14
|
+
return /* @__PURE__ */ e(r.Item, { "data-slot": "accordion-item", className: a("ttw:border-b ttw:border-border ttw:last:border-b-0", t), ...o });
|
|
15
|
+
}
|
|
16
|
+
function u({
|
|
17
|
+
className: t,
|
|
18
|
+
children: o,
|
|
19
|
+
...n
|
|
20
|
+
}) {
|
|
21
|
+
return /* @__PURE__ */ e(r.Header, { className: "ttw:flex", children: /* @__PURE__ */ i(r.Trigger, { "data-slot": "accordion-trigger", className: a("ttw:group ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:flex ttw:flex-1 ttw:cursor-pointer ttw:items-start ttw:justify-between ttw:gap-4 ttw:rounded-md ttw:py-4 ttw:text-left ttw:text-sm ttw:font-medium ttw:transition-all ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:pointer-events-none ttw:disabled:opacity-50 ttw:[&[data-state=open]>svg]:rotate-180", t), ...n, children: [
|
|
22
|
+
o,
|
|
23
|
+
/* @__PURE__ */ e(s, { className: "ttw:text-muted-foreground ttw:pointer-events-none ttw:size-4 ttw:shrink-0 ttw:translate-y-0.5 ttw:transition-transform ttw:duration-200" })
|
|
24
|
+
] }) });
|
|
25
|
+
}
|
|
26
|
+
function f({
|
|
27
|
+
className: t,
|
|
28
|
+
children: o,
|
|
29
|
+
...n
|
|
30
|
+
}) {
|
|
31
|
+
return /* @__PURE__ */ e(r.Content, { "data-slot": "accordion-content", className: "ttw:data-[state=closed]:animate-accordion-up ttw:data-[state=open]:animate-accordion-down ttw:overflow-hidden ttw:text-sm", ...n, children: /* @__PURE__ */ e("div", { className: a("ttw:pt-0 ttw:pb-4", t), children: o }) });
|
|
32
|
+
}
|
|
147
33
|
export {
|
|
148
|
-
|
|
34
|
+
l as Accordion,
|
|
35
|
+
f as AccordionContent,
|
|
36
|
+
m as AccordionItem,
|
|
37
|
+
u as AccordionTrigger
|
|
149
38
|
};
|
|
@@ -1,111 +1,84 @@
|
|
|
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
|
-
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(I, { 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 ? b : 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() : b(), 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) })
|
|
1
|
+
import { jsx as e, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as s } from "./index100.js";
|
|
3
|
+
import * as o from "@radix-ui/react-dialog";
|
|
4
|
+
import { XIcon as c } from "lucide-react";
|
|
5
|
+
function x({
|
|
6
|
+
...t
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(o.Root, { "data-slot": "dialog", ...t });
|
|
9
|
+
}
|
|
10
|
+
function u({
|
|
11
|
+
...t
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ e(o.Portal, { "data-slot": "dialog-portal", ...t });
|
|
14
|
+
}
|
|
15
|
+
function m({
|
|
16
|
+
className: t,
|
|
17
|
+
...a
|
|
18
|
+
}) {
|
|
19
|
+
return /* @__PURE__ */ e(o.Overlay, { "data-slot": "dialog-overlay", className: s("ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:fixed ttw:inset-0 ttw:z-1300 ttw:bg-black/50", t), ...a });
|
|
20
|
+
}
|
|
21
|
+
function v({
|
|
22
|
+
className: t,
|
|
23
|
+
children: a,
|
|
24
|
+
showCloseButton: r = !0,
|
|
25
|
+
fullScreen: i = !1,
|
|
26
|
+
container: l = typeof document < "u" ? document.body : null,
|
|
27
|
+
...d
|
|
28
|
+
}) {
|
|
29
|
+
return /* @__PURE__ */ n(u, { container: l, "data-slot": "dialog-portal", children: [
|
|
30
|
+
/* @__PURE__ */ e(m, {}),
|
|
31
|
+
/* @__PURE__ */ n(
|
|
32
|
+
o.Content,
|
|
33
|
+
{
|
|
34
|
+
"data-slot": "dialog-content",
|
|
35
|
+
className: s("ttw:bg-background ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:fixed ttw:top-[50%] ttw:left-[50%] ttw:z-1300 ttw:grid ttw:w-full ttw:max-w-[calc(100%-2rem)] ttw:translate-x-[-50%] ttw:translate-y-[-50%] ttw:gap-4 ttw:rounded-lg ttw:border ttw:p-6 ttw:shadow-lg ttw:duration-200 ttw:sm:max-w-lg", i && "ttw:border-none ttw:rounded-none ttw:h-screen ttw:max-w-screen ttw:sm:max-w-screen", t),
|
|
36
|
+
...d,
|
|
37
|
+
onCloseAutoFocus: (w) => {
|
|
38
|
+
w.preventDefault(), (l ?? document.body).style.pointerEvents = "";
|
|
39
|
+
},
|
|
40
|
+
children: [
|
|
41
|
+
a,
|
|
42
|
+
r && /* @__PURE__ */ n(o.Close, { "data-slot": "dialog-close", className: "ttw:ring-offset-background ttw:focus:ring-ring ttw:data-[state=open]:bg-accent ttw:data-[state=open]:text-muted-foreground ttw:absolute ttw:top-4 ttw:right-4 ttw:rounded-xs ttw:opacity-70 ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:ring-2 ttw:focus:ring-offset-2 ttw:focus:outline-hidden ttw:disabled:pointer-events-none ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", children: [
|
|
43
|
+
/* @__PURE__ */ e(c, {}),
|
|
44
|
+
/* @__PURE__ */ e("span", { className: "ttw:sr-only", children: "Close" })
|
|
99
45
|
] })
|
|
100
|
-
]
|
|
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
|
-
] })
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
)
|
|
107
49
|
] });
|
|
108
|
-
}
|
|
50
|
+
}
|
|
51
|
+
function b({
|
|
52
|
+
className: t,
|
|
53
|
+
...a
|
|
54
|
+
}) {
|
|
55
|
+
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 });
|
|
56
|
+
}
|
|
57
|
+
function h({
|
|
58
|
+
className: t,
|
|
59
|
+
...a
|
|
60
|
+
}) {
|
|
61
|
+
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 });
|
|
62
|
+
}
|
|
63
|
+
function y({
|
|
64
|
+
className: t,
|
|
65
|
+
...a
|
|
66
|
+
}) {
|
|
67
|
+
return /* @__PURE__ */ e(o.Title, { "data-slot": "dialog-title", className: s("ttw:text-lg ttw:leading-none ttw:font-semibold", t), ...a });
|
|
68
|
+
}
|
|
69
|
+
function N({
|
|
70
|
+
className: t,
|
|
71
|
+
...a
|
|
72
|
+
}) {
|
|
73
|
+
return /* @__PURE__ */ e(o.Description, { "data-slot": "dialog-description", className: s("ttw:text-muted-foreground ttw:text-sm", t), ...a });
|
|
74
|
+
}
|
|
109
75
|
export {
|
|
110
|
-
|
|
76
|
+
x as Dialog,
|
|
77
|
+
v as DialogContent,
|
|
78
|
+
N as DialogDescription,
|
|
79
|
+
h as DialogFooter,
|
|
80
|
+
b as DialogHeader,
|
|
81
|
+
m as DialogOverlay,
|
|
82
|
+
u as DialogPortal,
|
|
83
|
+
y as DialogTitle
|
|
111
84
|
};
|
|
@@ -1,12 +1,36 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
3
|
-
import * as
|
|
4
|
-
function
|
|
1
|
+
import { jsx as i, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as d } from "./index100.js";
|
|
3
|
+
import * as o from "@radix-ui/react-tooltip";
|
|
4
|
+
function s({
|
|
5
|
+
delayDuration: t = 0,
|
|
6
|
+
...r
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ i(o.Provider, { "data-slot": "tooltip-provider", delayDuration: t, ...r });
|
|
9
|
+
}
|
|
10
|
+
function m({
|
|
11
|
+
...t
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ i(s, { children: /* @__PURE__ */ i(o.Root, { "data-slot": "tooltip", ...t }) });
|
|
14
|
+
}
|
|
15
|
+
function p({
|
|
16
|
+
...t
|
|
17
|
+
}) {
|
|
18
|
+
return /* @__PURE__ */ i(o.Trigger, { "data-slot": "tooltip-trigger", ...t });
|
|
19
|
+
}
|
|
20
|
+
function f({
|
|
5
21
|
className: t,
|
|
22
|
+
sideOffset: r = 0,
|
|
23
|
+
children: a,
|
|
6
24
|
...e
|
|
7
25
|
}) {
|
|
8
|
-
return /* @__PURE__ */
|
|
26
|
+
return /* @__PURE__ */ i(o.Portal, { children: /* @__PURE__ */ n(o.Content, { "data-slot": "tooltip-content", sideOffset: r, className: d("ttw:bg-primary ttw:text-primary-foreground ttw:animate-in ttw:fade-in-0 ttw:zoom-in-95 ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:z-1300 ttw:w-fit ttw:origin-(--radix-tooltip-content-transform-origin) ttw:rounded-md ttw:px-3 ttw:py-1.5 ttw:text-xs ttw:text-balance", t), ...e, children: [
|
|
27
|
+
a,
|
|
28
|
+
/* @__PURE__ */ i(o.Arrow, { className: "ttw:bg-primary ttw:fill-primary ttw:z-1300 ttw:size-2.5 ttw:translate-y-[calc(-50%_-_2px)] ttw:rotate-45 ttw:rounded-[2px]" })
|
|
29
|
+
] }) });
|
|
9
30
|
}
|
|
10
31
|
export {
|
|
11
|
-
|
|
32
|
+
m as Tooltip,
|
|
33
|
+
f as TooltipContent,
|
|
34
|
+
s as TooltipProvider,
|
|
35
|
+
p as TooltipTrigger
|
|
12
36
|
};
|
|
@@ -1,22 +1,68 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import "@mui/icons-material/BlockOutlined";
|
|
2
|
+
import "@mui/icons-material/Cancel";
|
|
3
|
+
import "@mui/icons-material/CheckOutlined";
|
|
4
|
+
import "@mui/icons-material/DangerousOutlined";
|
|
5
|
+
import "@mui/icons-material/DeleteForever";
|
|
6
|
+
import "@mui/icons-material/ErrorOutlineOutlined";
|
|
7
|
+
import "@mui/icons-material/HourglassBottomOutlined";
|
|
8
|
+
import "@mui/icons-material/InsertDriveFileOutlined";
|
|
9
|
+
import "@mui/icons-material/PaidOutlined";
|
|
10
|
+
import "@mui/icons-material/ReplayOutlined";
|
|
11
|
+
import "@mui/icons-material/SendOutlined";
|
|
12
|
+
import "@mui/icons-material/StarHalfOutlined";
|
|
13
|
+
import { Check as a, Ban as t, Pause as o, ChevronsRight as r, Clock as e, PenTool as c, CalendarX2 as i, Play as n, CircleOff as d, Trash2 as s, CopyPlus as p, Mail as l, ClipboardCheck as m, Send as T, FileCheck as u, Pencil as C } from "lucide-react";
|
|
14
|
+
const P = "INV-auto", R = {
|
|
15
|
+
edit: C,
|
|
16
|
+
// Issue = issue only (no email); the Mail/Send icon is reserved for the
|
|
17
|
+
// actions that actually email the customer.
|
|
18
|
+
issue: u,
|
|
19
|
+
issueAndSend: T,
|
|
20
|
+
recordPayment: m,
|
|
21
|
+
send: l,
|
|
22
|
+
clone: p,
|
|
23
|
+
cancel: t,
|
|
24
|
+
delete: s,
|
|
25
|
+
markUncollectible: d,
|
|
26
|
+
pauseRecurrence: o,
|
|
27
|
+
resumeRecurrence: n,
|
|
28
|
+
cancelRecurrence: i
|
|
29
|
+
}, U = {
|
|
30
|
+
draft: c,
|
|
31
|
+
issuing: e,
|
|
32
|
+
issued: e,
|
|
33
|
+
partially_paid: e,
|
|
34
|
+
paid: a,
|
|
35
|
+
overdue: e,
|
|
36
|
+
canceled: t
|
|
37
|
+
}, D = {
|
|
38
|
+
active: r,
|
|
39
|
+
paused: o,
|
|
40
|
+
canceled: t,
|
|
41
|
+
completed: a
|
|
42
|
+
}, k = {
|
|
43
|
+
default: "ttw:text-foreground",
|
|
44
|
+
danger: "ttw:text-red-600",
|
|
45
|
+
success: "ttw:text-emerald-600",
|
|
46
|
+
muted: "ttw:text-muted-foreground"
|
|
47
|
+
}, v = "ttw:bg-muted ttw:text-muted-foreground ttw:hover:bg-accent", H = 500, b = [
|
|
48
|
+
"application/pdf",
|
|
49
|
+
"image/jpeg",
|
|
50
|
+
"image/png",
|
|
51
|
+
"application/msword",
|
|
52
|
+
// .doc
|
|
53
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
54
|
+
// .docx
|
|
55
|
+
], y = ["pdf", "jpg", "jpeg", "png", "doc", "docx"], F = 3, L = 10;
|
|
20
56
|
export {
|
|
21
|
-
|
|
57
|
+
R as ACTION_ICON,
|
|
58
|
+
y as ATTACHMENT_ACCEPTED_EXTENSIONS,
|
|
59
|
+
b as ATTACHMENT_ACCEPTED_FORMATS,
|
|
60
|
+
L as ATTACHMENT_MAX_FILE_COUNT,
|
|
61
|
+
F as ATTACHMENT_MAX_FILE_SIZE_MB,
|
|
62
|
+
H as HEADER_TOOLTIP_DELAY,
|
|
63
|
+
P as INVOICE_DOCUMENT_AUTO_ID,
|
|
64
|
+
D as RECURRENCE_STATUS_ICON,
|
|
65
|
+
U as STATUS_ICON,
|
|
66
|
+
k as amountValueToneClass,
|
|
67
|
+
v as headerIconButtonClass
|
|
22
68
|
};
|