@tesouro/embedded-components-react 0.3.19 → 0.3.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +9 -0
- package/dist/index.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/monite-sdk.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +3 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +28 -97
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +81 -176
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +50 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +250 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +106 -107
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +209 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +3 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +114 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +21 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +36 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +10 -283
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +199 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +14 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +314 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +85 -105
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +113 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +5 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +9 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +81 -145
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +8 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +170 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +14 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +89 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +16 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +13 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +19 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +98 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +43 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +30 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +14 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +18 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +8 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +36 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +44 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +72 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +99 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +35 -178
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +171 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +134 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +125 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +63 -232
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +248 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +5 -456
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +455 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +17 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +13 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +51 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +13 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +39 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +143 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +114 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +33 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +32 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +20 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +73 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +18 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +149 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +136 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +31 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +116 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +10 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +13 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +21 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +36 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +77 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +50 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +34 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +86 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +1 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +0 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +129 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +105 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +48 -779
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +780 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +84 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +105 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +6 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +14 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +163 -200
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +204 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +82 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +17 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +146 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +95 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +46 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +4 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +13 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +27 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +0 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +186 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +0 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +41 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +5 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +20 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +74 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +11 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +129 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +4 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +219 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +32 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +168 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +192 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +97 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +63 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +46 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +91 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +39 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +63 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +85 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +4 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +1 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +6 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +66 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +104 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +72 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +144 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index608.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index609.js +14 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index610.js +91 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index611.js +3 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index612.js +22 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index613.js +71 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index614.js +0 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index615.js +66 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index616.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index617.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index618.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index619.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index620.js +29 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index621.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index622.js +2 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index623.js +97 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index7.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +16 -11
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +0 -2
|
@@ -1,76 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
6
|
-
import { useLingui as c } from "@lingui/react";
|
|
1
|
+
import { cn as e } from "./index49.js";
|
|
2
|
+
import { Typography as t } from "./index62.js";
|
|
3
|
+
import { amountValueToneClass as n } from "./index93.js";
|
|
4
|
+
import { jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
7
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js
|
|
8
|
-
|
|
9
|
-
let
|
|
10
|
-
return /* @__PURE__ */
|
|
11
|
-
|
|
12
|
-
children: [/* @__PURE__ */
|
|
13
|
-
|
|
14
|
-
children: [/* @__PURE__ */ o("span", {
|
|
15
|
-
className: "ttw:group-hover:underline",
|
|
16
|
-
children: u._("Attachments")
|
|
17
|
-
}), /* @__PURE__ */ o(t, {
|
|
18
|
-
variant: "secondary",
|
|
19
|
-
className: "ttw:rounded-full",
|
|
20
|
-
children: l.length
|
|
21
|
-
})]
|
|
22
|
-
}) }), /* @__PURE__ */ o(n, { children: l.length === 0 ? /* @__PURE__ */ o(e, {
|
|
23
|
-
variant: "body2",
|
|
6
|
+
function a({ row: a, defaultTone: o }) {
|
|
7
|
+
let s = a.tone ?? (a.emphasis ? o : "default");
|
|
8
|
+
return /* @__PURE__ */ i("div", {
|
|
9
|
+
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
10
|
+
children: [/* @__PURE__ */ r(t, {
|
|
11
|
+
variant: "caption",
|
|
24
12
|
color: "muted",
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
children: /* @__PURE__ */ o(e, {
|
|
34
|
-
component: "span",
|
|
35
|
-
variant: "caption",
|
|
36
|
-
color: "muted",
|
|
37
|
-
children: u._("File")
|
|
38
|
-
})
|
|
39
|
-
}), /* @__PURE__ */ o("th", {
|
|
40
|
-
scope: "col",
|
|
41
|
-
className: "ttw:py-2 ttw:text-right",
|
|
42
|
-
children: /* @__PURE__ */ o(e, {
|
|
43
|
-
component: "span",
|
|
44
|
-
variant: "caption",
|
|
45
|
-
color: "muted",
|
|
46
|
-
children: u._("Emailed")
|
|
47
|
-
})
|
|
48
|
-
})]
|
|
49
|
-
}) }), /* @__PURE__ */ o("tbody", { children: l.map((e) => /* @__PURE__ */ s("tr", {
|
|
50
|
-
className: "ttw:border-b ttw:border-border ttw:last:border-b-0",
|
|
51
|
-
children: [/* @__PURE__ */ o("td", {
|
|
52
|
-
className: "ttw:py-3",
|
|
53
|
-
children: /* @__PURE__ */ o("a", {
|
|
54
|
-
href: e.url,
|
|
55
|
-
target: "_blank",
|
|
56
|
-
rel: "noreferrer",
|
|
57
|
-
className: "ttw:text-primary ttw:hover:underline",
|
|
58
|
-
children: e.name
|
|
59
|
-
})
|
|
60
|
-
}), /* @__PURE__ */ o("td", {
|
|
61
|
-
className: "ttw:py-3 ttw:text-right ttw:align-middle",
|
|
62
|
-
children: e.include_in_email ? /* @__PURE__ */ o(a, {
|
|
63
|
-
role: "img",
|
|
64
|
-
"aria-label": u._("Included in email"),
|
|
65
|
-
className: "ttw:inline-block ttw:size-4 ttw:text-emerald-600"
|
|
66
|
-
}) : /* @__PURE__ */ o("span", {
|
|
67
|
-
className: "ttw:sr-only",
|
|
68
|
-
children: u._("Not included in email")
|
|
69
|
-
})
|
|
70
|
-
})]
|
|
71
|
-
}, e.id)) })]
|
|
72
|
-
}) })]
|
|
13
|
+
className: "ttw:font-medium",
|
|
14
|
+
children: a.label
|
|
15
|
+
}), /* @__PURE__ */ r(t, {
|
|
16
|
+
component: "span",
|
|
17
|
+
variant: a.emphasis ? "h3" : "body1",
|
|
18
|
+
className: e(!a.emphasis && "ttw:font-medium", n[s]),
|
|
19
|
+
children: a.value
|
|
20
|
+
})]
|
|
73
21
|
});
|
|
74
|
-
}
|
|
22
|
+
}
|
|
75
23
|
//#endregion
|
|
76
|
-
export {
|
|
24
|
+
export { a as InvoiceDetailsAmountCell };
|
|
@@ -1,20 +1,76 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Typography as e } from "./index62.js";
|
|
2
|
+
import { Badge as t } from "./index223.js";
|
|
3
|
+
import { AccordionContent as n, AccordionItem as r, AccordionTrigger as i } from "./index514.js";
|
|
4
|
+
import { Check as a } from "lucide-react";
|
|
5
|
+
import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { useLingui as c } from "@lingui/react";
|
|
5
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
var l = ({ attachments: l }) => {
|
|
9
|
+
let { i18n: u } = c();
|
|
10
|
+
return /* @__PURE__ */ s(r, {
|
|
11
|
+
value: "attachments",
|
|
12
|
+
children: [/* @__PURE__ */ o(i, { children: /* @__PURE__ */ s("span", {
|
|
13
|
+
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
14
|
+
children: [/* @__PURE__ */ o("span", {
|
|
15
|
+
className: "ttw:group-hover:underline",
|
|
16
|
+
children: u._("Attachments")
|
|
17
|
+
}), /* @__PURE__ */ o(t, {
|
|
18
|
+
variant: "secondary",
|
|
19
|
+
className: "ttw:rounded-full",
|
|
20
|
+
children: l.length
|
|
21
|
+
})]
|
|
22
|
+
}) }), /* @__PURE__ */ o(n, { children: l.length === 0 ? /* @__PURE__ */ o(e, {
|
|
23
|
+
variant: "body2",
|
|
24
|
+
color: "muted",
|
|
25
|
+
children: u._("No attached files")
|
|
26
|
+
}) : /* @__PURE__ */ s("table", {
|
|
27
|
+
className: "ttw:w-full ttw:border-collapse",
|
|
28
|
+
children: [/* @__PURE__ */ o("thead", { children: /* @__PURE__ */ s("tr", {
|
|
29
|
+
className: "ttw:border-b ttw:border-border",
|
|
30
|
+
children: [/* @__PURE__ */ o("th", {
|
|
31
|
+
scope: "col",
|
|
32
|
+
className: "ttw:py-2 ttw:text-left",
|
|
33
|
+
children: /* @__PURE__ */ o(e, {
|
|
34
|
+
component: "span",
|
|
35
|
+
variant: "caption",
|
|
36
|
+
color: "muted",
|
|
37
|
+
children: u._("File")
|
|
38
|
+
})
|
|
39
|
+
}), /* @__PURE__ */ o("th", {
|
|
40
|
+
scope: "col",
|
|
41
|
+
className: "ttw:py-2 ttw:text-right",
|
|
42
|
+
children: /* @__PURE__ */ o(e, {
|
|
43
|
+
component: "span",
|
|
44
|
+
variant: "caption",
|
|
45
|
+
color: "muted",
|
|
46
|
+
children: u._("Emailed")
|
|
47
|
+
})
|
|
48
|
+
})]
|
|
49
|
+
}) }), /* @__PURE__ */ o("tbody", { children: l.map((e) => /* @__PURE__ */ s("tr", {
|
|
50
|
+
className: "ttw:border-b ttw:border-border ttw:last:border-b-0",
|
|
51
|
+
children: [/* @__PURE__ */ o("td", {
|
|
52
|
+
className: "ttw:py-3",
|
|
53
|
+
children: /* @__PURE__ */ o("a", {
|
|
54
|
+
href: e.url,
|
|
55
|
+
target: "_blank",
|
|
56
|
+
rel: "noreferrer",
|
|
57
|
+
className: "ttw:text-primary ttw:hover:underline",
|
|
58
|
+
children: e.name
|
|
59
|
+
})
|
|
60
|
+
}), /* @__PURE__ */ o("td", {
|
|
61
|
+
className: "ttw:py-3 ttw:text-right ttw:align-middle",
|
|
62
|
+
children: e.include_in_email ? /* @__PURE__ */ o(a, {
|
|
63
|
+
role: "img",
|
|
64
|
+
"aria-label": u._("Included in email"),
|
|
65
|
+
className: "ttw:inline-block ttw:size-4 ttw:text-emerald-600"
|
|
66
|
+
}) : /* @__PURE__ */ o("span", {
|
|
67
|
+
className: "ttw:sr-only",
|
|
68
|
+
children: u._("Not included in email")
|
|
69
|
+
})
|
|
70
|
+
})]
|
|
71
|
+
}, e.id)) })]
|
|
72
|
+
}) })]
|
|
17
73
|
});
|
|
18
|
-
}
|
|
74
|
+
};
|
|
19
75
|
//#endregion
|
|
20
|
-
export {
|
|
76
|
+
export { l as InvoiceDetailsAttachments };
|
|
@@ -1,174 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { Input as a } from "./index89.js";
|
|
6
|
-
import { Textarea as o } from "./index106.js";
|
|
7
|
-
import { useGetReceivableById as s } from "./index141.js";
|
|
8
|
-
import "./index142.js";
|
|
9
|
-
import { DialogDescription as c, DialogFooter as l, DialogHeader as u, DialogTitle as d } from "./index58.js";
|
|
10
|
-
import { Typography as f } from "./index62.js";
|
|
11
|
-
import { formatFileSize as p } from "./index193.js";
|
|
12
|
-
import { useEffect as m, useMemo as h, useState as g } from "react";
|
|
13
|
-
import { Check as _, Send as v } from "lucide-react";
|
|
14
|
-
import { Fragment as y, jsx as b, jsxs as x } from "@emotion/react/jsx-runtime";
|
|
15
|
-
import { toast as S } from "react-hot-toast";
|
|
16
|
-
import { useLingui as C } from "@lingui/react";
|
|
1
|
+
import { Button as e } from "./index56.js";
|
|
2
|
+
import { forwardRef as t } from "react";
|
|
3
|
+
import { XIcon as n } from "lucide-react";
|
|
4
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
17
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
className: "ttw:border-b ttw:border-border ttw:p-6",
|
|
32
|
-
children: /* @__PURE__ */ x("div", {
|
|
33
|
-
className: "ttw:flex ttw:items-center ttw:gap-4",
|
|
34
|
-
children: [/* @__PURE__ */ b("span", {
|
|
35
|
-
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",
|
|
36
|
-
children: b(O ? v : _, { className: "ttw:size-6 ttw:text-green-700" })
|
|
37
|
-
}), /* @__PURE__ */ x("div", {
|
|
38
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
39
|
-
children: [/* @__PURE__ */ b(d, { children: O ? k._("Send a copy to {name}?", { name: R }) : k._("Invoice issued. Send a copy to {name}?", { name: R }) }), /* @__PURE__ */ b(c, {
|
|
40
|
-
className: "ttw:text-xs",
|
|
41
|
-
children: k._("The customer will be emailed a copy of the invoice with payment instructions.")
|
|
42
|
-
})]
|
|
43
|
-
})]
|
|
44
|
-
})
|
|
45
|
-
}),
|
|
46
|
-
/* @__PURE__ */ x("div", {
|
|
47
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2 ttw:p-6",
|
|
48
|
-
children: [
|
|
49
|
-
/* @__PURE__ */ x("div", {
|
|
50
|
-
className: "ttw:flex ttw:items-center ttw:gap-4",
|
|
51
|
-
children: [/* @__PURE__ */ b(f, {
|
|
52
|
-
variant: "body2",
|
|
53
|
-
color: "muted",
|
|
54
|
-
className: "ttw:w-16 ttw:shrink-0",
|
|
55
|
-
children: k._("To")
|
|
56
|
-
}), /* @__PURE__ */ x(f, {
|
|
57
|
-
variant: "body2",
|
|
58
|
-
children: [R, z ? ` <${z}>` : ""]
|
|
59
|
-
})]
|
|
60
|
-
}),
|
|
61
|
-
/* @__PURE__ */ x("div", {
|
|
62
|
-
className: "ttw:flex ttw:items-center ttw:gap-4",
|
|
63
|
-
children: [/* @__PURE__ */ b(f, {
|
|
64
|
-
variant: "body2",
|
|
65
|
-
color: "muted",
|
|
66
|
-
className: "ttw:w-16 ttw:shrink-0",
|
|
67
|
-
children: k._("Subject")
|
|
68
|
-
}), /* @__PURE__ */ b(a, {
|
|
69
|
-
className: "ttw:flex-1",
|
|
70
|
-
value: W,
|
|
71
|
-
onChange: (e) => {
|
|
72
|
-
G(e.target.value), q(!0);
|
|
73
|
-
},
|
|
74
|
-
disabled: X
|
|
75
|
-
})]
|
|
76
|
-
}),
|
|
77
|
-
/* @__PURE__ */ x("div", {
|
|
78
|
-
className: "ttw:flex ttw:items-start ttw:gap-4",
|
|
79
|
-
children: [/* @__PURE__ */ b(f, {
|
|
80
|
-
variant: "body2",
|
|
81
|
-
color: "muted",
|
|
82
|
-
className: "ttw:w-16 ttw:shrink-0 ttw:pt-2",
|
|
83
|
-
children: k._("Message")
|
|
84
|
-
}), /* @__PURE__ */ b(o, {
|
|
85
|
-
className: "ttw:flex-1",
|
|
86
|
-
value: J,
|
|
87
|
-
onChange: (e) => Y(e.target.value),
|
|
88
|
-
placeholder: k._("e.g., Thank you for your business"),
|
|
89
|
-
disabled: X
|
|
90
|
-
})]
|
|
91
|
-
}),
|
|
92
|
-
H.length > 0 && /* @__PURE__ */ x("div", {
|
|
93
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pl-20",
|
|
94
|
-
children: [/* @__PURE__ */ x("div", {
|
|
95
|
-
className: "ttw:flex ttw:flex-col",
|
|
96
|
-
children: [/* @__PURE__ */ b(f, {
|
|
97
|
-
variant: "body2",
|
|
98
|
-
color: "muted",
|
|
99
|
-
children: k._("Attachments")
|
|
100
|
-
}), /* @__PURE__ */ b(f, {
|
|
101
|
-
variant: "caption",
|
|
102
|
-
color: "muted",
|
|
103
|
-
children: k._("To change what files are attached to the email, you will need to update the invoice.")
|
|
104
|
-
})]
|
|
105
|
-
}), /* @__PURE__ */ b("ul", {
|
|
106
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2.5",
|
|
107
|
-
children: H.map((e) => /* @__PURE__ */ x("li", {
|
|
108
|
-
className: "ttw:rounded-lg ttw:bg-muted ttw:px-2 ttw:py-1 ttw:text-sm ttw:font-medium",
|
|
109
|
-
children: [
|
|
110
|
-
e.name,
|
|
111
|
-
" ",
|
|
112
|
-
/* @__PURE__ */ x("span", {
|
|
113
|
-
className: "ttw:text-muted-foreground",
|
|
114
|
-
children: [
|
|
115
|
-
"(",
|
|
116
|
-
p(e.size),
|
|
117
|
-
")"
|
|
118
|
-
]
|
|
119
|
-
})
|
|
120
|
-
]
|
|
121
|
-
}, e.id))
|
|
122
|
-
})]
|
|
123
|
-
})
|
|
124
|
-
]
|
|
125
|
-
}),
|
|
126
|
-
/* @__PURE__ */ x(l, {
|
|
127
|
-
className: "ttw:flex ttw:flex-row ttw:gap-4 ttw:border-t ttw:border-border ttw:p-6",
|
|
128
|
-
children: [/* @__PURE__ */ b(i, {
|
|
129
|
-
type: "button",
|
|
130
|
-
variant: "outline",
|
|
131
|
-
className: "ttw:flex-1 ttw:border-border",
|
|
132
|
-
disabled: X,
|
|
133
|
-
onClick: E,
|
|
134
|
-
children: O ? k._("Cancel") : k._("Skip")
|
|
135
|
-
}), /* @__PURE__ */ b(i, {
|
|
136
|
-
type: "button",
|
|
137
|
-
variant: "default",
|
|
138
|
-
className: "ttw:flex-1",
|
|
139
|
-
disabled: X || !W.trim() || !J.trim(),
|
|
140
|
-
onClick: async () => {
|
|
141
|
-
Z(!0);
|
|
142
|
-
try {
|
|
143
|
-
let e = F ? F.data.filter(({ status: e, direction: t }) => e === "active" && t === "receive") : [];
|
|
144
|
-
e.length === 0 ? S.error(k._("You haven't onboarded for any payment method. Invoice is sent without a payment link.")) : await L({
|
|
145
|
-
recipient: {
|
|
146
|
-
id: M,
|
|
147
|
-
type: "entity"
|
|
148
|
-
},
|
|
149
|
-
payment_methods: e.map((e) => e.type),
|
|
150
|
-
object: {
|
|
151
|
-
id: w,
|
|
152
|
-
type: "receivable"
|
|
153
|
-
}
|
|
154
|
-
}), await I({
|
|
155
|
-
path: { receivable_id: w },
|
|
156
|
-
body: {
|
|
157
|
-
subject_text: W,
|
|
158
|
-
body_text: J,
|
|
159
|
-
recipients: z ? { to: [z] } : void 0
|
|
160
|
-
}
|
|
161
|
-
}), await Promise.all([A.finops.getReceivables.invalidateQueries(j), A.finops.getReceivablesId.invalidateQueries({ parameters: { path: { receivable_id: w } } }, j)]), S.success(k._("Invoice sent successfully")), D();
|
|
162
|
-
} catch {
|
|
163
|
-
S.error(k._("Failed to send invoice."));
|
|
164
|
-
} finally {
|
|
165
|
-
Z(!1);
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
children: k._("Send invoice")
|
|
169
|
-
})]
|
|
170
|
-
})
|
|
171
|
-
] });
|
|
172
|
-
};
|
|
6
|
+
var i = t(function({ label: t, onClose: i, variant: a = "ghost", size: o = "icon", onClick: s, ...c }, l) {
|
|
7
|
+
return /* @__PURE__ */ r(e, {
|
|
8
|
+
ref: l,
|
|
9
|
+
variant: a,
|
|
10
|
+
size: o,
|
|
11
|
+
...c,
|
|
12
|
+
"aria-label": t,
|
|
13
|
+
onClick: (e) => {
|
|
14
|
+
s?.(e), i();
|
|
15
|
+
},
|
|
16
|
+
children: /* @__PURE__ */ r(n, { className: "ttw:size-4" })
|
|
17
|
+
});
|
|
18
|
+
});
|
|
173
19
|
//#endregion
|
|
174
|
-
export {
|
|
20
|
+
export { i as InvoiceDetailsCloseButton };
|