@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,103 +1,75 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "./
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { jsx as
|
|
10
|
-
import { useLingui as b } from "@lingui/react";
|
|
1
|
+
import { Button as e } from "./index56.js";
|
|
2
|
+
import { Checkbox as t } from "./index103.js";
|
|
3
|
+
import { ItemSelector as n } from "./index475.js";
|
|
4
|
+
import { PriceField as r } from "./index476.js";
|
|
5
|
+
import { QuantityField as i } from "./index477.js";
|
|
6
|
+
import { MeasureUnitField as a } from "./index494.js";
|
|
7
|
+
import { memo as o } from "react";
|
|
8
|
+
import { Trash2 as s } from "lucide-react";
|
|
9
|
+
import { jsx as c, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
11
10
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js
|
|
12
|
-
var
|
|
13
|
-
let
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
H({
|
|
74
|
-
...A,
|
|
75
|
-
type: e.type
|
|
76
|
-
}), C?.();
|
|
77
|
-
},
|
|
78
|
-
children: e.label
|
|
79
|
-
}, e.type);
|
|
80
|
-
})
|
|
81
|
-
}), /* @__PURE__ */ v(i, {
|
|
82
|
-
id: k,
|
|
83
|
-
type: "text",
|
|
84
|
-
inputMode: "decimal",
|
|
85
|
-
className: "ttw:text-right",
|
|
86
|
-
"aria-invalid": !!E || void 0,
|
|
87
|
-
disabled: T,
|
|
88
|
-
value: I,
|
|
89
|
-
onChange: U,
|
|
90
|
-
onFocus: (e) => {
|
|
91
|
-
z(!0), L(V(e.target.value));
|
|
92
|
-
},
|
|
93
|
-
onBlur: W
|
|
94
|
-
})]
|
|
95
|
-
})]
|
|
96
|
-
}), E && /* @__PURE__ */ v(s, {
|
|
97
|
-
className: "ttw:text-right",
|
|
98
|
-
children: E
|
|
99
|
-
})]
|
|
11
|
+
var u = o(({ index: o, control: u, errors: d, defaultCurrency: f = "USD", measureUnitsData: p, container: m, onRequestLineItemValue: h, onLineItemValueChange: g, onUpdateItem: _, onRemoveItem: v, canRemove: y, autoFocusName: b = !1 }) => {
|
|
12
|
+
let x = !!d.line_items?.[o]?.product?.name, S = !!d.line_items?.[o]?.quantity, C = !!d.line_items?.[o]?.product?.price?.value, w = h("product.name"), T = !!(w && w.trim()), E = d.line_items?.[o]?.product?.measure_unit_id;
|
|
13
|
+
return /* @__PURE__ */ l("li", {
|
|
14
|
+
className: "ttw:flex ttw:items-center ttw:gap-2.5 ttw:h-9",
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ c("div", {
|
|
17
|
+
className: "ttw:flex-1 ttw:min-w-30",
|
|
18
|
+
children: /* @__PURE__ */ c(n, {
|
|
19
|
+
onChange: (e, t) => _(o, e, t),
|
|
20
|
+
fieldName: h("product.name") || "",
|
|
21
|
+
index: o,
|
|
22
|
+
error: x,
|
|
23
|
+
autoFocus: b,
|
|
24
|
+
defaultCurrency: f,
|
|
25
|
+
measureUnits: p,
|
|
26
|
+
container: m
|
|
27
|
+
})
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(i, {
|
|
30
|
+
index: o,
|
|
31
|
+
control: u,
|
|
32
|
+
quantityError: S,
|
|
33
|
+
canRemove: y,
|
|
34
|
+
hasProduct: T,
|
|
35
|
+
onLineItemValueChange: g,
|
|
36
|
+
onRemoveItem: v
|
|
37
|
+
}) }),
|
|
38
|
+
/* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(a, {
|
|
39
|
+
value: h("product.measure_unit_id"),
|
|
40
|
+
onChange: (e) => {
|
|
41
|
+
g("product.measure_unit_id", e, { shouldValidate: !0 });
|
|
42
|
+
},
|
|
43
|
+
availableMeasureUnits: p?.data || [],
|
|
44
|
+
fieldError: E
|
|
45
|
+
}) }),
|
|
46
|
+
/* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(r, {
|
|
47
|
+
error: C,
|
|
48
|
+
currency: f,
|
|
49
|
+
value: h("product.price.value"),
|
|
50
|
+
onChange: (e) => {
|
|
51
|
+
g("product.price.value", e, { shouldValidate: !0 });
|
|
52
|
+
}
|
|
53
|
+
}) }),
|
|
54
|
+
/* @__PURE__ */ c("div", {
|
|
55
|
+
className: "ttw:w-12 ttw:min-w-12 ttw:flex ttw:items-center ttw:justify-center",
|
|
56
|
+
children: /* @__PURE__ */ c(t, {
|
|
57
|
+
checked: h("taxable") ?? !1,
|
|
58
|
+
onCheckedChange: (e) => {
|
|
59
|
+
g("taxable", e === !0);
|
|
60
|
+
}
|
|
61
|
+
})
|
|
62
|
+
}),
|
|
63
|
+
y && /* @__PURE__ */ c(e, {
|
|
64
|
+
type: "button",
|
|
65
|
+
variant: "ghost",
|
|
66
|
+
size: "sm",
|
|
67
|
+
className: "ttw:w-10 ttw:text-muted-foreground ttw:hover:bg-transparent ttw:hover:text-destructive ttw:border-l ttw:border-border ttw:pl-4 ttw:rounded-none ttw:has-[>svg]:pr-0",
|
|
68
|
+
onClick: () => v(o),
|
|
69
|
+
children: /* @__PURE__ */ c(s, {})
|
|
70
|
+
})
|
|
71
|
+
]
|
|
100
72
|
});
|
|
101
|
-
};
|
|
73
|
+
});
|
|
102
74
|
//#endregion
|
|
103
|
-
export {
|
|
75
|
+
export { u as InvoiceItemRow };
|
|
@@ -1,47 +1,103 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { useCurrencies as e } from "./index63.js";
|
|
2
|
+
import { cn as t } from "./index49.js";
|
|
3
|
+
import { InputGroup as n, InputGroupAddon as r, InputGroupInput as i } from "./index107.js";
|
|
4
|
+
import "./index217.js";
|
|
5
|
+
import { Field as a, FieldContent as o, FieldError as s, FieldLabel as c } from "./index88.js";
|
|
6
|
+
import { EMPTY_DISCOUNT as l } from "./index93.js";
|
|
7
|
+
import { formatMinorToMajorCurrency as u, getLocaleSeparators as d, parseMajorToMinorCurrency as f, sanitizeDecimalInput as p } from "./index97.js";
|
|
8
|
+
import { useEffect as m, useId as h, useMemo as g, useState as _ } from "react";
|
|
9
|
+
import { jsx as v, jsxs as y } from "@emotion/react/jsx-runtime";
|
|
10
|
+
import { useLingui as b } from "@lingui/react";
|
|
4
11
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js
|
|
5
|
-
var
|
|
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
|
-
|
|
12
|
+
var x = ({ value: x, onChange: S, onBlur: C, currency: w, disabled: T = !1, errorMessage: E }) => {
|
|
13
|
+
let { i18n: D } = b(), { getSymbolFromCurrency: O } = e(), k = h(), A = x ?? l, j = g(() => new Intl.NumberFormat(D.locale, {
|
|
14
|
+
minimumFractionDigits: 2,
|
|
15
|
+
maximumFractionDigits: 2
|
|
16
|
+
}), [D.locale]), { decimal: M, group: N } = g(() => d(D.locale), [D.locale]), P = O(w) || w, F = (e) => A.type === "percentage" ? `${e}%` : `${P}${e}`, [I, L] = _(() => F(u(A.amount, j))), [R, z] = _(!1);
|
|
17
|
+
m(() => {
|
|
18
|
+
if (R) return;
|
|
19
|
+
let e = F(u(A.amount, j));
|
|
20
|
+
e !== I && L(e);
|
|
21
|
+
}, [
|
|
22
|
+
A.amount,
|
|
23
|
+
A.type,
|
|
24
|
+
R,
|
|
25
|
+
j,
|
|
26
|
+
I
|
|
27
|
+
]);
|
|
28
|
+
let B = (e) => f(e.trim(), M, N), V = (e) => p(e, {
|
|
29
|
+
decimalSeparator: M,
|
|
30
|
+
groupSeparator: N
|
|
31
|
+
}), H = (e) => S(e.type === l.type && e.amount === l.amount ? null : e), U = (e) => {
|
|
32
|
+
let t = V(e.target.value);
|
|
33
|
+
L(t), H({
|
|
34
|
+
...A,
|
|
35
|
+
amount: B(t)
|
|
36
|
+
});
|
|
37
|
+
}, W = (e) => {
|
|
38
|
+
z(!1);
|
|
39
|
+
let t = B(V(e.target.value));
|
|
40
|
+
L(F(u(t, j))), H({
|
|
41
|
+
...A,
|
|
42
|
+
amount: t
|
|
43
|
+
}), C?.();
|
|
44
|
+
}, G = [{
|
|
45
|
+
type: "amount",
|
|
46
|
+
label: P
|
|
47
|
+
}, {
|
|
48
|
+
type: "percentage",
|
|
49
|
+
label: "%"
|
|
50
|
+
}];
|
|
51
|
+
return /* @__PURE__ */ y(a, {
|
|
52
|
+
className: "ttw:flex-col",
|
|
53
|
+
children: [/* @__PURE__ */ y(o, {
|
|
54
|
+
className: "ttw:flex-row ttw:justify-end ttw:items-center",
|
|
55
|
+
children: [/* @__PURE__ */ v(c, {
|
|
56
|
+
htmlFor: k,
|
|
57
|
+
className: t(E && "ttw:text-destructive"),
|
|
58
|
+
children: D._("Discount")
|
|
59
|
+
}), /* @__PURE__ */ y(n, {
|
|
60
|
+
className: "ttw:w-40 ttw:overflow-hidden",
|
|
61
|
+
children: [/* @__PURE__ */ v(r, {
|
|
62
|
+
align: "inline-start",
|
|
63
|
+
className: "ttw:gap-0 ttw:self-stretch ttw:p-0 ttw:has-[>button]:ml-0",
|
|
64
|
+
children: G.map((e) => {
|
|
65
|
+
let n = A.type === e.type;
|
|
66
|
+
return /* @__PURE__ */ v("button", {
|
|
67
|
+
type: "button",
|
|
68
|
+
"aria-pressed": n,
|
|
69
|
+
"aria-label": e.label,
|
|
70
|
+
disabled: T,
|
|
71
|
+
className: t("ttw:h-full ttw:w-9 ttw:cursor-pointer ttw:border-r ttw:border-input ttw:text-sm ttw:transition-colors ttw:disabled:pointer-events-none ttw:disabled:opacity-50", n ? "ttw:bg-primary ttw:text-primary-foreground" : "ttw:text-muted-foreground ttw:hover:bg-muted ttw:hover:text-foreground"),
|
|
72
|
+
onClick: () => {
|
|
73
|
+
H({
|
|
74
|
+
...A,
|
|
75
|
+
type: e.type
|
|
76
|
+
}), C?.();
|
|
77
|
+
},
|
|
78
|
+
children: e.label
|
|
79
|
+
}, e.type);
|
|
80
|
+
})
|
|
81
|
+
}), /* @__PURE__ */ v(i, {
|
|
82
|
+
id: k,
|
|
83
|
+
type: "text",
|
|
84
|
+
inputMode: "decimal",
|
|
85
|
+
className: "ttw:text-right",
|
|
86
|
+
"aria-invalid": !!E || void 0,
|
|
87
|
+
disabled: T,
|
|
88
|
+
value: I,
|
|
89
|
+
onChange: U,
|
|
90
|
+
onFocus: (e) => {
|
|
91
|
+
z(!0), L(V(e.target.value));
|
|
92
|
+
},
|
|
93
|
+
onBlur: W
|
|
94
|
+
})]
|
|
95
|
+
})]
|
|
96
|
+
}), E && /* @__PURE__ */ v(s, {
|
|
97
|
+
className: "ttw:text-right",
|
|
98
|
+
children: E
|
|
99
|
+
})]
|
|
44
100
|
});
|
|
45
101
|
};
|
|
46
102
|
//#endregion
|
|
47
|
-
export {
|
|
103
|
+
export { x as InvoiceDiscountField };
|
|
@@ -1,190 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "./index52.js";
|
|
5
|
-
import { Typography as a } from "./index62.js";
|
|
6
|
-
import { Separator as o } from "./index64.js";
|
|
7
|
-
import { Field as s, FieldContent as c, FieldLabel as l } from "./index88.js";
|
|
8
|
-
import { sanitizeTaxRateInput as u } from "./index97.js";
|
|
9
|
-
import { useLineItemManagement as d } from "./index218.js";
|
|
10
|
-
import { useGetMeasureUnits as f } from "./index458.js";
|
|
11
|
-
import { FormErrorDisplay as p, useFormErrors as m } from "./index474.js";
|
|
12
|
-
import "./index475.js";
|
|
13
|
-
import { InvoiceItemRow as ee } from "./index494.js";
|
|
14
|
-
import { InvoiceDiscountField as h } from "./index495.js";
|
|
15
|
-
import { InvoiceTotals as g } from "./index496.js";
|
|
16
|
-
import { useCallback as _, useEffect as v, useRef as y } from "react";
|
|
17
|
-
import { Plus as b } from "lucide-react";
|
|
18
|
-
import { jsx as x, jsxs as S } from "@emotion/react/jsx-runtime";
|
|
19
|
-
import { useLingui as C } from "@lingui/react";
|
|
20
|
-
import { Controller as w, useFormContext as T } from "react-hook-form";
|
|
1
|
+
import { jsx as e, jsxs as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useLingui as n } from "@lingui/react";
|
|
3
|
+
import { twMerge as r } from "tailwind-merge";
|
|
21
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
v(() => (D?.(Y), () => D?.(null)), [D, Y]);
|
|
30
|
-
let Z = y(null), { generalError: Q, fieldErrors: ne } = m(W), $ = _((e, t, n) => {
|
|
31
|
-
let r = t.measureUnit?.id, i = t.measureUnit?.name;
|
|
32
|
-
i && !r ? (X(`line_items.${e}.product.measure_unit_id`, ""), X(`line_items.${e}.product.measure_unit_name`, i), X(`line_items.${e}.measure_unit`, {
|
|
33
|
-
name: i,
|
|
34
|
-
id: null
|
|
35
|
-
})) : (r || n) && (X(`line_items.${e}.product.measure_unit_id`, r || n), X(`line_items.${e}.product.measure_unit_name`, void 0), X(`line_items.${e}.measure_unit`, void 0));
|
|
36
|
-
}, [X]), re = _((e, t, n) => {
|
|
37
|
-
let r = t.label ?? "";
|
|
38
|
-
X(`line_items.${e}.product.name`, r), r.trim() && P(`line_items.${e}.product.name`);
|
|
39
|
-
let i = t.id !== "" && t.id !== "custom" && n;
|
|
40
|
-
if (X(`line_items.${e}.product_id`, i ? t.id : ""), i) {
|
|
41
|
-
X(`line_items.${e}.product.price.value`, t.price?.value ?? 0), X(`line_items.${e}.product.price.currency`, E);
|
|
42
|
-
let n = j(`line_items.${e}.product.measure_unit_id`);
|
|
43
|
-
$(e, t, n), X(`line_items.${e}.quantity`, t.smallestAmount || 1), X(`line_items.${e}.product.smallest_amount`, t.smallestAmount), X(`line_items.${e}.product.type`, "product"), X(`line_items.${e}.product.description`, t.description ?? ""), N(`line_items.${e}`);
|
|
44
|
-
}
|
|
45
|
-
}, [
|
|
46
|
-
E,
|
|
47
|
-
j,
|
|
48
|
-
X,
|
|
49
|
-
$,
|
|
50
|
-
N,
|
|
51
|
-
P
|
|
52
|
-
]);
|
|
53
|
-
return /* @__PURE__ */ S("div", {
|
|
54
|
-
ref: Z,
|
|
55
|
-
className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl",
|
|
5
|
+
var i = ({ label: n, value: i, className: a }) => /* @__PURE__ */ t("li", {
|
|
6
|
+
className: r("ttw:flex ttw:justify-between ttw:items-center", a),
|
|
7
|
+
children: [/* @__PURE__ */ e("span", { children: n }), /* @__PURE__ */ e("span", { children: i?.toString() })]
|
|
8
|
+
}), a = ({ subtotalPrice: r, discountValue: a, nonTaxableSubtotal: o, taxableSubtotal: s, totalTaxes: c, totalPrice: l }) => {
|
|
9
|
+
let { i18n: u } = n();
|
|
10
|
+
return /* @__PURE__ */ t("ul", {
|
|
11
|
+
className: "ttw:w-full ttw:flex ttw:flex-col ttw:gap-1.5 ttw:list-none",
|
|
56
12
|
children: [
|
|
57
|
-
/* @__PURE__ */
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
children: O._("Products and services")
|
|
62
|
-
}), /* @__PURE__ */ x(a, {
|
|
63
|
-
variant: "body2",
|
|
64
|
-
color: "muted",
|
|
65
|
-
className: "ttw:font-medium",
|
|
66
|
-
children: O._("Add the products and services on this invoice. You'll have the option to save new items to your inventory.")
|
|
67
|
-
})]
|
|
13
|
+
/* @__PURE__ */ e(i, {
|
|
14
|
+
label: u._("Subtotal"),
|
|
15
|
+
value: r,
|
|
16
|
+
className: "ttw:text-sm ttw:font-normal"
|
|
68
17
|
}),
|
|
69
|
-
/* @__PURE__ */
|
|
70
|
-
|
|
71
|
-
|
|
18
|
+
/* @__PURE__ */ e(i, {
|
|
19
|
+
label: u._("Discounts"),
|
|
20
|
+
value: a,
|
|
21
|
+
className: "ttw:text-sm ttw:font-normal"
|
|
72
22
|
}),
|
|
73
|
-
/* @__PURE__ */
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
children: [
|
|
78
|
-
/* @__PURE__ */ x(a, {
|
|
79
|
-
variant: "body2",
|
|
80
|
-
className: "ttw:font-medium ttw:leading-5 ttw:min-w-30 ttw:whitespace-nowrap ttw:inline-flex ttw:flex-1",
|
|
81
|
-
children: O._("Item name")
|
|
82
|
-
}),
|
|
83
|
-
/* @__PURE__ */ x(a, {
|
|
84
|
-
variant: "body2",
|
|
85
|
-
className: "ttw:font-medium ttw:leading-5 ttw:w-24 ttw:min-w-24",
|
|
86
|
-
children: O._("Quantity")
|
|
87
|
-
}),
|
|
88
|
-
/* @__PURE__ */ x(a, {
|
|
89
|
-
variant: "body2",
|
|
90
|
-
className: "ttw:font-medium ttw:leading-5 ttw:w-20.5 ttw:min-w-20.5",
|
|
91
|
-
children: O._("Units")
|
|
92
|
-
}),
|
|
93
|
-
/* @__PURE__ */ x(a, {
|
|
94
|
-
variant: "body2",
|
|
95
|
-
className: "ttw:font-medium ttw:leading-5 ttw:max-w-41 ttw:w-full ttw:min-w-29",
|
|
96
|
-
children: O._("Price")
|
|
97
|
-
}),
|
|
98
|
-
/* @__PURE__ */ x(a, {
|
|
99
|
-
variant: "body2",
|
|
100
|
-
className: "ttw:font-medium ttw:leading-5 ttw:w-12 ttw:min-w-12",
|
|
101
|
-
children: O._("Taxable")
|
|
102
|
-
}),
|
|
103
|
-
R.length > 1 && /* @__PURE__ */ x("div", { className: "ttw:w-10 ttw:min-w-10" })
|
|
104
|
-
]
|
|
105
|
-
}), L ? /* @__PURE__ */ x("li", {
|
|
106
|
-
className: "ttw:flex ttw:items-center ttw:justify-center ttw:h-9",
|
|
107
|
-
children: /* @__PURE__ */ x(i, { className: "ttw:w-5 ttw:h-5" })
|
|
108
|
-
}) : R.map((e, t) => /* @__PURE__ */ x(ee, {
|
|
109
|
-
field: e,
|
|
110
|
-
index: t,
|
|
111
|
-
control: k,
|
|
112
|
-
errors: A.errors,
|
|
113
|
-
defaultCurrency: E,
|
|
114
|
-
measureUnitsData: I,
|
|
115
|
-
onRequestLineItemValue: (e) => j(`line_items.${t}.${e}`),
|
|
116
|
-
onLineItemValueChange: (e, n, r) => {
|
|
117
|
-
let i = `line_items.${t}.${e}`;
|
|
118
|
-
J(i, n, r);
|
|
119
|
-
},
|
|
120
|
-
canRemove: R.length > 1,
|
|
121
|
-
autoFocusName: t === G,
|
|
122
|
-
onUpdateItem: re,
|
|
123
|
-
onRemoveItem: q,
|
|
124
|
-
container: Z
|
|
125
|
-
}, e.id))]
|
|
23
|
+
/* @__PURE__ */ e(i, {
|
|
24
|
+
label: u._("Non-taxable subtotal"),
|
|
25
|
+
value: o,
|
|
26
|
+
className: "ttw:text-sm ttw:font-normal ttw:text-muted-foreground"
|
|
126
27
|
}),
|
|
127
|
-
/* @__PURE__ */
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
className: "ttw:text-primary ttw:hover:text-primary ttw:w-fit",
|
|
132
|
-
children: [/* @__PURE__ */ x(b, { className: "ttw:size-5 ttw:text-primary" }), O._("Add item")]
|
|
28
|
+
/* @__PURE__ */ e(i, {
|
|
29
|
+
label: u._("Taxable subtotal"),
|
|
30
|
+
value: s,
|
|
31
|
+
className: "ttw:text-sm ttw:font-normal ttw:text-muted-foreground"
|
|
133
32
|
}),
|
|
134
|
-
/* @__PURE__ */
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
value: e.value,
|
|
139
|
-
onChange: e.onChange,
|
|
140
|
-
onBlur: e.onBlur,
|
|
141
|
-
currency: E,
|
|
142
|
-
errorMessage: A.errors.discount?.amount?.message
|
|
143
|
-
})
|
|
33
|
+
/* @__PURE__ */ e(i, {
|
|
34
|
+
label: u._("Tax"),
|
|
35
|
+
value: c,
|
|
36
|
+
className: "ttw:text-sm ttw:font-normal"
|
|
144
37
|
}),
|
|
145
|
-
/* @__PURE__ */
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
className: "ttw:flex-row ttw:justify-end",
|
|
150
|
-
children: [/* @__PURE__ */ x(l, {
|
|
151
|
-
htmlFor: e.name,
|
|
152
|
-
children: O._("Tax rate")
|
|
153
|
-
}), /* @__PURE__ */ S(t, {
|
|
154
|
-
className: "ttw:w-40 ttw:has-[>[data-align=inline-end]]:[&>input]:pr-0",
|
|
155
|
-
children: [/* @__PURE__ */ x(r, {
|
|
156
|
-
...e,
|
|
157
|
-
value: e.value ?? "",
|
|
158
|
-
id: e.name,
|
|
159
|
-
className: "ttw:text-right",
|
|
160
|
-
placeholder: O._("e.g. 6.25"),
|
|
161
|
-
type: "text",
|
|
162
|
-
inputMode: "decimal",
|
|
163
|
-
onChange: (t) => {
|
|
164
|
-
e.onChange(u(t.target.value));
|
|
165
|
-
},
|
|
166
|
-
onBlur: (t) => {
|
|
167
|
-
let n = t.target.value;
|
|
168
|
-
e.onChange(n.endsWith(".") ? n.slice(0, -1) : n), e.onBlur();
|
|
169
|
-
}
|
|
170
|
-
}), /* @__PURE__ */ x(n, {
|
|
171
|
-
align: "inline-end",
|
|
172
|
-
children: "%"
|
|
173
|
-
})]
|
|
174
|
-
})]
|
|
175
|
-
}) })
|
|
176
|
-
}),
|
|
177
|
-
/* @__PURE__ */ x(o, {}),
|
|
178
|
-
/* @__PURE__ */ x(g, {
|
|
179
|
-
subtotalPrice: z,
|
|
180
|
-
discountValue: te,
|
|
181
|
-
nonTaxableSubtotal: B,
|
|
182
|
-
taxableSubtotal: V,
|
|
183
|
-
totalTaxes: U,
|
|
184
|
-
totalPrice: H
|
|
38
|
+
/* @__PURE__ */ e(i, {
|
|
39
|
+
label: u._("Total"),
|
|
40
|
+
value: l,
|
|
41
|
+
className: "ttw:text-lg ttw:font-medium"
|
|
185
42
|
})
|
|
186
43
|
]
|
|
187
44
|
});
|
|
188
45
|
};
|
|
189
46
|
//#endregion
|
|
190
|
-
export {
|
|
47
|
+
export { a as InvoiceTotals };
|