@tesouro/embedded-components-react 0.5.82 → 0.5.83
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/lib/monite-sdk.js +68 -68
- 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/data-access/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +33 -55
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index5.js +25 -9
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +33 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +71 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +21 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +3 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +49 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +1 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +48 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +3 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +1 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +47 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +35 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +64 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +29 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +32 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +21 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +53 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +12 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +110 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +1 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +48 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +32 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +38 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +5 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +23 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +72 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +1 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +9 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +35 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +70 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +24 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +74 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +20 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +445 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +2 -445
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +42 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +75 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +57 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +1 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +30 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +40 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +4 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +52 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +119 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +4 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +189 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +124 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +152 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +53 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +290 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +6 -299
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +68 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +50 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +27 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +76 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +85 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +1 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +10 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +27 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +3 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +10 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +1 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +55 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +2 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +53 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +37 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +71 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +6 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +79 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +1 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +42 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +11 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +21 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +52 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +62 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +55 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +164 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +1 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +85 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +25 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +2 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +598 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +0 -598
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +168 -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 +26 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +0 -26
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +27 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +93 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +10 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +73 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +1 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +127 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +0 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +54 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +5 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +120 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +21 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +6 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +35 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +6 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +56 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +70 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +25 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +1 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +61 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +17 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +181 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +1 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +64 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +31 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +29 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +42 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +11 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +4 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +32 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +7 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +120 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +62 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +1 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +199 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +0 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +11 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +42 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +6 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +13 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +7 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +5 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +423 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +1 -425
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +91 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +18 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +7 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +191 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +97 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +1 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +44 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +21 -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 +161 -0
- 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 +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +61 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +44 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +48 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +82 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +21 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +1 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +347 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +0 -347
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +162 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +37 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +33 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +3 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +102 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +172 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +116 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +191 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +11 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +28 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +1 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +241 -0
- 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 +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +138 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +1 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +166 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +25 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +10 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +38 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +151 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +68 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +214 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +37 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +1 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +83 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +14 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +186 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +87 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +12 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +382 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +88 -324
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +192 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +30 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +83 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +132 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +37 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +59 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +139 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +549 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +15 -551
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +145 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +78 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +35 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +60 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +68 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +146 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +54 -141
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +82 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +13 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +17 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +97 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +42 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +27 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +1 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +20 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +9 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +105 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +35 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +45 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +71 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +100 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +43 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +179 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +125 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +123 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +73 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +232 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +8 -248
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +396 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +22 -396
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +13 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +41 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +43 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +14 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +41 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +144 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +112 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +39 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +25 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +22 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +21 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +72 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +66 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +17 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +178 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +119 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +30 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +115 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +19 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +36 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +16 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +23 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +25 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +36 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +77 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +50 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +33 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +89 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +48 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +1 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +135 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +103 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +50 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +786 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +87 -786
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +97 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +6 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +27 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +11 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +8 -12
- 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 +14 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +171 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +203 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +88 -208
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +17 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +158 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +88 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +42 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +4 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +24 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +186 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +0 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +42 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +4 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +24 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +73 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +16 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +5 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +131 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +4 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +221 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +11 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +181 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +189 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +88 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +61 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +54 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +83 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +40 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +75 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +71 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +12 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +23 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +0 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +4 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +13 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +22 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index608.js +68 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index609.js +113 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index610.js +64 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index611.js +138 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index612.js +28 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index613.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index614.js +87 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index615.js +3 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index616.js +26 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index617.js +67 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index618.js +1 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index619.js +65 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index620.js +32 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index621.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index622.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index623.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index624.js +29 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index625.js +27 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index626.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index627.js +97 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +27 -27
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +37 -49
- 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/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index628.js +0 -97
|
@@ -1,93 +1,202 @@
|
|
|
1
1
|
import { getCounterpartEmail as e, getCounterpartName as t } from "./index52.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { Button as n } from "./index55.js";
|
|
3
|
+
import { Input as r } from "./index88.js";
|
|
4
|
+
import { useCounterpartAddresses as i } from "./index132.js";
|
|
5
5
|
import "./index144.js";
|
|
6
|
-
import {
|
|
7
|
-
import "./
|
|
8
|
-
import { Field as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
6
|
+
import { Typography as a } from "./index61.js";
|
|
7
|
+
import { Separator as o } from "./index63.js";
|
|
8
|
+
import { Field as s, FieldContent as c, FieldError as l, FieldLabel as u } from "./index87.js";
|
|
9
|
+
import { CounterpartDetails as d } from "./index243.js";
|
|
10
|
+
import { CreateCounterpartDialog as f } from "./index258.js";
|
|
11
|
+
import { Avatar as p, AvatarFallback as m } from "./index265.js";
|
|
12
|
+
import { CounterpartSelector as h } from "./index463.js";
|
|
13
|
+
import { useCallback as g, useEffect as _, useRef as v, useState as y } from "react";
|
|
14
|
+
import { Plus as b } from "lucide-react";
|
|
15
|
+
import { Fragment as x, jsx as S, jsxs as C } from "@emotion/react/jsx-runtime";
|
|
16
|
+
import { useLingui as w } from "@lingui/react";
|
|
17
|
+
import { Controller as T, useFormContext as E } from "react-hook-form";
|
|
14
18
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js
|
|
15
|
-
var
|
|
16
|
-
let { i18n:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
let
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
var D = ({ disabled: D, canCreateCounterpart: O, isEditCustomerOpen: k, handleOpenEditCustomer: A, counterpart: j }) => {
|
|
20
|
+
let { i18n: M } = w(), { watch: N, setValue: P, control: ee, clearErrors: F } = E(), I = N("counterpart_id"), L = v(I), R = N("default_billing_address_id"), z = N("default_shipping_address_id"), { data: B } = i(j?.id), [V, H] = y(!1), [U, W] = y(!1), G = !!I, K = t(j), q = e(j), J = K ? Array.from(K)[0]?.toUpperCase() ?? "?" : "?", Y = N("counterpart_name") ?? "", X = N("counterpart_email") ?? "", Z = X.trim() || q, Q = v(Z), $ = g(() => {
|
|
21
|
+
P("recurrence_recipients_to", void 0, { shouldDirty: !0 }), P("recurrence_recipients_cc", void 0, { shouldDirty: !0 }), P("recurrence_recipients_bcc", void 0, { shouldDirty: !0 });
|
|
22
|
+
}, [P]), te = () => {
|
|
23
|
+
P("counterpart_id", ""), P("counterpart_name", ""), P("counterpart_email", "");
|
|
24
|
+
}, ne = g((e) => {
|
|
25
|
+
let t = {
|
|
26
|
+
email: X,
|
|
27
|
+
phone: "",
|
|
28
|
+
isCustomer: !0,
|
|
29
|
+
isVendor: !1,
|
|
30
|
+
line1: "",
|
|
31
|
+
line2: "",
|
|
32
|
+
city: "",
|
|
33
|
+
state: "",
|
|
34
|
+
postalCode: "",
|
|
35
|
+
country: "US"
|
|
36
|
+
};
|
|
37
|
+
if (e === "individual") {
|
|
38
|
+
let e = Y.trim(), n = e.indexOf(" "), r = n === -1 ? e : e.slice(0, n), i = n === -1 ? "" : e.slice(n + 1);
|
|
39
|
+
return {
|
|
40
|
+
tax_id: "",
|
|
41
|
+
counterpart: {
|
|
42
|
+
...t,
|
|
43
|
+
firstName: r,
|
|
44
|
+
lastName: i
|
|
45
|
+
}
|
|
30
46
|
};
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
tax_id: "",
|
|
50
|
+
counterpart: {
|
|
51
|
+
...t,
|
|
52
|
+
companyName: Y
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
}, [Y, X]);
|
|
56
|
+
return _(() => {
|
|
57
|
+
L.current !== I && (L.current = I, P("default_billing_address_id", ""), P("default_shipping_address_id", ""), $());
|
|
58
|
+
}, [
|
|
59
|
+
I,
|
|
60
|
+
P,
|
|
61
|
+
$
|
|
62
|
+
]), _(() => {
|
|
63
|
+
let e = Q.current;
|
|
64
|
+
e !== Z && (Q.current = Z, e && $());
|
|
65
|
+
}, [Z, $]), _(() => {
|
|
66
|
+
if (B?.data?.length && !(!j || j.id !== I)) {
|
|
67
|
+
if (!R) {
|
|
68
|
+
let e = j.default_billing_address_id || (B.data.length === 1 ? B.data[0].id : "");
|
|
69
|
+
P("default_billing_address_id", e);
|
|
70
|
+
}
|
|
71
|
+
if (!z) {
|
|
72
|
+
let e = j.default_shipping_address_id || "";
|
|
73
|
+
P("default_shipping_address_id", e);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}, [
|
|
77
|
+
B,
|
|
78
|
+
P,
|
|
79
|
+
j,
|
|
80
|
+
I,
|
|
81
|
+
R,
|
|
82
|
+
z
|
|
83
|
+
]), /* @__PURE__ */ C("div", {
|
|
84
|
+
className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl",
|
|
85
|
+
children: [
|
|
86
|
+
/* @__PURE__ */ C("div", {
|
|
87
|
+
className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4",
|
|
88
|
+
children: [/* @__PURE__ */ S(a, {
|
|
89
|
+
variant: "h4",
|
|
90
|
+
children: M._("Customer details")
|
|
91
|
+
}), /* @__PURE__ */ S(a, {
|
|
92
|
+
variant: "body2",
|
|
93
|
+
color: "muted",
|
|
94
|
+
className: "ttw:font-medium",
|
|
95
|
+
children: M._("Who are you billing?")
|
|
96
|
+
})]
|
|
97
|
+
}),
|
|
98
|
+
G ? /* @__PURE__ */ C("div", {
|
|
99
|
+
className: "ttw:flex ttw:gap-2 ttw:justify-between ttw:items-center ttw:border ttw:border-border ttw:p-3 ttw:rounded-xl",
|
|
100
|
+
children: [/* @__PURE__ */ C("div", {
|
|
101
|
+
className: "ttw:flex ttw:items-center ttw:gap-5",
|
|
102
|
+
children: [/* @__PURE__ */ S(p, {
|
|
103
|
+
className: "ttw:size-16",
|
|
104
|
+
children: /* @__PURE__ */ S(m, {
|
|
105
|
+
className: "ttw:text-sm ttw:font-normal",
|
|
106
|
+
children: J
|
|
71
107
|
})
|
|
72
|
-
}), /* @__PURE__ */
|
|
73
|
-
|
|
74
|
-
children:
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}, e.id))] })
|
|
108
|
+
}), /* @__PURE__ */ C("div", {
|
|
109
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
110
|
+
children: [/* @__PURE__ */ S(a, {
|
|
111
|
+
variant: "body1",
|
|
112
|
+
className: "ttw:font-medium",
|
|
113
|
+
children: K
|
|
114
|
+
}), /* @__PURE__ */ S(a, {
|
|
115
|
+
variant: "body2",
|
|
116
|
+
color: "muted",
|
|
117
|
+
children: q
|
|
118
|
+
})]
|
|
84
119
|
})]
|
|
120
|
+
}), /* @__PURE__ */ C("div", {
|
|
121
|
+
className: "ttw:flex ttw:items-center",
|
|
122
|
+
children: [
|
|
123
|
+
/* @__PURE__ */ S(n, {
|
|
124
|
+
type: "button",
|
|
125
|
+
variant: "ghost",
|
|
126
|
+
className: "ttw:text-primary ttw:hover:text-primary",
|
|
127
|
+
disabled: D,
|
|
128
|
+
onClick: () => H(!0),
|
|
129
|
+
children: M._("View details")
|
|
130
|
+
}),
|
|
131
|
+
/* @__PURE__ */ S(o, {
|
|
132
|
+
orientation: "vertical",
|
|
133
|
+
className: "ttw:h-6!"
|
|
134
|
+
}),
|
|
135
|
+
/* @__PURE__ */ S(n, {
|
|
136
|
+
type: "button",
|
|
137
|
+
variant: "ghost",
|
|
138
|
+
className: "ttw:text-primary ttw:hover:text-primary",
|
|
139
|
+
disabled: D,
|
|
140
|
+
onClick: te,
|
|
141
|
+
children: M._("Clear")
|
|
142
|
+
})
|
|
143
|
+
]
|
|
144
|
+
})]
|
|
145
|
+
}) : /* @__PURE__ */ C(x, { children: [
|
|
146
|
+
/* @__PURE__ */ S(h, {
|
|
147
|
+
disabled: D,
|
|
148
|
+
canCreateCounterpart: O
|
|
85
149
|
}),
|
|
86
|
-
/* @__PURE__ */
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
150
|
+
O && /* @__PURE__ */ S(T, {
|
|
151
|
+
name: "counterpart_email",
|
|
152
|
+
control: ee,
|
|
153
|
+
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ S(s, { children: /* @__PURE__ */ C(c, { children: [
|
|
154
|
+
/* @__PURE__ */ S(u, {
|
|
155
|
+
htmlFor: e.name,
|
|
156
|
+
children: M._("Email")
|
|
157
|
+
}),
|
|
158
|
+
/* @__PURE__ */ S(r, {
|
|
159
|
+
...e,
|
|
160
|
+
id: e.name,
|
|
161
|
+
type: "email",
|
|
162
|
+
disabled: D,
|
|
163
|
+
"aria-invalid": !!t
|
|
164
|
+
}),
|
|
165
|
+
/* @__PURE__ */ S(l, { errors: t ? [t] : [] })
|
|
166
|
+
] }) })
|
|
167
|
+
}),
|
|
168
|
+
O && /* @__PURE__ */ C(n, {
|
|
169
|
+
onClick: () => W(!0),
|
|
170
|
+
type: "button",
|
|
171
|
+
variant: "ghost",
|
|
172
|
+
disabled: D,
|
|
173
|
+
className: "ttw:text-primary ttw:hover:text-primary ttw:w-fit",
|
|
174
|
+
children: [/* @__PURE__ */ S(b, {}), M._("Add more details including address, phone, etc.")]
|
|
175
|
+
})
|
|
176
|
+
] }),
|
|
177
|
+
U && /* @__PURE__ */ S(f, {
|
|
178
|
+
open: U,
|
|
179
|
+
onClose: () => {
|
|
180
|
+
W(!1);
|
|
181
|
+
},
|
|
182
|
+
onCreate: (e) => {
|
|
183
|
+
W(!1), P("counterpart_id", e), P("counterpart_name", ""), P("counterpart_email", ""), F(["counterpart_id", "counterpart_email"]);
|
|
184
|
+
},
|
|
185
|
+
getCounterpartDefaultValues: ne,
|
|
186
|
+
customerType: "customer"
|
|
187
|
+
}),
|
|
188
|
+
(k || V) && /* @__PURE__ */ S(d, {
|
|
189
|
+
counterpartId: j?.id || "",
|
|
190
|
+
open: k || V,
|
|
191
|
+
onClose: () => {
|
|
192
|
+
k && A(!1), H(!1);
|
|
193
|
+
},
|
|
194
|
+
isEditMode: k,
|
|
195
|
+
showActionsMenu: !1,
|
|
196
|
+
customerType: "customer"
|
|
197
|
+
})
|
|
198
|
+
]
|
|
90
199
|
});
|
|
91
200
|
};
|
|
92
201
|
//#endregion
|
|
93
|
-
export {
|
|
202
|
+
export { D as CustomerSection };
|
|
@@ -1,202 +1,33 @@
|
|
|
1
|
-
import { getCounterpartEmail as e, getCounterpartName as t } from "./index52.js";
|
|
2
|
-
import { Button as n } from "./index55.js";
|
|
3
|
-
import { Input as r } from "./index88.js";
|
|
4
|
-
import { useCounterpartAddresses as i } from "./index132.js";
|
|
5
|
-
import "./index144.js";
|
|
6
|
-
import { Typography as a } from "./index61.js";
|
|
7
|
-
import { Separator as o } from "./index63.js";
|
|
8
|
-
import { Field as s, FieldContent as c, FieldError as l, FieldLabel as u } from "./index87.js";
|
|
9
|
-
import { CounterpartDetails as d } from "./index244.js";
|
|
10
|
-
import { CreateCounterpartDialog as f } from "./index259.js";
|
|
11
|
-
import { Avatar as p, AvatarFallback as m } from "./index266.js";
|
|
12
|
-
import { CounterpartSelector as h } from "./index464.js";
|
|
13
|
-
import { useCallback as g, useEffect as _, useRef as v, useState as y } from "react";
|
|
14
|
-
import { Plus as b } from "lucide-react";
|
|
15
|
-
import { Fragment as x, jsx as S, jsxs as C } from "@emotion/react/jsx-runtime";
|
|
16
|
-
import { useLingui as w } from "@lingui/react";
|
|
17
|
-
import { Controller as T, useFormContext as E } from "react-hook-form";
|
|
18
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
city: "",
|
|
33
|
-
state: "",
|
|
34
|
-
postalCode: "",
|
|
35
|
-
country: "US"
|
|
36
|
-
};
|
|
37
|
-
if (e === "individual") {
|
|
38
|
-
let e = Y.trim(), n = e.indexOf(" "), r = n === -1 ? e : e.slice(0, n), i = n === -1 ? "" : e.slice(n + 1);
|
|
39
|
-
return {
|
|
40
|
-
tax_id: "",
|
|
41
|
-
counterpart: {
|
|
42
|
-
...t,
|
|
43
|
-
firstName: r,
|
|
44
|
-
lastName: i
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
tax_id: "",
|
|
50
|
-
counterpart: {
|
|
51
|
-
...t,
|
|
52
|
-
companyName: Y
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
}, [Y, X]);
|
|
56
|
-
return _(() => {
|
|
57
|
-
L.current !== I && (L.current = I, P("default_billing_address_id", ""), P("default_shipping_address_id", ""), $());
|
|
58
|
-
}, [
|
|
59
|
-
I,
|
|
60
|
-
P,
|
|
61
|
-
$
|
|
62
|
-
]), _(() => {
|
|
63
|
-
let e = Q.current;
|
|
64
|
-
e !== Z && (Q.current = Z, e && $());
|
|
65
|
-
}, [Z, $]), _(() => {
|
|
66
|
-
if (B?.data?.length && !(!j || j.id !== I)) {
|
|
67
|
-
if (!R) {
|
|
68
|
-
let e = j.default_billing_address_id || (B.data.length === 1 ? B.data[0].id : "");
|
|
69
|
-
P("default_billing_address_id", e);
|
|
70
|
-
}
|
|
71
|
-
if (!z) {
|
|
72
|
-
let e = j.default_shipping_address_id || "";
|
|
73
|
-
P("default_shipping_address_id", e);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}, [
|
|
77
|
-
B,
|
|
78
|
-
P,
|
|
79
|
-
j,
|
|
80
|
-
I,
|
|
81
|
-
R,
|
|
82
|
-
z
|
|
83
|
-
]), /* @__PURE__ */ C("div", {
|
|
84
|
-
className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl",
|
|
85
|
-
children: [
|
|
86
|
-
/* @__PURE__ */ C("div", {
|
|
87
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4",
|
|
88
|
-
children: [/* @__PURE__ */ S(a, {
|
|
89
|
-
variant: "h4",
|
|
90
|
-
children: M._("Customer details")
|
|
91
|
-
}), /* @__PURE__ */ S(a, {
|
|
92
|
-
variant: "body2",
|
|
93
|
-
color: "muted",
|
|
94
|
-
className: "ttw:font-medium",
|
|
95
|
-
children: M._("Who are you billing?")
|
|
96
|
-
})]
|
|
97
|
-
}),
|
|
98
|
-
G ? /* @__PURE__ */ C("div", {
|
|
99
|
-
className: "ttw:flex ttw:gap-2 ttw:justify-between ttw:items-center ttw:border ttw:border-border ttw:p-3 ttw:rounded-xl",
|
|
100
|
-
children: [/* @__PURE__ */ C("div", {
|
|
101
|
-
className: "ttw:flex ttw:items-center ttw:gap-5",
|
|
102
|
-
children: [/* @__PURE__ */ S(p, {
|
|
103
|
-
className: "ttw:size-16",
|
|
104
|
-
children: /* @__PURE__ */ S(m, {
|
|
105
|
-
className: "ttw:text-sm ttw:font-normal",
|
|
106
|
-
children: J
|
|
107
|
-
})
|
|
108
|
-
}), /* @__PURE__ */ C("div", {
|
|
109
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
110
|
-
children: [/* @__PURE__ */ S(a, {
|
|
111
|
-
variant: "body1",
|
|
112
|
-
className: "ttw:font-medium",
|
|
113
|
-
children: K
|
|
114
|
-
}), /* @__PURE__ */ S(a, {
|
|
115
|
-
variant: "body2",
|
|
116
|
-
color: "muted",
|
|
117
|
-
children: q
|
|
118
|
-
})]
|
|
119
|
-
})]
|
|
120
|
-
}), /* @__PURE__ */ C("div", {
|
|
121
|
-
className: "ttw:flex ttw:items-center",
|
|
122
|
-
children: [
|
|
123
|
-
/* @__PURE__ */ S(n, {
|
|
124
|
-
type: "button",
|
|
125
|
-
variant: "ghost",
|
|
126
|
-
className: "ttw:text-primary ttw:hover:text-primary",
|
|
127
|
-
disabled: D,
|
|
128
|
-
onClick: () => H(!0),
|
|
129
|
-
children: M._("View details")
|
|
130
|
-
}),
|
|
131
|
-
/* @__PURE__ */ S(o, {
|
|
132
|
-
orientation: "vertical",
|
|
133
|
-
className: "ttw:h-6!"
|
|
134
|
-
}),
|
|
135
|
-
/* @__PURE__ */ S(n, {
|
|
136
|
-
type: "button",
|
|
137
|
-
variant: "ghost",
|
|
138
|
-
className: "ttw:text-primary ttw:hover:text-primary",
|
|
139
|
-
disabled: D,
|
|
140
|
-
onClick: te,
|
|
141
|
-
children: M._("Clear")
|
|
142
|
-
})
|
|
143
|
-
]
|
|
144
|
-
})]
|
|
145
|
-
}) : /* @__PURE__ */ C(x, { children: [
|
|
146
|
-
/* @__PURE__ */ S(h, {
|
|
147
|
-
disabled: D,
|
|
148
|
-
canCreateCounterpart: O
|
|
149
|
-
}),
|
|
150
|
-
O && /* @__PURE__ */ S(T, {
|
|
151
|
-
name: "counterpart_email",
|
|
152
|
-
control: ee,
|
|
153
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ S(s, { children: /* @__PURE__ */ C(c, { children: [
|
|
154
|
-
/* @__PURE__ */ S(u, {
|
|
155
|
-
htmlFor: e.name,
|
|
156
|
-
children: M._("Email")
|
|
157
|
-
}),
|
|
158
|
-
/* @__PURE__ */ S(r, {
|
|
159
|
-
...e,
|
|
160
|
-
id: e.name,
|
|
161
|
-
type: "email",
|
|
162
|
-
disabled: D,
|
|
163
|
-
"aria-invalid": !!t
|
|
164
|
-
}),
|
|
165
|
-
/* @__PURE__ */ S(l, { errors: t ? [t] : [] })
|
|
166
|
-
] }) })
|
|
167
|
-
}),
|
|
168
|
-
O && /* @__PURE__ */ C(n, {
|
|
169
|
-
onClick: () => W(!0),
|
|
170
|
-
type: "button",
|
|
171
|
-
variant: "ghost",
|
|
172
|
-
disabled: D,
|
|
173
|
-
className: "ttw:text-primary ttw:hover:text-primary ttw:w-fit",
|
|
174
|
-
children: [/* @__PURE__ */ S(b, {}), M._("Add more details including address, phone, etc.")]
|
|
175
|
-
})
|
|
176
|
-
] }),
|
|
177
|
-
U && /* @__PURE__ */ S(f, {
|
|
178
|
-
open: U,
|
|
179
|
-
onClose: () => {
|
|
180
|
-
W(!1);
|
|
181
|
-
},
|
|
182
|
-
onCreate: (e) => {
|
|
183
|
-
W(!1), P("counterpart_id", e), P("counterpart_name", ""), P("counterpart_email", ""), F(["counterpart_id", "counterpart_email"]);
|
|
184
|
-
},
|
|
185
|
-
getCounterpartDefaultValues: ne,
|
|
186
|
-
customerType: "customer"
|
|
187
|
-
}),
|
|
188
|
-
(k || V) && /* @__PURE__ */ S(d, {
|
|
189
|
-
counterpartId: j?.id || "",
|
|
190
|
-
open: k || V,
|
|
191
|
-
onClose: () => {
|
|
192
|
-
k && A(!1), H(!1);
|
|
193
|
-
},
|
|
194
|
-
isEditMode: k,
|
|
195
|
-
showActionsMenu: !1,
|
|
196
|
-
customerType: "customer"
|
|
197
|
-
})
|
|
198
|
-
]
|
|
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)
|
|
199
15
|
});
|
|
200
|
-
}
|
|
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;
|
|
24
|
+
}
|
|
25
|
+
i.set(a.id, o);
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
dedupedTerms: r,
|
|
29
|
+
duplicateIdMap: i
|
|
30
|
+
};
|
|
31
|
+
}
|
|
201
32
|
//#endregion
|
|
202
|
-
export {
|
|
33
|
+
export { n as dedupePaymentTermsByContent };
|
|
@@ -1,33 +1,88 @@
|
|
|
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";
|
|
1
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
|
52
|
+
}),
|
|
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
|
|
15
68
|
});
|
|
16
69
|
}
|
|
17
|
-
function n
|
|
18
|
-
let
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
i.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
|
85
|
+
});
|
|
31
86
|
}
|
|
32
87
|
//#endregion
|
|
33
|
-
export {
|
|
88
|
+
export { u as Calendar, d as CalendarDayButton };
|