@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,16 +1,23 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./index46.js";
|
|
2
|
-
import { Skeleton as t } from "./index53.js";
|
|
3
|
-
import { Typography as n } from "./index61.js";
|
|
4
|
-
import { memo as r } from "react";
|
|
5
|
-
import { jsx as i } from "@emotion/react/jsx-runtime";
|
|
6
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
var e = [
|
|
3
|
+
"document_type",
|
|
4
|
+
"department",
|
|
5
|
+
"project",
|
|
6
|
+
"cost_center",
|
|
7
|
+
"vendor_type",
|
|
8
|
+
"payment_method",
|
|
9
|
+
"approval_status"
|
|
10
|
+
], t = (e) => ({
|
|
11
|
+
document_type: e._("Document Type"),
|
|
12
|
+
department: e._("Department"),
|
|
13
|
+
project: e._("Project"),
|
|
14
|
+
cost_center: e._("Cost Center"),
|
|
15
|
+
vendor_type: e._("Vendor Type"),
|
|
16
|
+
payment_method: e._("Payment Method"),
|
|
17
|
+
approval_status: e._("Approval Status")
|
|
14
18
|
});
|
|
19
|
+
function n(e, n) {
|
|
20
|
+
return e ? t(n)[e] : "";
|
|
21
|
+
}
|
|
15
22
|
//#endregion
|
|
16
|
-
export {
|
|
23
|
+
export { n as getTagCategoryLabel, e as tagCategories };
|
|
@@ -1,173 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../../shared/data-access/dist/index.js";
|
|
1
|
+
import { getAPIErrorMessage as e } from "./index27.js";
|
|
3
2
|
import { useMoniteContext as t } from "./index46.js";
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import "
|
|
7
|
-
import {
|
|
8
|
-
import { useUserPermissions as a } from "./index118.js";
|
|
9
|
-
import { GetNoRowsOverlay as o } from "./index250.js";
|
|
10
|
-
import { AccessRestriction as s } from "./index251.js";
|
|
11
|
-
import "./index253.js";
|
|
12
|
-
import { DataTable as c } from "./index255.js";
|
|
13
|
-
import { hasSelectedText as l } from "./index256.js";
|
|
14
|
-
import { useGetProducts as u } from "./index391.js";
|
|
15
|
-
import "./index495.js";
|
|
16
|
-
import { ManageMeasureUnits as d } from "./index497.js";
|
|
17
|
-
import { ProductDeleteModal as f } from "./index551.js";
|
|
18
|
-
import { ProductType as p } from "./index552.js";
|
|
19
|
-
import { FILTER_TYPE_SEARCH as m } from "./index553.js";
|
|
20
|
-
import { Filters as ee } from "./index554.js";
|
|
21
|
-
import { MeasureUnit as h } from "./index555.js";
|
|
22
|
-
import { useCallback as g, useMemo as _, useState as v } from "react";
|
|
23
|
-
import { ArrowDown as y, ArrowUp as b, ArrowUpDown as x, Plus as S } from "lucide-react";
|
|
24
|
-
import { Fragment as C, jsx as w, jsxs as T } from "@emotion/react/jsx-runtime";
|
|
25
|
-
import { useLingui as E } from "@lingui/react";
|
|
3
|
+
import { useEntitySettings as n, usePatchEntitiesIdSettings as r } from "./index142.js";
|
|
4
|
+
import "./index144.js";
|
|
5
|
+
import { toast as i } from "react-hot-toast";
|
|
6
|
+
import { useLingui as a } from "@lingui/react";
|
|
26
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js
|
|
27
|
-
var
|
|
28
|
-
let { i18n:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}), Q = (e, t) => {
|
|
38
|
-
L(void 0), te((n) => ({
|
|
39
|
-
...n,
|
|
40
|
-
[e]: t === "all" ? null : t
|
|
41
|
-
})), i?.({
|
|
42
|
-
field: e,
|
|
43
|
-
value: t
|
|
44
|
-
});
|
|
45
|
-
}, $ = _(() => V ? [{
|
|
46
|
-
id: V.field,
|
|
47
|
-
desc: V.sort === "desc"
|
|
48
|
-
}] : [], [V]), ne = g((e) => {
|
|
49
|
-
let t = typeof e == "function" ? e($) : e;
|
|
50
|
-
if (t.length > 0) {
|
|
51
|
-
let e = {
|
|
52
|
-
field: t[0].id,
|
|
53
|
-
sort: t[0].desc ? "desc" : "asc"
|
|
54
|
-
};
|
|
55
|
-
H(e), D?.(e);
|
|
56
|
-
} else H(void 0);
|
|
57
|
-
L(void 0);
|
|
58
|
-
}, [$, D]), re = _(() => [
|
|
59
|
-
{
|
|
60
|
-
accessorKey: "name",
|
|
61
|
-
header: ({ column: e }) => {
|
|
62
|
-
let t = e.getIsSorted();
|
|
63
|
-
return /* @__PURE__ */ T("div", {
|
|
64
|
-
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
|
|
65
|
-
children: [j._("Name"), /* @__PURE__ */ w(r, {
|
|
66
|
-
variant: "ghost",
|
|
67
|
-
onClick: () => e.toggleSorting(t === "asc"),
|
|
68
|
-
children: w(t === "asc" ? b : t === "desc" ? y : x, { className: "ttw:size-4" })
|
|
69
|
-
})]
|
|
70
|
-
});
|
|
71
|
-
},
|
|
72
|
-
cell: ({ row: e }) => /* @__PURE__ */ w("span", { children: e.original.name })
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
accessorKey: "type",
|
|
76
|
-
header: j._("Type"),
|
|
77
|
-
cell: ({ row: e }) => e.original.type ? /* @__PURE__ */ w(p, { type: e.original.type }) : null
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
accessorKey: "description",
|
|
81
|
-
header: j._("Description"),
|
|
82
|
-
cell: ({ row: e }) => /* @__PURE__ */ w("div", {
|
|
83
|
-
className: "ttw:w-120",
|
|
84
|
-
children: /* @__PURE__ */ w("span", {
|
|
85
|
-
className: "ttw:w-full ttw:inline-block ttw:truncate",
|
|
86
|
-
children: e.original?.description
|
|
87
|
-
})
|
|
88
|
-
})
|
|
8
|
+
var o = ({ setNameError: o, onTagCreated: s, onTagUpdated: c }) => {
|
|
9
|
+
let { i18n: l } = a(), { api: u, queryClient: d } = t(), { data: f } = n(), { mutateAsync: p } = r(), m = f?.payables_ocr_auto_tagging || [], h = u.finops.postTags.useMutation({}, {
|
|
10
|
+
onSuccess: () => u.finops.getTags.invalidateQueries(d),
|
|
11
|
+
onError: (t) => {
|
|
12
|
+
let n = e(l, t);
|
|
13
|
+
n === "This tag already exists." ? o?.(n) : i.error(n);
|
|
14
|
+
}
|
|
15
|
+
}), g = u.finops.patchTagsId.useMutation(void 0, {
|
|
16
|
+
onSuccess: (e) => {
|
|
17
|
+
Promise.all([u.finops.getTags.invalidateQueries(d), u.finops.getTagsId.invalidateQueries({ parameters: { path: { tag_id: e.id } } }, d)]), c?.(e);
|
|
89
18
|
},
|
|
90
|
-
{
|
|
91
|
-
|
|
92
|
-
header: () => /* @__PURE__ */ w("div", {
|
|
93
|
-
className: "ttw:text-right",
|
|
94
|
-
children: j._("Price per unit")
|
|
95
|
-
}),
|
|
96
|
-
cell: ({ row: e }) => {
|
|
97
|
-
let t = e.original.price;
|
|
98
|
-
return /* @__PURE__ */ T("div", {
|
|
99
|
-
className: "ttw:justify-end ttw:flex ttw:gap-1 ttw:items-center",
|
|
100
|
-
children: [t ? N(t.value, t.currency) : "", /* @__PURE__ */ w(h, { unitId: e.original.measure_unit_id ?? "" })]
|
|
101
|
-
});
|
|
102
|
-
}
|
|
19
|
+
onError: (t) => {
|
|
20
|
+
i.error(e(l, t));
|
|
103
21
|
}
|
|
104
|
-
|
|
105
|
-
return
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
onSortingChange: ne,
|
|
113
|
-
pageSize: R,
|
|
114
|
-
onPageSizeChange: z,
|
|
115
|
-
nextPaginationToken: J?.next_pagination_token ?? void 0,
|
|
116
|
-
prevPaginationToken: J?.prev_pagination_token ?? void 0,
|
|
117
|
-
onPaginationTokenChange: L,
|
|
118
|
-
onRowClick: (e) => {
|
|
119
|
-
l() || O?.(e.id);
|
|
120
|
-
},
|
|
121
|
-
filterComponent: /* @__PURE__ */ T("div", {
|
|
122
|
-
className: "ttw:flex ttw:items-center ttw:justify-between ttw:px-4",
|
|
123
|
-
children: [/* @__PURE__ */ w(ee, { onChangeFilter: Q }), /* @__PURE__ */ T("div", {
|
|
124
|
-
className: "ttw:flex ttw:gap-2",
|
|
125
|
-
children: [/* @__PURE__ */ w(r, {
|
|
126
|
-
variant: "ghost",
|
|
127
|
-
onClick: () => F(!0),
|
|
128
|
-
className: "ttw:py-0 ttw:text-primary ttw:hover:text-primary",
|
|
129
|
-
children: j._("Manage units of measure")
|
|
130
|
-
}), /* @__PURE__ */ T(r, {
|
|
131
|
-
disabled: !K,
|
|
132
|
-
onClick: A,
|
|
133
|
-
className: "ttw:py-0",
|
|
134
|
-
children: [/* @__PURE__ */ w(S, {}), j._("Add product or service")]
|
|
135
|
-
})]
|
|
136
|
-
})]
|
|
137
|
-
}),
|
|
138
|
-
children: /* @__PURE__ */ w(o, {
|
|
139
|
-
isLoading: Y,
|
|
140
|
-
dataLength: J?.data.length || 0,
|
|
141
|
-
isFiltering: ie,
|
|
142
|
-
isSearching: ae,
|
|
143
|
-
isError: X,
|
|
144
|
-
onCreate: A,
|
|
145
|
-
refetch: Z,
|
|
146
|
-
filterTitle: j._("No product or service found"),
|
|
147
|
-
filterDescription1: j._("Try adjusting your search or filter criteria"),
|
|
148
|
-
entityName: j._("products or services"),
|
|
149
|
-
actionButtonLabel: j._("Add your first product or service"),
|
|
150
|
-
actionOptions: [j._("Product")],
|
|
151
|
-
noDataTitle: j._("Build your products & services list."),
|
|
152
|
-
noDataDescription1: j._("Save the products and services you sell so you can quickly add them as line items on invoices."),
|
|
153
|
-
type: "no-data"
|
|
154
|
-
})
|
|
155
|
-
})
|
|
22
|
+
});
|
|
23
|
+
return {
|
|
24
|
+
tagsWithKeywords: Object.fromEntries(m.map((e) => [e.tag_id, e.keywords])),
|
|
25
|
+
inProgress: h.isPending || g.isPending,
|
|
26
|
+
createTag: (e) => h.mutateAsync({ ...e }, { onSuccess: (e) => s?.(e) }),
|
|
27
|
+
updateTag: (e, t) => g.mutateAsync({
|
|
28
|
+
path: { tag_id: e },
|
|
29
|
+
body: t
|
|
156
30
|
}),
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
...
|
|
163
|
-
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
31
|
+
updateOcrAutoTagging: (e, t = []) => {
|
|
32
|
+
let n = m.filter((t) => t.tag_id !== e);
|
|
33
|
+
if (n.length === m.length && !t.length) return;
|
|
34
|
+
let r = t.length ? [...n, {
|
|
35
|
+
tag_id: e,
|
|
36
|
+
keywords: [...new Set(t)],
|
|
37
|
+
enabled: !0
|
|
38
|
+
}] : n;
|
|
39
|
+
r.length && p({
|
|
40
|
+
tax_mode: f.tax_mode,
|
|
41
|
+
payment_priority: f.payment_priority,
|
|
42
|
+
quote_signature_required: f.quote_signature_required,
|
|
43
|
+
receivable_edit_flow: f.receivable_edit_flow,
|
|
44
|
+
allow_purchase_order_autolinking: f.allow_purchase_order_autolinking,
|
|
45
|
+
generate_paid_invoice_pdf: f.generate_paid_invoice_pdf,
|
|
46
|
+
payables_ocr_auto_tagging: r,
|
|
47
|
+
payables_skip_approval_flow: f.payables_skip_approval_flow,
|
|
48
|
+
tax_inclusive_discount_mode: f.tax_inclusive_discount_mode
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
};
|
|
171
52
|
};
|
|
172
53
|
//#endregion
|
|
173
|
-
export {
|
|
54
|
+
export { o as useTags };
|
|
@@ -1,212 +1,66 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "
|
|
6
|
-
import {
|
|
7
|
-
import { Label as m } from "./index86.js";
|
|
8
|
-
import { Field as h, FieldContent as g, FieldError as _, FieldLabel as v } from "./index87.js";
|
|
9
|
-
import { RadioGroup as y, RadioGroupItem as b } from "./index89.js";
|
|
10
|
-
import { useGetMeasureUnits as x } from "./index462.js";
|
|
11
|
-
import "./index482.js";
|
|
12
|
-
import "./index495.js";
|
|
13
|
-
import { useCallback as S, useMemo as C, useRef as w } from "react";
|
|
14
|
-
import { jsx as T, jsxs as E } from "@emotion/react/jsx-runtime";
|
|
15
|
-
import { useLingui as D } from "@lingui/react";
|
|
16
|
-
import { twMerge as O } from "tailwind-merge";
|
|
17
|
-
import { Controller as k, useFormContext as A } from "react-hook-form";
|
|
1
|
+
import { cn as e } from "./index48.js";
|
|
2
|
+
import { Label as t } from "./index86.js";
|
|
3
|
+
import * as n from "react";
|
|
4
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
5
|
+
import { Slot as i } from "@radix-ui/react-slot";
|
|
6
|
+
import { Controller as a, FormProvider as o, useFormContext as s, useFormState as c } from "react-hook-form";
|
|
18
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js
|
|
19
|
-
var
|
|
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
|
-
children: [/* @__PURE__ */ T(b, {
|
|
45
|
-
value: "product",
|
|
46
|
-
id: "type-product",
|
|
47
|
-
className: O(e.value === "product" ? "ttw:bg-primary" : "ttw:bg-white"),
|
|
48
|
-
dotClassName: O(e.value === "product" && "ttw:fill-white"),
|
|
49
|
-
disabled: j
|
|
50
|
-
}), /* @__PURE__ */ E(m, {
|
|
51
|
-
htmlFor: "type-product",
|
|
52
|
-
className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5",
|
|
53
|
-
children: [/* @__PURE__ */ T(p, {
|
|
54
|
-
variant: "body2",
|
|
55
|
-
className: "ttw:leading-3.5",
|
|
56
|
-
children: P._("Product")
|
|
57
|
-
}), /* @__PURE__ */ T(p, {
|
|
58
|
-
variant: "caption",
|
|
59
|
-
color: "muted",
|
|
60
|
-
children: P._("A physical or digital item")
|
|
61
|
-
})]
|
|
62
|
-
})]
|
|
63
|
-
}), /* @__PURE__ */ E("div", {
|
|
64
|
-
className: O("ttw:flex ttw:p-4 ttw:flex-1 ttw:gap-2 ttw:border ttw:rounded-xl ttw:border-border ttw:hover:bg-primary/10 ttw:hover:border-primary/30", e.value === "service" && "ttw:bg-primary/10 ttw:border-primary/30"),
|
|
65
|
-
children: [/* @__PURE__ */ T(b, {
|
|
66
|
-
value: "service",
|
|
67
|
-
id: "type-service",
|
|
68
|
-
className: O(e.value === "service" ? "ttw:bg-primary" : "ttw:bg-white"),
|
|
69
|
-
dotClassName: O(e.value === "service" && "ttw:fill-white"),
|
|
70
|
-
disabled: j
|
|
71
|
-
}), /* @__PURE__ */ E(m, {
|
|
72
|
-
htmlFor: "type-service",
|
|
73
|
-
className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5",
|
|
74
|
-
children: [/* @__PURE__ */ T(p, {
|
|
75
|
-
variant: "body2",
|
|
76
|
-
className: "ttw:leading-3.5",
|
|
77
|
-
children: P._("Service")
|
|
78
|
-
}), /* @__PURE__ */ T(p, {
|
|
79
|
-
variant: "caption",
|
|
80
|
-
color: "muted",
|
|
81
|
-
children: P._("Work or labor you provide")
|
|
82
|
-
})]
|
|
83
|
-
})]
|
|
84
|
-
})]
|
|
85
|
-
})]
|
|
86
|
-
})
|
|
87
|
-
}),
|
|
88
|
-
/* @__PURE__ */ T(k, {
|
|
89
|
-
name: "name",
|
|
90
|
-
control: z,
|
|
91
|
-
render: ({ field: e, fieldState: { error: n } }) => /* @__PURE__ */ T(h, { children: /* @__PURE__ */ E(g, { children: [
|
|
92
|
-
/* @__PURE__ */ T(v, {
|
|
93
|
-
htmlFor: e.name,
|
|
94
|
-
children: P._("Name")
|
|
95
|
-
}),
|
|
96
|
-
/* @__PURE__ */ T(t, {
|
|
97
|
-
...e,
|
|
98
|
-
id: e.name,
|
|
99
|
-
placeholder: P._("e.g. House blend espresso beans"),
|
|
100
|
-
className: M ? "ttw:bg-white" : "",
|
|
101
|
-
disabled: j,
|
|
102
|
-
"aria-invalid": !!n || void 0
|
|
103
|
-
}),
|
|
104
|
-
/* @__PURE__ */ T(_, { errors: [n] })
|
|
105
|
-
] }) })
|
|
106
|
-
}),
|
|
107
|
-
/* @__PURE__ */ E("div", {
|
|
108
|
-
className: "ttw:w-1/2 ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
109
|
-
children: [
|
|
110
|
-
/* @__PURE__ */ T(v, { children: P._("Price per unit") }),
|
|
111
|
-
/* @__PURE__ */ E("div", {
|
|
112
|
-
className: O("ttw:flex ttw:overflow-hidden ttw:rounded-md ttw:border ttw:border-input ttw:shadow-xs ttw:transition-[color,box-shadow]", "ttw:focus-within:border-ring ttw:focus-within:ring-[3px] ttw:focus-within:ring-ring/50", "ttw:has-[[data-slot][aria-invalid=true]]:border-destructive ttw:has-[[data-slot][aria-invalid=true]]:ring-[3px] ttw:has-[[data-slot][aria-invalid=true]]:ring-destructive/20", M && "ttw:bg-white"),
|
|
113
|
-
ref: I,
|
|
114
|
-
children: [
|
|
115
|
-
/* @__PURE__ */ T(k, {
|
|
116
|
-
name: "pricePerUnit",
|
|
117
|
-
control: z,
|
|
118
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ E(n, {
|
|
119
|
-
className: "ttw:flex-1 ttw:border-0 ttw:shadow-none ttw:rounded-none ttw:has-[[data-slot=input-group-control]:focus-visible]:border-transparent ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-0",
|
|
120
|
-
children: [/* @__PURE__ */ T(r, {
|
|
121
|
-
align: "inline-start",
|
|
122
|
-
children: F("USD")
|
|
123
|
-
}), /* @__PURE__ */ T(i, {
|
|
124
|
-
type: "number",
|
|
125
|
-
name: e.name,
|
|
126
|
-
ref: e.ref,
|
|
127
|
-
value: e.value ?? "",
|
|
128
|
-
onChange: (t) => e.onChange(t.target.value === "" ? void 0 : Number(t.target.value)),
|
|
129
|
-
className: "ttw:text-end",
|
|
130
|
-
onBlur: e.onBlur,
|
|
131
|
-
placeholder: "0.00",
|
|
132
|
-
"aria-invalid": !!t || void 0,
|
|
133
|
-
disabled: j
|
|
134
|
-
})]
|
|
135
|
-
})
|
|
136
|
-
}),
|
|
137
|
-
/* @__PURE__ */ T("div", { className: "ttw:w-px ttw:shrink-0 ttw:bg-border" }),
|
|
138
|
-
/* @__PURE__ */ T(k, {
|
|
139
|
-
name: "measureUnitId",
|
|
140
|
-
control: z,
|
|
141
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ E(o, {
|
|
142
|
-
value: e.value ?? null,
|
|
143
|
-
onValueChange: (t) => e.onChange(t ?? void 0),
|
|
144
|
-
items: V,
|
|
145
|
-
itemToStringLabel: U,
|
|
146
|
-
disabled: j,
|
|
147
|
-
children: [/* @__PURE__ */ T(u, {
|
|
148
|
-
showClear: !!e.value,
|
|
149
|
-
placeholder: "-",
|
|
150
|
-
disabled: j,
|
|
151
|
-
"aria-invalid": !!t || void 0,
|
|
152
|
-
className: "ttw:w-28 ttw:border-0 ttw:shadow-none ttw:rounded-none ttw:has-[[data-slot=input-group-control]:focus-visible]:border-transparent ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-0"
|
|
153
|
-
}), /* @__PURE__ */ T(c, {
|
|
154
|
-
container: I.current,
|
|
155
|
-
children: /* @__PURE__ */ E(f, { children: [/* @__PURE__ */ T(l, { children: P._("No units found") }), /* @__PURE__ */ T(s, { children: (e) => /* @__PURE__ */ T(d, {
|
|
156
|
-
value: e,
|
|
157
|
-
children: U(e)
|
|
158
|
-
}, e) })] })
|
|
159
|
-
})]
|
|
160
|
-
})
|
|
161
|
-
})
|
|
162
|
-
]
|
|
163
|
-
}),
|
|
164
|
-
/* @__PURE__ */ T(_, { errors: [B.pricePerUnit, B.measureUnitId] })
|
|
165
|
-
]
|
|
166
|
-
}),
|
|
167
|
-
/* @__PURE__ */ T(k, {
|
|
168
|
-
name: "description",
|
|
169
|
-
control: z,
|
|
170
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ T(h, {
|
|
171
|
-
className: "ttw:block",
|
|
172
|
-
children: /* @__PURE__ */ E(g, { children: [
|
|
173
|
-
/* @__PURE__ */ E(v, {
|
|
174
|
-
htmlFor: e.name,
|
|
175
|
-
className: "ttw:gap-1",
|
|
176
|
-
children: [P._("Description"), /* @__PURE__ */ T(p, {
|
|
177
|
-
variant: "body2",
|
|
178
|
-
color: "muted",
|
|
179
|
-
className: "ttw:leading-snug",
|
|
180
|
-
children: P._("(optional)")
|
|
181
|
-
})]
|
|
182
|
-
}),
|
|
183
|
-
/* @__PURE__ */ E(n, {
|
|
184
|
-
className: O(M && "ttw:bg-white"),
|
|
185
|
-
children: [/* @__PURE__ */ T(a, {
|
|
186
|
-
...e,
|
|
187
|
-
id: e.name,
|
|
188
|
-
placeholder: P._("e.g. 16oz whole bean, medium-dark roast, ground to order"),
|
|
189
|
-
rows: 4,
|
|
190
|
-
maxLength: 255,
|
|
191
|
-
disabled: j,
|
|
192
|
-
"aria-invalid": !!t || void 0
|
|
193
|
-
}), /* @__PURE__ */ T(r, {
|
|
194
|
-
align: "block-end",
|
|
195
|
-
className: "ttw:cursor-default",
|
|
196
|
-
children: /* @__PURE__ */ T(p, {
|
|
197
|
-
variant: "caption",
|
|
198
|
-
color: "muted",
|
|
199
|
-
className: "ttw:leading-none",
|
|
200
|
-
children: P._("{count}/255 characters", { count: (e.value ?? "").length })
|
|
201
|
-
})
|
|
202
|
-
})]
|
|
203
|
-
}),
|
|
204
|
-
/* @__PURE__ */ T(_, { errors: [t] })
|
|
205
|
-
] })
|
|
206
|
-
})
|
|
207
|
-
})
|
|
208
|
-
]
|
|
8
|
+
var l = o, u = n.createContext({}), d = ({ ...e }) => /* @__PURE__ */ r(u.Provider, {
|
|
9
|
+
value: { name: e.name },
|
|
10
|
+
children: /* @__PURE__ */ r(a, { ...e })
|
|
11
|
+
}), f = () => {
|
|
12
|
+
let e = n.useContext(u), t = n.useContext(p), { getFieldState: r } = s(), i = c({ name: e.name }), a = r(e.name, i);
|
|
13
|
+
if (!e) throw Error("useFormField should be used within <FormField>");
|
|
14
|
+
let { id: o } = t;
|
|
15
|
+
return {
|
|
16
|
+
id: o,
|
|
17
|
+
name: e.name,
|
|
18
|
+
formItemId: `${o}-form-item`,
|
|
19
|
+
formDescriptionId: `${o}-form-item-description`,
|
|
20
|
+
formMessageId: `${o}-form-item-message`,
|
|
21
|
+
...a
|
|
22
|
+
};
|
|
23
|
+
}, p = n.createContext({});
|
|
24
|
+
function m({ className: t, ...i }) {
|
|
25
|
+
let a = n.useId();
|
|
26
|
+
return /* @__PURE__ */ r(p.Provider, {
|
|
27
|
+
value: { id: a },
|
|
28
|
+
children: /* @__PURE__ */ r("div", {
|
|
29
|
+
"data-slot": "form-item",
|
|
30
|
+
className: e("ttw:grid ttw:gap-2", t),
|
|
31
|
+
...i
|
|
32
|
+
})
|
|
209
33
|
});
|
|
210
|
-
}
|
|
34
|
+
}
|
|
35
|
+
function h({ className: n, ...i }) {
|
|
36
|
+
let { error: a, formItemId: o } = f();
|
|
37
|
+
return /* @__PURE__ */ r(t, {
|
|
38
|
+
"data-slot": "form-label",
|
|
39
|
+
"data-error": !!a,
|
|
40
|
+
className: e("ttw:data-[error=true]:text-destructive", n),
|
|
41
|
+
htmlFor: o,
|
|
42
|
+
...i
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function g({ ...e }) {
|
|
46
|
+
let { error: t, formItemId: n, formDescriptionId: a, formMessageId: o } = f();
|
|
47
|
+
return /* @__PURE__ */ r(i, {
|
|
48
|
+
"data-slot": "form-control",
|
|
49
|
+
id: n,
|
|
50
|
+
"aria-describedby": t ? `${a} ${o}` : `${a}`,
|
|
51
|
+
"aria-invalid": !!t,
|
|
52
|
+
...e
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
function _({ className: t, ...n }) {
|
|
56
|
+
let { error: i, formMessageId: a } = f(), o = i ? String(i?.message ?? "") : n.children;
|
|
57
|
+
return o ? /* @__PURE__ */ r("p", {
|
|
58
|
+
"data-slot": "form-message",
|
|
59
|
+
id: a,
|
|
60
|
+
className: e("ttw:text-destructive ttw:text-sm", t),
|
|
61
|
+
...n,
|
|
62
|
+
children: o
|
|
63
|
+
}) : null;
|
|
64
|
+
}
|
|
211
65
|
//#endregion
|
|
212
|
-
export {
|
|
66
|
+
export { l as Form, g as FormControl, d as FormField, m as FormItem, h as FormLabel, _ as FormMessage, f as useFormField };
|