@tesouro/embedded-components-react 0.5.138 → 0.5.139
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 +0 -6
- package/dist/lib/monite-sdk.js +50 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +1 -1
- 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 +51 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +575 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +1 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +157 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +1 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +24 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +10 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +10 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +16 -597
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +0 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +93 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +75 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +126 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +11 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +5 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +62 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +120 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +21 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +6 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +37 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +7 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +72 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +26 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +61 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +19 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +20 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +183 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +29 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +3 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +59 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +31 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +11 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +34 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +43 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +5 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +9 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +20 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +12 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +13 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +13 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +15 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +37 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +14 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +15 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +20 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +5 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +119 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +62 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +1 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +196 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +1 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +41 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +5 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +3 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +407 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +18 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +95 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +20 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +17 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +180 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +98 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +49 -419
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +18 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +158 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +7 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +55 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +47 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +51 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +80 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +21 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +307 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +1 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +158 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +1 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +34 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +34 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +3 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +105 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +181 -340
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +134 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +209 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +14 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +229 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +34 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +135 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +163 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +26 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +8 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +36 -207
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +154 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +67 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +217 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +42 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +0 -241
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +83 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +184 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +169 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +15 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +19 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +383 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +88 -151
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +198 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +30 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +84 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +136 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +35 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +58 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +54 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +135 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +552 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +145 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +142 -382
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +36 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +59 -195
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +67 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +147 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +57 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +82 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +14 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +16 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +21 -552
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +89 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +41 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +27 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +1 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +16 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +12 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +5 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +13 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +18 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +102 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +35 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +43 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +71 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +99 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +47 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +186 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +139 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +130 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +77 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +245 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +6 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +398 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +22 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +18 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +44 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +45 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +14 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +39 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +140 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +112 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +39 -246
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +33 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +24 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +22 -399
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +73 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +71 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +18 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +179 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +138 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +28 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +93 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +17 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +44 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +15 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +27 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +36 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +76 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +33 -177
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +82 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +50 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +1 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +37 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +1 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +133 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +109 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +49 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +787 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +88 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +101 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +6 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +23 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +11 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +11 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +23 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +165 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +208 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +87 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +17 -789
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +154 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +98 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +46 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +4 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +20 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +47 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +63 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +164 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +175 -148
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +1 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +34 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +21 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +72 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +18 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +9 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +13 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +130 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +5 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +219 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +34 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +179 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +203 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +98 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +66 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +51 -216
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +91 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +40 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +69 -174
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +80 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +12 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +21 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +16 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +4 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +22 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +1 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +64 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +36 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +18 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +31 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +2 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +93 -28
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index10.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index2.js +13 -8
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index3.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index4.js +31 -6
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index5.js +22 -13
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index6.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index7.js +19 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index8.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index9.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index10.js +2 -3
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index11.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index4.js +16 -58
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index5.js +95 -3
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index7.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index8.js +18 -21
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index9.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index2.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/{shared/tag-selection/ui/dist/index3.js → settings-widget/tags/ui/dist/index5.js} +2 -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/packages/shared-ui-shadcn/dist/index.js +539 -533
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index608.js +0 -97
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index2.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index3.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index4.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index5.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index6.js +0 -35
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index7.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/index.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/lib/TagSelectorField.js +0 -11
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/lib/helpers.js +0 -38
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/lib/labels.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/lib/permissions.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/lib/useTagCreateForm.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/ui/dist/index.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/ui/dist/index2.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/ui/dist/index4.js +0 -4
|
@@ -1,75 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { PriceField as r } from "./index480.js";
|
|
5
|
-
import { QuantityField as i } from "./index481.js";
|
|
6
|
-
import { MeasureUnitField as a } from "./index498.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";
|
|
1
|
+
import { useIsMounted as e } from "./index29.js";
|
|
2
|
+
import "./index222.js";
|
|
3
|
+
import { useEffect as t, useRef as n } from "react";
|
|
10
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js
|
|
11
|
-
var
|
|
12
|
-
let
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
-
]
|
|
72
|
-
});
|
|
73
|
-
});
|
|
5
|
+
var r = (r, i = 100) => {
|
|
6
|
+
let a = n(r), o = n(void 0), s = e();
|
|
7
|
+
a.current = r, t(() => {
|
|
8
|
+
if (typeof window > "u") return;
|
|
9
|
+
let e = () => {
|
|
10
|
+
o.current && clearTimeout(o.current), o.current = setTimeout(() => {
|
|
11
|
+
s.current && a.current();
|
|
12
|
+
}, i);
|
|
13
|
+
};
|
|
14
|
+
return window.addEventListener("resize", e), () => {
|
|
15
|
+
window.removeEventListener("resize", e), o.current && clearTimeout(o.current);
|
|
16
|
+
};
|
|
17
|
+
}, [i, s]);
|
|
18
|
+
};
|
|
74
19
|
//#endregion
|
|
75
|
-
export {
|
|
20
|
+
export { r as useWindowResize };
|
|
@@ -1,103 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { cn as t } from "./index48.js";
|
|
3
|
-
import { InputGroup as n, InputGroupAddon as r, InputGroupInput as i } from "./index109.js";
|
|
4
|
-
import "./index222.js";
|
|
5
|
-
import { Field as a, FieldContent as o, FieldError as s, FieldLabel as c } from "./index87.js";
|
|
6
|
-
import { EMPTY_DISCOUNT as l } from "./index92.js";
|
|
7
|
-
import { formatMinorToMajorCurrency as u, getLocaleSeparators as d, parseMajorToMinorCurrency as f, sanitizeDecimalInput as p } from "./index99.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";
|
|
1
|
+
import { useEffect as e, useState as t } from "react";
|
|
11
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
})]
|
|
3
|
+
var n = {
|
|
4
|
+
width: 8.5,
|
|
5
|
+
height: 11
|
|
6
|
+
}, r = {
|
|
7
|
+
width: 816,
|
|
8
|
+
height: 1056
|
|
9
|
+
}, i = () => {
|
|
10
|
+
let [i, a] = t({
|
|
11
|
+
...r,
|
|
12
|
+
dpi: 96
|
|
100
13
|
});
|
|
14
|
+
return e(() => {
|
|
15
|
+
if (typeof window > "u") return;
|
|
16
|
+
let e = () => {
|
|
17
|
+
let e = [
|
|
18
|
+
72,
|
|
19
|
+
96,
|
|
20
|
+
120,
|
|
21
|
+
144,
|
|
22
|
+
192,
|
|
23
|
+
240,
|
|
24
|
+
288,
|
|
25
|
+
384
|
|
26
|
+
], t = 96;
|
|
27
|
+
for (let n of e) if (window.matchMedia(`(resolution: ${n}dpi)`).matches) {
|
|
28
|
+
t = n;
|
|
29
|
+
break;
|
|
30
|
+
}
|
|
31
|
+
let r = window.devicePixelRatio || 1, i = t * r, o = document.createElement("div");
|
|
32
|
+
o.style.width = "1in", o.style.height = "1in", o.style.position = "absolute", o.style.left = "-9999px", document.body.appendChild(o);
|
|
33
|
+
let s = o.getBoundingClientRect(), c = Math.round(s.width);
|
|
34
|
+
document.body.removeChild(o);
|
|
35
|
+
let l = c > 0 ? c : i, u = Math.round(n.width * l), d = Math.round(n.height * l);
|
|
36
|
+
a({
|
|
37
|
+
width: u,
|
|
38
|
+
height: d,
|
|
39
|
+
dpi: l
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
return e(), window.addEventListener("resize", e), () => {
|
|
43
|
+
window.removeEventListener("resize", e);
|
|
44
|
+
};
|
|
45
|
+
}, []), i;
|
|
101
46
|
};
|
|
102
47
|
//#endregion
|
|
103
|
-
export {
|
|
48
|
+
export { r as LETTER_PX, i as useLetterDimensions };
|
|
@@ -1,47 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { useIsMounted as e } from "./index29.js";
|
|
2
|
+
import "./index222.js";
|
|
3
|
+
import { useResizeObserver as t } from "./index498.js";
|
|
4
|
+
import { useWindowResize as n } from "./index499.js";
|
|
5
|
+
import { LETTER_PX as r, useLetterDimensions as i } from "./index500.js";
|
|
6
|
+
import { useCallback as a, useEffect as o, useRef as s, useState as c } from "react";
|
|
4
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index501.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
|
-
]
|
|
44
|
-
});
|
|
8
|
+
var l = (l, u, d = {}) => {
|
|
9
|
+
let { minWidth: f, minHeight: p, containerPadding: m = 96, minScale: h = 1, initialDelay: g = 100, useAdaptiveDimensions: _ = !0 } = d, [v, y] = c(1), b = s(!1), x = e(), S = i(), C = f ?? (_ ? S.width : r.width), w = p ?? (_ ? S.height : r.height), T = a(() => {
|
|
10
|
+
if (!l.current || !u.current || typeof window > "u" || !x.current) return;
|
|
11
|
+
let e = l.current, t = e.clientWidth - m, n = e.clientHeight - m;
|
|
12
|
+
if (t <= 0 || n <= 0 || C <= 0 || w <= 0) {
|
|
13
|
+
y(h);
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
let r = t / C, i = n / w;
|
|
17
|
+
y(Math.max(Math.min(r, i), h));
|
|
18
|
+
}, [
|
|
19
|
+
l,
|
|
20
|
+
u,
|
|
21
|
+
x,
|
|
22
|
+
m,
|
|
23
|
+
C,
|
|
24
|
+
w,
|
|
25
|
+
h
|
|
26
|
+
]);
|
|
27
|
+
n(T, 100);
|
|
28
|
+
let { observe: E, disconnect: D } = t(T, 50);
|
|
29
|
+
return o(() => {
|
|
30
|
+
if (typeof window > "u") return;
|
|
31
|
+
let e = setTimeout(() => {
|
|
32
|
+
T(), b.current = !0;
|
|
33
|
+
}, g);
|
|
34
|
+
return l.current && E(l.current), () => {
|
|
35
|
+
clearTimeout(e), D();
|
|
36
|
+
};
|
|
37
|
+
}, [
|
|
38
|
+
E,
|
|
39
|
+
D,
|
|
40
|
+
g,
|
|
41
|
+
T,
|
|
42
|
+
l
|
|
43
|
+
]), o(() => {
|
|
44
|
+
l.current && b.current && E(l.current);
|
|
45
|
+
}, [l, E]), v;
|
|
45
46
|
};
|
|
46
47
|
//#endregion
|
|
47
|
-
export {
|
|
48
|
+
export { l as useAdaptiveScale };
|
|
@@ -1,191 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { LoadingSpinner as i } from "./index50.js";
|
|
4
|
-
import "./index51.js";
|
|
5
|
-
import { Typography as a } from "./index61.js";
|
|
6
|
-
import { Separator as o } from "./index63.js";
|
|
7
|
-
import { Field as s, FieldContent as c, FieldError as l, FieldLabel as u } from "./index87.js";
|
|
8
|
-
import { sanitizeTaxRateInput as d } from "./index99.js";
|
|
9
|
-
import { useLineItemManagement as f } from "./index223.js";
|
|
10
|
-
import { useGetMeasureUnits as p } from "./index462.js";
|
|
11
|
-
import { FormErrorDisplay as m, useFormErrors as h } from "./index478.js";
|
|
12
|
-
import "./index479.js";
|
|
13
|
-
import { InvoiceItemRow as g } from "./index499.js";
|
|
14
|
-
import { InvoiceDiscountField as _ } from "./index500.js";
|
|
15
|
-
import { InvoiceTotals as v } from "./index501.js";
|
|
16
|
-
import { useCallback as y, useEffect as b, useRef as x } from "react";
|
|
17
|
-
import { Plus as S } from "lucide-react";
|
|
18
|
-
import { jsx as C, jsxs as w } from "@emotion/react/jsx-runtime";
|
|
19
|
-
import { useLingui as ee } from "@lingui/react";
|
|
20
|
-
import { Controller as T, useFormContext as E } from "react-hook-form";
|
|
1
|
+
import { cn as e } from "./index48.js";
|
|
2
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
21
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
name: i,
|
|
34
|
-
id: null
|
|
35
|
-
})) : (r || n) && (Z(`line_items.${e}.product.measure_unit_id`, r || n), Z(`line_items.${e}.product.measure_unit_name`, void 0), Z(`line_items.${e}.measure_unit`, void 0));
|
|
36
|
-
}, [Z]), ie = y((e, t, n) => {
|
|
37
|
-
let r = t.label ?? "";
|
|
38
|
-
Z(`line_items.${e}.product.name`, r), r.trim() && F(`line_items.${e}.product.name`);
|
|
39
|
-
let i = t.id !== "" && t.id !== "custom" && n;
|
|
40
|
-
if (Z(`line_items.${e}.product_id`, i ? t.id : ""), i) {
|
|
41
|
-
Z(`line_items.${e}.product.price.value`, t.price?.value ?? 0), Z(`line_items.${e}.product.price.currency`, D);
|
|
42
|
-
let n = M(`line_items.${e}.product.measure_unit_id`);
|
|
43
|
-
$(e, t, n), Z(`line_items.${e}.quantity`, t.smallestAmount || 1), Z(`line_items.${e}.product.smallest_amount`, t.smallestAmount), Z(`line_items.${e}.product.type`, "product"), Z(`line_items.${e}.product.description`, t.description ?? ""), P(`line_items.${e}`);
|
|
44
|
-
}
|
|
45
|
-
}, [
|
|
46
|
-
D,
|
|
47
|
-
M,
|
|
48
|
-
Z,
|
|
49
|
-
$,
|
|
50
|
-
P,
|
|
51
|
-
F
|
|
52
|
-
]);
|
|
53
|
-
return /* @__PURE__ */ w("div", {
|
|
54
|
-
ref: Q,
|
|
55
|
-
className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl",
|
|
56
|
-
children: [
|
|
57
|
-
/* @__PURE__ */ w("div", {
|
|
58
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4",
|
|
59
|
-
children: [/* @__PURE__ */ C(a, {
|
|
60
|
-
variant: "h4",
|
|
61
|
-
children: k._("Products and services")
|
|
62
|
-
}), /* @__PURE__ */ C(a, {
|
|
63
|
-
variant: "body2",
|
|
64
|
-
color: "muted",
|
|
65
|
-
className: "ttw:font-medium",
|
|
66
|
-
children: k._("Add the products and services on this invoice. You'll have the option to save new items to your inventory.")
|
|
67
|
-
})]
|
|
68
|
-
}),
|
|
69
|
-
/* @__PURE__ */ C(m, {
|
|
70
|
-
generalError: j?.errors?.line_items?.root?.message ?? ne,
|
|
71
|
-
fieldErrors: re
|
|
72
|
-
}),
|
|
73
|
-
/* @__PURE__ */ w("ul", {
|
|
74
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2.5",
|
|
75
|
-
children: [/* @__PURE__ */ w("li", {
|
|
76
|
-
className: "ttw:flex ttw:items-center ttw:gap-2.5 ttw:h-5",
|
|
77
|
-
children: [
|
|
78
|
-
/* @__PURE__ */ C(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: k._("Item name")
|
|
82
|
-
}),
|
|
83
|
-
/* @__PURE__ */ C(a, {
|
|
84
|
-
variant: "body2",
|
|
85
|
-
className: "ttw:font-medium ttw:leading-5 ttw:w-24 ttw:min-w-24",
|
|
86
|
-
children: k._("Quantity")
|
|
87
|
-
}),
|
|
88
|
-
/* @__PURE__ */ C(a, {
|
|
89
|
-
variant: "body2",
|
|
90
|
-
className: "ttw:font-medium ttw:leading-5 ttw:w-20.5 ttw:min-w-20.5",
|
|
91
|
-
children: k._("Units")
|
|
92
|
-
}),
|
|
93
|
-
/* @__PURE__ */ C(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: k._("Price")
|
|
97
|
-
}),
|
|
98
|
-
/* @__PURE__ */ C(a, {
|
|
99
|
-
variant: "body2",
|
|
100
|
-
className: "ttw:font-medium ttw:leading-5 ttw:w-12 ttw:min-w-12",
|
|
101
|
-
children: k._("Taxable")
|
|
102
|
-
}),
|
|
103
|
-
z.length > 1 && /* @__PURE__ */ C("div", { className: "ttw:w-10 ttw:min-w-10" })
|
|
104
|
-
]
|
|
105
|
-
}), R ? /* @__PURE__ */ C("li", {
|
|
106
|
-
className: "ttw:flex ttw:items-center ttw:justify-center ttw:h-9",
|
|
107
|
-
children: /* @__PURE__ */ C(i, { className: "ttw:w-5 ttw:h-5" })
|
|
108
|
-
}) : z.map((e, t) => /* @__PURE__ */ C(g, {
|
|
109
|
-
field: e,
|
|
110
|
-
index: t,
|
|
111
|
-
control: A,
|
|
112
|
-
errors: j.errors,
|
|
113
|
-
defaultCurrency: D,
|
|
114
|
-
measureUnitsData: L,
|
|
115
|
-
onRequestLineItemValue: (e) => M(`line_items.${t}.${e}`),
|
|
116
|
-
onLineItemValueChange: (e, n, r) => {
|
|
117
|
-
let i = `line_items.${t}.${e}`;
|
|
118
|
-
Y(i, n, r);
|
|
119
|
-
},
|
|
120
|
-
canRemove: z.length > 1,
|
|
121
|
-
autoFocusName: t === K,
|
|
122
|
-
onUpdateItem: ie,
|
|
123
|
-
onRemoveItem: J,
|
|
124
|
-
container: Q
|
|
125
|
-
}, e.id))]
|
|
126
|
-
}),
|
|
127
|
-
/* @__PURE__ */ w(e, {
|
|
128
|
-
type: "button",
|
|
129
|
-
variant: "ghost",
|
|
130
|
-
onClick: q,
|
|
131
|
-
className: "ttw:text-primary ttw:hover:text-primary ttw:w-fit",
|
|
132
|
-
children: [/* @__PURE__ */ C(S, { className: "ttw:size-5 ttw:text-primary" }), k._("Add item")]
|
|
133
|
-
}),
|
|
134
|
-
/* @__PURE__ */ C(T, {
|
|
135
|
-
name: "discount",
|
|
136
|
-
control: A,
|
|
137
|
-
render: ({ field: e }) => /* @__PURE__ */ C(_, {
|
|
138
|
-
value: e.value,
|
|
139
|
-
onChange: e.onChange,
|
|
140
|
-
onBlur: e.onBlur,
|
|
141
|
-
currency: D,
|
|
142
|
-
errorMessage: j.errors.discount?.amount?.message
|
|
143
|
-
})
|
|
144
|
-
}),
|
|
145
|
-
/* @__PURE__ */ C(T, {
|
|
146
|
-
name: "tax_rate",
|
|
147
|
-
control: A,
|
|
148
|
-
render: ({ field: e, fieldState: { error: i } }) => /* @__PURE__ */ w(s, { children: [/* @__PURE__ */ w(c, {
|
|
149
|
-
className: "ttw:flex-row ttw:justify-end",
|
|
150
|
-
children: [/* @__PURE__ */ C(u, {
|
|
151
|
-
htmlFor: e.name,
|
|
152
|
-
children: k._("Tax rate")
|
|
153
|
-
}), /* @__PURE__ */ w(t, {
|
|
154
|
-
className: "ttw:w-40 ttw:has-[>[data-align=inline-end]]:[&>input]:pr-0",
|
|
155
|
-
children: [/* @__PURE__ */ C(r, {
|
|
156
|
-
...e,
|
|
157
|
-
value: e.value ?? "",
|
|
158
|
-
id: e.name,
|
|
159
|
-
"aria-invalid": !!i || void 0,
|
|
160
|
-
className: "ttw:text-right",
|
|
161
|
-
placeholder: k._("e.g. 6.25"),
|
|
162
|
-
type: "text",
|
|
163
|
-
inputMode: "decimal",
|
|
164
|
-
onChange: (t) => {
|
|
165
|
-
e.onChange(d(t.target.value));
|
|
166
|
-
},
|
|
167
|
-
onBlur: (t) => {
|
|
168
|
-
let n = t.target.value;
|
|
169
|
-
e.onChange(n.endsWith(".") ? n.slice(0, -1) : n), e.onBlur();
|
|
170
|
-
}
|
|
171
|
-
}), /* @__PURE__ */ C(n, {
|
|
172
|
-
align: "inline-end",
|
|
173
|
-
children: "%"
|
|
174
|
-
})]
|
|
175
|
-
})]
|
|
176
|
-
}), /* @__PURE__ */ C(l, { errors: [i] })] })
|
|
177
|
-
}),
|
|
178
|
-
/* @__PURE__ */ C(o, {}),
|
|
179
|
-
/* @__PURE__ */ C(v, {
|
|
180
|
-
subtotalPrice: te,
|
|
181
|
-
discountValue: B,
|
|
182
|
-
nonTaxableSubtotal: V,
|
|
183
|
-
taxableSubtotal: H,
|
|
184
|
-
totalTaxes: W,
|
|
185
|
-
totalPrice: U
|
|
186
|
-
})
|
|
187
|
-
]
|
|
188
|
-
});
|
|
189
|
-
};
|
|
4
|
+
var n = ({ ratio: n, children: r, className: i, style: a, ref: o, ...s }) => /* @__PURE__ */ t("div", {
|
|
5
|
+
ref: o,
|
|
6
|
+
className: e("ttw:w-full", i),
|
|
7
|
+
style: {
|
|
8
|
+
...a,
|
|
9
|
+
aspectRatio: n.toString()
|
|
10
|
+
},
|
|
11
|
+
...s,
|
|
12
|
+
children: r
|
|
13
|
+
});
|
|
14
|
+
n.displayName = "AspectRatio";
|
|
190
15
|
//#endregion
|
|
191
|
-
export {
|
|
16
|
+
export { n as AspectRatio };
|