@tesouro/embedded-components-react 0.5.136 → 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/index.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/monite-sdk.js +50 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +26 -129
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +145 -204
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +214 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +4 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +5 -111
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +113 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +93 -79
- 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/counterpart-management/data-access/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index3.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.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,220 +1,33 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./index46.js";
|
|
2
|
-
import { useCurrencies as t } from "./index62.js";
|
|
3
|
-
import { MoniteScopedProviders as n } from "./index241.js";
|
|
4
|
-
import { Skeleton as r } from "./index53.js";
|
|
5
|
-
import { useInvoicesFilter as i } from "./index146.js";
|
|
6
|
-
import { useGetReceivables as a } from "./index192.js";
|
|
7
|
-
import { isSortableColumn as o } from "./index181.js";
|
|
8
|
-
import "./index182.js";
|
|
9
|
-
import { InvoiceStatusChip as s } from "./index242.js";
|
|
10
|
-
import { GetNoRowsOverlay as c } from "./index250.js";
|
|
11
|
-
import { DataTable as l, SortableHeader as u } from "./index255.js";
|
|
12
|
-
import { DueDateCell as d } from "./index440.js";
|
|
13
|
-
import "./index441.js";
|
|
14
|
-
import { InvoicesCounterpartCell as f } from "./index449.js";
|
|
15
|
-
import { InvoiceRecurrenceStatusChip as p } from "./index450.js";
|
|
16
|
-
import { InvoicesFilterBar as m } from "./index451.js";
|
|
17
|
-
import { InvoiceStatusCardsFilter as h } from "./index452.js";
|
|
18
|
-
import { useEffect as g, useState as _ } from "react";
|
|
19
|
-
import { Fragment as v, jsx as y, jsxs as b } from "@emotion/react/jsx-runtime";
|
|
20
|
-
import { useLingui as x } from "@lingui/react";
|
|
21
|
-
import S from "@mui/icons-material/Sync";
|
|
22
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}] : [], U = (e) => {
|
|
46
|
-
let t = typeof e == "function" ? e(H) : e;
|
|
47
|
-
t.length > 0 && o(t[0].id) ? N({
|
|
48
|
-
field: t[0].id,
|
|
49
|
-
sort: t[0].desc ? "desc" : "asc"
|
|
50
|
-
}) : N({
|
|
51
|
-
field: C?.sort ?? "due_date",
|
|
52
|
-
sort: C?.order ?? "desc"
|
|
53
|
-
}), k(void 0);
|
|
54
|
-
}, W = [
|
|
55
|
-
{
|
|
56
|
-
accessorKey: "due_date",
|
|
57
|
-
header: ({ column: e }) => /* @__PURE__ */ y(u, {
|
|
58
|
-
column: e,
|
|
59
|
-
title: D._("Due date"),
|
|
60
|
-
ariaLabel: D._("Sort by due date")
|
|
61
|
-
}),
|
|
62
|
-
cell: ({ row: e }) => /* @__PURE__ */ y(d, {
|
|
63
|
-
data: e.original,
|
|
64
|
-
emptyLabel: D._("Pending")
|
|
65
|
-
})
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
accessorKey: "status",
|
|
69
|
-
header: ({ column: e }) => /* @__PURE__ */ y(u, {
|
|
70
|
-
column: e,
|
|
71
|
-
title: D._("Status"),
|
|
72
|
-
ariaLabel: D._("Sort by status")
|
|
73
|
-
}),
|
|
74
|
-
cell: ({ row: e }) => {
|
|
75
|
-
if (e.original.type === "invoice" && e.original.status !== "recurring") return /* @__PURE__ */ y(s, {
|
|
76
|
-
status: e.original.status,
|
|
77
|
-
dotSize: "small"
|
|
78
|
-
});
|
|
79
|
-
if (e.original.type === "invoice" && e.original.status === "recurring") return /* @__PURE__ */ y(T, { recurrenceId: e.original.recurrence_id ?? "" });
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
accessorKey: "document_id",
|
|
84
|
-
header: ({ column: e }) => /* @__PURE__ */ y(u, {
|
|
85
|
-
column: e,
|
|
86
|
-
title: D._("Number"),
|
|
87
|
-
ariaLabel: D._("Sort by number")
|
|
88
|
-
}),
|
|
89
|
-
cell: ({ row: e }) => {
|
|
90
|
-
let t = e.original.document_id;
|
|
91
|
-
return e.original.status === "recurring" ? /* @__PURE__ */ b("div", {
|
|
92
|
-
className: "ttw:flex ttw:items-center ttw:gap-1 ttw:text-inherit",
|
|
93
|
-
children: [/* @__PURE__ */ y(S, {
|
|
94
|
-
sx: { fontSize: "inherit" },
|
|
95
|
-
color: "inherit"
|
|
96
|
-
}), t || D._("Recurring")]
|
|
97
|
-
}) : t || D._("Pending");
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
accessorKey: "counterpart_name",
|
|
102
|
-
header: D._("Customer"),
|
|
103
|
-
cell: ({ row: e }) => /* @__PURE__ */ y(f, {
|
|
104
|
-
counterpartName: e.original.counterpart_name,
|
|
105
|
-
counterpartId: e.original.counterpart_id
|
|
106
|
-
})
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
accessorKey: "issue_date",
|
|
110
|
-
header: ({ column: e }) => /* @__PURE__ */ y(u, {
|
|
111
|
-
column: e,
|
|
112
|
-
title: D._("Issue date"),
|
|
113
|
-
ariaLabel: D._("Sort by issue date")
|
|
114
|
-
}),
|
|
115
|
-
cell: ({ row: e }) => {
|
|
116
|
-
let t = e.original.issue_date;
|
|
117
|
-
return t ? D.date(t, w.dateFormat) : D._("Pending");
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
accessorKey: "total_amount",
|
|
122
|
-
header: ({ column: e }) => /* @__PURE__ */ y("div", {
|
|
123
|
-
className: "ttw:flex ttw:justify-end",
|
|
124
|
-
children: /* @__PURE__ */ y(u, {
|
|
125
|
-
column: e,
|
|
126
|
-
title: D._("Amount"),
|
|
127
|
-
ariaLabel: D._("Sort by amount")
|
|
128
|
-
})
|
|
129
|
-
}),
|
|
130
|
-
cell: ({ row: e }) => {
|
|
131
|
-
let t = e.original.total_amount;
|
|
132
|
-
return /* @__PURE__ */ y("div", {
|
|
133
|
-
className: "ttw:text-right",
|
|
134
|
-
children: t ? P(t, e.original.currency) : ""
|
|
135
|
-
});
|
|
136
|
-
}
|
|
2
|
+
function e(e) {
|
|
3
|
+
return e ? {
|
|
4
|
+
number_of_days: e.number_of_days ?? null,
|
|
5
|
+
discount: e.discount ?? null
|
|
6
|
+
} : null;
|
|
7
|
+
}
|
|
8
|
+
function t(t) {
|
|
9
|
+
return JSON.stringify({
|
|
10
|
+
name: t.name,
|
|
11
|
+
description: t.description ?? null,
|
|
12
|
+
term_final: { number_of_days: t.term_final?.number_of_days ?? null },
|
|
13
|
+
term_1: e(t.term_1),
|
|
14
|
+
term_2: e(t.term_2)
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function n(e) {
|
|
18
|
+
let n = /* @__PURE__ */ new Map(), r = [], i = /* @__PURE__ */ new Map();
|
|
19
|
+
for (let a of e) {
|
|
20
|
+
let e = t(a), o = n.get(e);
|
|
21
|
+
if (!o) {
|
|
22
|
+
n.set(e, a.id), r.push(a);
|
|
23
|
+
continue;
|
|
137
24
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}), /* @__PURE__ */ y(l, {
|
|
146
|
-
columns: W,
|
|
147
|
-
data: R?.data ?? [],
|
|
148
|
-
sorting: H,
|
|
149
|
-
onSortingChange: U,
|
|
150
|
-
pageSize: A,
|
|
151
|
-
onPageSizeChange: j,
|
|
152
|
-
nextPaginationToken: R?.next_pagination_token ?? void 0,
|
|
153
|
-
prevPaginationToken: R?.prev_pagination_token ?? void 0,
|
|
154
|
-
onPaginationTokenChange: k,
|
|
155
|
-
onRowClick: (e) => r?.(e.id),
|
|
156
|
-
rowLabel: D._("invoices"),
|
|
157
|
-
filterComponent: /* @__PURE__ */ y(m, {
|
|
158
|
-
searchValue: F.state.search,
|
|
159
|
-
onSearchChange: (e) => F.setState((t) => ({
|
|
160
|
-
...t,
|
|
161
|
-
search: e
|
|
162
|
-
})),
|
|
163
|
-
activeFilterCount: F.activeFilterCount,
|
|
164
|
-
activeChips: F.activeChips,
|
|
165
|
-
onDismissChip: F.clearFilter,
|
|
166
|
-
onClearAll: F.clearAll,
|
|
167
|
-
activeDateFields: F.state.activeDateFields,
|
|
168
|
-
onDateFieldRangeChange: (e, { from: t, to: n }) => F.setDateFieldRange(e, t, n),
|
|
169
|
-
onDateFieldPresetChange: F.setDateFieldPreset,
|
|
170
|
-
allPresets: F.datePresets,
|
|
171
|
-
statusOptions: F.statusOptions,
|
|
172
|
-
selectedStatus: F.state.status,
|
|
173
|
-
onStatusChange: (e) => F.setState((t) => ({
|
|
174
|
-
...t,
|
|
175
|
-
status: e
|
|
176
|
-
})),
|
|
177
|
-
amountMode: F.state.amountMode,
|
|
178
|
-
onAmountModeChange: (e) => F.setState((t) => ({
|
|
179
|
-
...t,
|
|
180
|
-
amountMode: e
|
|
181
|
-
})),
|
|
182
|
-
amountMin: F.state.amountMin,
|
|
183
|
-
amountMax: F.state.amountMax,
|
|
184
|
-
onAmountMinChange: (e) => F.setState((t) => ({
|
|
185
|
-
...t,
|
|
186
|
-
amountMin: e
|
|
187
|
-
})),
|
|
188
|
-
onAmountMaxChange: (e) => F.setState((t) => ({
|
|
189
|
-
...t,
|
|
190
|
-
amountMax: e
|
|
191
|
-
})),
|
|
192
|
-
customerName: F.state.customerName,
|
|
193
|
-
onCustomerNameChange: (e) => F.setState((t) => ({
|
|
194
|
-
...t,
|
|
195
|
-
customerName: e
|
|
196
|
-
}))
|
|
197
|
-
}),
|
|
198
|
-
children: /* @__PURE__ */ y(c, {
|
|
199
|
-
isLoading: z,
|
|
200
|
-
dataLength: R?.data.length || 0,
|
|
201
|
-
isFiltering: G,
|
|
202
|
-
isSearching: K,
|
|
203
|
-
isError: B,
|
|
204
|
-
onCreate: () => p?.(!0),
|
|
205
|
-
refetch: V,
|
|
206
|
-
entityName: D._("Invoices"),
|
|
207
|
-
actionButtonLabel: D._("Create Invoice"),
|
|
208
|
-
actionOptions: [D._("Invoice")],
|
|
209
|
-
type: "no-data"
|
|
210
|
-
})
|
|
211
|
-
})] });
|
|
212
|
-
}, T = ({ recurrenceId: t }) => {
|
|
213
|
-
let { api: n } = e(), { data: i, isLoading: a } = n.finops.getRecurrencesId.useQuery({ path: { recurrence_id: t } });
|
|
214
|
-
return a ? /* @__PURE__ */ y(r, { className: "ttw:w-full ttw:inline-block" }) : i?.status ? /* @__PURE__ */ y(p, {
|
|
215
|
-
status: i.status,
|
|
216
|
-
dotSize: "small"
|
|
217
|
-
}) : null;
|
|
218
|
-
};
|
|
25
|
+
i.set(a.id, o);
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
dedupedTerms: r,
|
|
29
|
+
duplicateIdMap: i
|
|
30
|
+
};
|
|
31
|
+
}
|
|
219
32
|
//#endregion
|
|
220
|
-
export {
|
|
33
|
+
export { n as dedupePaymentTermsByContent };
|
|
@@ -1,42 +1,88 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { cn as e } from "./index48.js";
|
|
2
|
+
import { Button as t, buttonVariants as n } from "./index55.js";
|
|
3
|
+
import * as r from "react";
|
|
4
|
+
import { ChevronDownIcon as i, ChevronLeftIcon as a, ChevronRightIcon as o } from "lucide-react";
|
|
5
|
+
import { jsx as s } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { DayPicker as c, getDefaultClassNames as l } from "react-day-picker";
|
|
5
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js
|
|
6
|
-
|
|
7
|
-
let
|
|
8
|
-
return /* @__PURE__ */
|
|
9
|
-
|
|
10
|
-
className: "
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
8
|
+
function u({ className: t, classNames: r, showOutsideDays: u = !0, captionLayout: f = "label", buttonVariant: p = "ghost", formatters: m, components: h, ...g }) {
|
|
9
|
+
let _ = l();
|
|
10
|
+
return /* @__PURE__ */ s(c, {
|
|
11
|
+
showOutsideDays: u,
|
|
12
|
+
className: e("ttw:bg-background ttw:group/calendar ttw:p-3 ttw:[--cell-size:--spacing(8)] ttw:[[data-slot=card-content]_&]:bg-transparent ttw:[[data-slot=popover-content]_&]:bg-transparent", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`, t),
|
|
13
|
+
captionLayout: f,
|
|
14
|
+
formatters: {
|
|
15
|
+
formatMonthDropdown: (e) => e.toLocaleString("default", { month: "short" }),
|
|
16
|
+
...m
|
|
17
|
+
},
|
|
18
|
+
classNames: {
|
|
19
|
+
root: e("ttw:w-fit", _.root),
|
|
20
|
+
months: e("ttw:flex ttw:gap-4 ttw:flex-col ttw:md:flex-row ttw:relative", _.months),
|
|
21
|
+
month: e("ttw:flex ttw:flex-col ttw:w-full ttw:gap-4", _.month),
|
|
22
|
+
nav: e("ttw:flex ttw:items-center ttw:gap-1 ttw:w-full ttw:absolute ttw:top-0 ttw:inset-x-0 ttw:justify-between", _.nav),
|
|
23
|
+
button_previous: e(n({ variant: p }), "ttw:size-(--cell-size) ttw:aria-disabled:opacity-50 ttw:p-0 ttw:select-none", _.button_previous),
|
|
24
|
+
button_next: e(n({ variant: p }), "ttw:size-(--cell-size) ttw:aria-disabled:opacity-50 ttw:p-0 ttw:select-none", _.button_next),
|
|
25
|
+
month_caption: e("ttw:flex ttw:items-center ttw:justify-center ttw:h-(--cell-size) ttw:w-full ttw:px-(--cell-size)", _.month_caption),
|
|
26
|
+
dropdowns: e("ttw:w-full ttw:flex ttw:items-center ttw:text-sm ttw:font-medium ttw:justify-center ttw:h-(--cell-size) ttw:gap-1.5", _.dropdowns),
|
|
27
|
+
dropdown_root: e("ttw:relative ttw:has-focus:border-ring ttw:border ttw:border-input ttw:shadow-xs ttw:has-focus:ring-ring/50 ttw:has-focus:ring-[3px] ttw:rounded-md", _.dropdown_root),
|
|
28
|
+
dropdown: e("ttw:absolute ttw:bg-popover ttw:inset-0 ttw:opacity-0", _.dropdown),
|
|
29
|
+
caption_label: e("ttw:select-none ttw:font-medium", f === "label" ? "ttw:text-sm" : "ttw:rounded-md ttw:pl-2 ttw:pr-1 ttw:flex ttw:items-center ttw:gap-1 ttw:text-sm ttw:h-8 ttw:[&>svg]:text-muted-foreground ttw:[&>svg]:size-3.5", _.caption_label),
|
|
30
|
+
table: "ttw:w-full ttw:border-collapse",
|
|
31
|
+
weekdays: e("ttw:flex", _.weekdays),
|
|
32
|
+
weekday: e("ttw:text-muted-foreground ttw:rounded-md ttw:flex-1 ttw:font-normal ttw:text-[0.8rem] ttw:select-none", _.weekday),
|
|
33
|
+
week: e("ttw:flex ttw:w-full ttw:mt-2", _.week),
|
|
34
|
+
week_number_header: e("ttw:select-none ttw:w-(--cell-size)", _.week_number_header),
|
|
35
|
+
week_number: e("ttw:text-[0.8rem] ttw:select-none ttw:text-muted-foreground", _.week_number),
|
|
36
|
+
day: e("ttw:relative ttw:w-full ttw:h-full ttw:p-0 ttw:text-center ttw:[&:first-child[data-selected=true]_button]:rounded-l-md ttw:[&:last-child[data-selected=true]_button]:rounded-r-md ttw:group/day ttw:aspect-square ttw:select-none", _.day),
|
|
37
|
+
range_start: e("ttw:rounded-l-md ttw:bg-accent", _.range_start),
|
|
38
|
+
range_middle: e("ttw:rounded-none", _.range_middle),
|
|
39
|
+
range_end: e("ttw:rounded-r-md ttw:bg-accent", _.range_end),
|
|
40
|
+
today: e("ttw:bg-accent ttw:text-accent-foreground ttw:rounded-md ttw:data-[selected=true]:rounded-none", _.today),
|
|
41
|
+
outside: e("ttw:text-muted-foreground ttw:aria-selected:text-muted-foreground", _.outside),
|
|
42
|
+
disabled: e("ttw:text-muted-foreground ttw:opacity-50", _.disabled),
|
|
43
|
+
hidden: e("ttw:invisible", _.hidden),
|
|
44
|
+
...r
|
|
45
|
+
},
|
|
46
|
+
components: {
|
|
47
|
+
Root: ({ className: t, rootRef: n, ...r }) => /* @__PURE__ */ s("div", {
|
|
48
|
+
"data-slot": "calendar",
|
|
49
|
+
ref: n,
|
|
50
|
+
className: e(t),
|
|
51
|
+
...r
|
|
27
52
|
}),
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
53
|
+
Chevron: ({ className: t, orientation: n, ...r }) => s(n === "left" ? a : n === "right" ? o : i, {
|
|
54
|
+
className: e("ttw:size-4", t),
|
|
55
|
+
...r
|
|
56
|
+
}),
|
|
57
|
+
DayButton: d,
|
|
58
|
+
WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ s("td", {
|
|
59
|
+
...t,
|
|
60
|
+
children: /* @__PURE__ */ s("div", {
|
|
61
|
+
className: "ttw:flex ttw:size-(--cell-size) ttw:items-center ttw:justify-center ttw:text-center",
|
|
62
|
+
children: e
|
|
63
|
+
})
|
|
64
|
+
}),
|
|
65
|
+
...h
|
|
66
|
+
},
|
|
67
|
+
...g
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function d({ className: n, day: i, modifiers: a, ...o }) {
|
|
71
|
+
let c = l(), u = r.useRef(null);
|
|
72
|
+
return r.useEffect(() => {
|
|
73
|
+
a.focused && u.current?.focus();
|
|
74
|
+
}, [a.focused]), /* @__PURE__ */ s(t, {
|
|
75
|
+
ref: u,
|
|
76
|
+
variant: "ghost",
|
|
77
|
+
size: "icon",
|
|
78
|
+
"data-day": i.date.toLocaleDateString(),
|
|
79
|
+
"data-selected-single": a.selected && !a.range_start && !a.range_end && !a.range_middle,
|
|
80
|
+
"data-range-start": a.range_start,
|
|
81
|
+
"data-range-end": a.range_end,
|
|
82
|
+
"data-range-middle": a.range_middle,
|
|
83
|
+
className: e("ttw:data-[selected-single=true]:bg-primary ttw:data-[selected-single=true]:text-primary-foreground ttw:data-[range-middle=true]:bg-accent ttw:data-[range-middle=true]:text-accent-foreground ttw:data-[range-start=true]:bg-primary ttw:data-[range-start=true]:text-primary-foreground ttw:data-[range-end=true]:bg-primary ttw:data-[range-end=true]:text-primary-foreground ttw:group-data-[focused=true]/day:border-ring ttw:group-data-[focused=true]/day:ring-ring/50 ttw:dark:hover:text-accent-foreground ttw:flex ttw:aspect-square ttw:size-auto ttw:w-full ttw:min-w-(--cell-size) ttw:flex-col ttw:gap-1 ttw:leading-none ttw:font-normal ttw:group-data-[focused=true]/day:relative ttw:group-data-[focused=true]/day:z-1300 ttw:group-data-[focused=true]/day:ring-[3px] ttw:data-[range-end=true]:rounded-md ttw:data-[range-end=true]:rounded-r-md ttw:data-[range-middle=true]:rounded-none ttw:data-[range-start=true]:rounded-md ttw:data-[range-start=true]:rounded-l-md ttw:[&>span]:text-xs ttw:[&>span]:opacity-70", c.day, n),
|
|
84
|
+
...o
|
|
39
85
|
});
|
|
40
|
-
}
|
|
86
|
+
}
|
|
41
87
|
//#endregion
|
|
42
|
-
export {
|
|
88
|
+
export { u as Calendar, d as CalendarDayButton };
|
|
@@ -1 +1,136 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { calculateDueDate as e } from "./index52.js";
|
|
2
|
+
import { cn as t } from "./index48.js";
|
|
3
|
+
import { Skeleton as n } from "./index53.js";
|
|
4
|
+
import { Field as r, FieldContent as i, FieldDescription as a, FieldError as o, FieldLabel as s } from "./index87.js";
|
|
5
|
+
import "./index92.js";
|
|
6
|
+
import { Select as c, SelectContent as l, SelectItem as u, SelectSeparator as d, SelectTrigger as f, SelectValue as p } from "./index107.js";
|
|
7
|
+
import { RECEIPT_DUE_PAYMENT_TERM as m } from "./index176.js";
|
|
8
|
+
import { Popover as h, PopoverAnchor as g, PopoverContent as _ } from "./index431.js";
|
|
9
|
+
import { dedupePaymentTermsByContent as v } from "./index453.js";
|
|
10
|
+
import { Calendar as y } from "./index454.js";
|
|
11
|
+
import { useMemo as b, useState as x } from "react";
|
|
12
|
+
import { Calendar as S } from "lucide-react";
|
|
13
|
+
import { addYears as C, format as w, max as T, min as E } from "date-fns";
|
|
14
|
+
import { Fragment as D, jsx as O, jsxs as k } from "@emotion/react/jsx-runtime";
|
|
15
|
+
import { useLingui as A } from "@lingui/react";
|
|
16
|
+
import { Controller as j, useFormContext as M } from "react-hook-form";
|
|
17
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js
|
|
18
|
+
var N = "MMM d, yyyy", P = ({ disabled: P, paymentTerms: F, isLoading: I }) => {
|
|
19
|
+
let { i18n: L } = A(), { control: R, watch: z, setValue: B } = M(), [V, H] = x(!1), U = z("payment_terms_id"), W = z("frequency") !== "once", G = z("payment_terms_custom_date") ?? void 0, K = (e) => B("payment_terms_custom_date", e ?? null), { dedupedTerms: q } = b(() => v(F?.data ?? []), [F]), J = q.find((e) => e?.id === U), Y = J && e(J), X = b(() => {
|
|
20
|
+
let e = /* @__PURE__ */ new Date(), t = C(e, 5);
|
|
21
|
+
return {
|
|
22
|
+
start: G ? E([e, G]) : e,
|
|
23
|
+
end: G ? T([t, G]) : t
|
|
24
|
+
};
|
|
25
|
+
}, [G]), Z = () => {
|
|
26
|
+
window.setTimeout(() => H(!0), 0);
|
|
27
|
+
}, Q = (e, t) => /* @__PURE__ */ k("span", {
|
|
28
|
+
className: "ttw:flex ttw:w-full ttw:min-w-0 ttw:items-center ttw:justify-between ttw:gap-2",
|
|
29
|
+
children: [/* @__PURE__ */ O("span", {
|
|
30
|
+
className: "ttw:truncate",
|
|
31
|
+
children: e
|
|
32
|
+
}), t && /* @__PURE__ */ O("span", {
|
|
33
|
+
className: "ttw:text-muted-foreground ttw:shrink-0 ttw:text-xs",
|
|
34
|
+
children: w(t, N)
|
|
35
|
+
})]
|
|
36
|
+
});
|
|
37
|
+
return /* @__PURE__ */ O(D, { children: I ? /* @__PURE__ */ O(n, { className: "ttw:w-full ttw:h-9" }) : /* @__PURE__ */ O(D, { children: /* @__PURE__ */ O(j, {
|
|
38
|
+
name: "payment_terms_id",
|
|
39
|
+
control: R,
|
|
40
|
+
render: ({ field: n, fieldState: { error: v } }) => /* @__PURE__ */ O(r, { children: /* @__PURE__ */ k(i, { children: [
|
|
41
|
+
/* @__PURE__ */ O(s, {
|
|
42
|
+
htmlFor: "payment_terms_id",
|
|
43
|
+
children: L._("Payment terms")
|
|
44
|
+
}),
|
|
45
|
+
/* @__PURE__ */ k(h, {
|
|
46
|
+
open: V,
|
|
47
|
+
onOpenChange: (e) => {
|
|
48
|
+
H(e), !e && U === "custom" && !G && n.onChange(void 0);
|
|
49
|
+
},
|
|
50
|
+
children: [/* @__PURE__ */ k(c, {
|
|
51
|
+
...n,
|
|
52
|
+
disabled: P,
|
|
53
|
+
value: n.value,
|
|
54
|
+
onValueChange: (e) => {
|
|
55
|
+
if (e === "custom") {
|
|
56
|
+
U !== "custom" && K(void 0), n.onChange(e), Z();
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
n.onChange(e), e === "receipt_due" && B("payment_reminder_id", "", { shouldDirty: !0 }), K(void 0), H(!1);
|
|
60
|
+
},
|
|
61
|
+
children: [/* @__PURE__ */ O(g, {
|
|
62
|
+
className: "ttw:w-full",
|
|
63
|
+
children: /* @__PURE__ */ O(f, {
|
|
64
|
+
id: "payment_terms_id",
|
|
65
|
+
className: "ttw:w-full",
|
|
66
|
+
"aria-invalid": !!v,
|
|
67
|
+
children: /* @__PURE__ */ k(p, {
|
|
68
|
+
placeholder: L._("Select payment terms"),
|
|
69
|
+
children: [
|
|
70
|
+
U === "receipt_due" && /* @__PURE__ */ O("span", {
|
|
71
|
+
className: "ttw:truncate",
|
|
72
|
+
children: L._("Due on receipt")
|
|
73
|
+
}),
|
|
74
|
+
U === "custom" && /* @__PURE__ */ k("span", {
|
|
75
|
+
className: "ttw:flex ttw:w-full ttw:min-w-0 ttw:items-center ttw:justify-between ttw:gap-2",
|
|
76
|
+
children: [/* @__PURE__ */ k("span", {
|
|
77
|
+
className: "ttw:flex ttw:min-w-0 ttw:items-center ttw:gap-1.5",
|
|
78
|
+
children: [/* @__PURE__ */ O(S, { className: t("ttw:size-4 ttw:shrink-0", !G && "ttw:text-muted-foreground") }), /* @__PURE__ */ O("span", {
|
|
79
|
+
className: t("ttw:truncate", !G && "ttw:text-muted-foreground"),
|
|
80
|
+
children: G ? w(G, N) : L._("Mon DD, YYYY")
|
|
81
|
+
})]
|
|
82
|
+
}), /* @__PURE__ */ O("span", {
|
|
83
|
+
className: "ttw:text-muted-foreground ttw:shrink-0 ttw:text-xs",
|
|
84
|
+
children: L._("Custom date")
|
|
85
|
+
})]
|
|
86
|
+
}),
|
|
87
|
+
J && Q(J.name, Y)
|
|
88
|
+
]
|
|
89
|
+
})
|
|
90
|
+
})
|
|
91
|
+
}), /* @__PURE__ */ k(l, { children: [
|
|
92
|
+
/* @__PURE__ */ O(u, {
|
|
93
|
+
value: m,
|
|
94
|
+
children: L._("Due on receipt")
|
|
95
|
+
}),
|
|
96
|
+
!W && /* @__PURE__ */ O(u, {
|
|
97
|
+
value: "custom",
|
|
98
|
+
onPointerUp: Z,
|
|
99
|
+
onClick: Z,
|
|
100
|
+
onKeyDown: (e) => {
|
|
101
|
+
(e.key === "Enter" || e.key === " ") && Z();
|
|
102
|
+
},
|
|
103
|
+
children: L._("Custom date")
|
|
104
|
+
}),
|
|
105
|
+
/* @__PURE__ */ O(d, {}),
|
|
106
|
+
q.map((t) => /* @__PURE__ */ O(u, {
|
|
107
|
+
value: t.id,
|
|
108
|
+
children: Q(t.name, e(t))
|
|
109
|
+
}, t.id))
|
|
110
|
+
] })]
|
|
111
|
+
}), /* @__PURE__ */ O(_, {
|
|
112
|
+
className: "ttw:w-auto ttw:overflow-hidden ttw:p-0",
|
|
113
|
+
align: "start",
|
|
114
|
+
onFocusOutside: (e) => {
|
|
115
|
+
e.preventDefault();
|
|
116
|
+
},
|
|
117
|
+
children: /* @__PURE__ */ O(y, {
|
|
118
|
+
mode: "single",
|
|
119
|
+
captionLayout: "dropdown",
|
|
120
|
+
selected: G,
|
|
121
|
+
disabled: { before: /* @__PURE__ */ new Date() },
|
|
122
|
+
startMonth: X.start,
|
|
123
|
+
endMonth: X.end,
|
|
124
|
+
onSelect: (e) => {
|
|
125
|
+
K(e), H(!1);
|
|
126
|
+
}
|
|
127
|
+
})
|
|
128
|
+
})]
|
|
129
|
+
}),
|
|
130
|
+
W && /* @__PURE__ */ O(a, { children: L._("Each invoice in the series will have the same payment term.") }),
|
|
131
|
+
/* @__PURE__ */ O(o, { errors: v ? [v] : [] })
|
|
132
|
+
] }) })
|
|
133
|
+
}) }) });
|
|
134
|
+
};
|
|
135
|
+
//#endregion
|
|
136
|
+
export { P as PaymentSection };
|
|
@@ -1,84 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import "
|
|
8
|
-
import {
|
|
9
|
-
import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
10
|
-
import { FormControl as c, MenuItem as l, Select as u } from "@mui/material";
|
|
11
|
-
import { useLingui as d } from "@lingui/react";
|
|
12
|
-
import { DatePicker as f } from "@mui/x-date-pickers";
|
|
13
|
-
import p from "@mui/icons-material/CalendarToday";
|
|
1
|
+
import { Button as e } from "./index55.js";
|
|
2
|
+
import { Popover as t, PopoverContent as n, PopoverTrigger as r } from "./index431.js";
|
|
3
|
+
import { Calendar as i } from "./index454.js";
|
|
4
|
+
import * as a from "react";
|
|
5
|
+
import { Calendar as o } from "lucide-react";
|
|
6
|
+
import { format as s } from "date-fns";
|
|
7
|
+
import { jsx as c, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
8
|
+
import { useLingui as u } from "@lingui/react";
|
|
14
9
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js
|
|
15
|
-
var
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
labelId: "counterpart_id",
|
|
31
|
-
label: g._("Customer"),
|
|
32
|
-
defaultValue: void 0,
|
|
33
|
-
MenuProps: { container: _ },
|
|
34
|
-
displayEmpty: !0,
|
|
35
|
-
onChange: (e) => {
|
|
36
|
-
m("counterpart_id", e.target.value || void 0);
|
|
37
|
-
},
|
|
38
|
-
children: [/* @__PURE__ */ o(l, {
|
|
39
|
-
value: void 0,
|
|
40
|
-
children: g._("All customers")
|
|
41
|
-
}), r(y?.data ?? []).sort((e, t) => e.label.localeCompare(t.label)).map(({ value: e, label: t }) => /* @__PURE__ */ o(l, {
|
|
42
|
-
value: e,
|
|
43
|
-
children: t
|
|
44
|
-
}, e))]
|
|
10
|
+
var d = "MMM d, yyyy";
|
|
11
|
+
function f(f) {
|
|
12
|
+
let [p, m] = a.useState(!1), { i18n: h } = u();
|
|
13
|
+
return /* @__PURE__ */ l(t, {
|
|
14
|
+
open: p,
|
|
15
|
+
onOpenChange: m,
|
|
16
|
+
children: [/* @__PURE__ */ c(r, {
|
|
17
|
+
asChild: !0,
|
|
18
|
+
children: /* @__PURE__ */ l(e, {
|
|
19
|
+
variant: "outline",
|
|
20
|
+
id: "date",
|
|
21
|
+
disabled: !!f.shouldDisableButton,
|
|
22
|
+
"aria-invalid": f["aria-invalid"],
|
|
23
|
+
className: "ttw:w-full ttw:justify-between ttw:font-normal ttw:border-border",
|
|
24
|
+
children: [f.selected ? s(f.selected, d) : f.placeholder ?? h._("Mon DD, YYYY"), /* @__PURE__ */ c(o, {})]
|
|
45
25
|
})
|
|
46
|
-
}),
|
|
47
|
-
className: "
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
if (!t.validationError) {
|
|
56
|
-
if (e == null) return void m("due_date__lte", void 0);
|
|
57
|
-
m("due_date__lte", a(new Date(e), { representation: "date" }));
|
|
26
|
+
}), /* @__PURE__ */ c(n, {
|
|
27
|
+
className: "ttw:w-auto ttw:overflow-hidden ttw:p-0",
|
|
28
|
+
align: "start",
|
|
29
|
+
children: /* @__PURE__ */ c(i, {
|
|
30
|
+
...f,
|
|
31
|
+
mode: "single",
|
|
32
|
+
captionLayout: "dropdown",
|
|
33
|
+
onSelect: (e) => {
|
|
34
|
+
f.onSelect(e), m(!1);
|
|
58
35
|
}
|
|
59
|
-
}
|
|
60
|
-
slotProps: {
|
|
61
|
-
textField: {
|
|
62
|
-
variant: "standard",
|
|
63
|
-
placeholder: "Due date",
|
|
64
|
-
InputProps: { sx: {
|
|
65
|
-
"&::placeholder": {
|
|
66
|
-
opacity: 1,
|
|
67
|
-
color: "text.primary"
|
|
68
|
-
},
|
|
69
|
-
"& input::placeholder": {
|
|
70
|
-
opacity: 1,
|
|
71
|
-
color: "text.primary"
|
|
72
|
-
}
|
|
73
|
-
} }
|
|
74
|
-
},
|
|
75
|
-
popper: { container: _ },
|
|
76
|
-
dialog: { container: _ },
|
|
77
|
-
actionBar: { actions: ["clear", "today"] },
|
|
78
|
-
openPickerIcon: { fontSize: "small" }
|
|
79
|
-
}
|
|
36
|
+
})
|
|
80
37
|
})]
|
|
81
38
|
});
|
|
82
|
-
}
|
|
39
|
+
}
|
|
83
40
|
//#endregion
|
|
84
|
-
export {
|
|
41
|
+
export { f as DatePicker };
|