@tesouro/embedded-components-react 0.2.84 → 0.2.86
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 +25 -0
- package/dist/index.d.ts +34 -1
- package/dist/lib/ReceivablesWidget.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +12 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +75 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +6 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +5 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +33 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +32 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +119 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +10 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +44 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +15 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +11 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +152 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +24 -150
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +99 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +57 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +43 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +74 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +56 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +197 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +22 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +29 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +38 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +7 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +113 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +70 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +191 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +30 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +110 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +133 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +22 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +29 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +19 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +21 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +183 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +11 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +22 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +48 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +4 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +5 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +86 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +6 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +41 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +45 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +390 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +25 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +20 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +21 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +10 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +22 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +27 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +115 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +66 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +12 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +12 -394
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +7 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +35 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +100 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +7 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +50 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +34 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +54 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +345 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +17 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +14 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +13 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +14 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +20 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +31 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +17 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +247 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +179 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +12 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +19 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +24 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +40 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +58 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +49 -247
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +29 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +97 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +46 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +73 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +44 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +17 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +28 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +42 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +59 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +90 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +111 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +84 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +22 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +57 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +28 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +58 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +39 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +338 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +299 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +93 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +160 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +266 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +23 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +19 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +2 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +94 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +96 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +190 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +40 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +59 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +31 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +108 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +22 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +42 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +57 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +62 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +26 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +125 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +10 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +62 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +22 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +31 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +149 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +19 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +20 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +40 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +76 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +158 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +28 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +27 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +78 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +61 -341
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +43 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +22 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +181 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +105 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +81 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +283 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +45 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +15 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +86 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +220 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +38 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +76 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +44 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +21 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +17 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +19 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +171 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +130 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +159 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +10 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +17 -187
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +61 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +67 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +51 -276
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +6 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +11 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +55 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +21 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +58 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +14 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +9 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +30 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +33 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +53 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +36 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +54 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +94 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +30 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +33 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +32 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +126 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +117 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +18 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +71 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +21 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +65 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +14 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +15 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +7 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +65 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +21 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +9 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +11 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +28 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +23 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +37 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +69 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +66 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +39 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +32 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +85 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +23 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +105 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +111 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +22 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +35 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +64 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +43 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +27 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +8 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +17 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +55 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +80 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +54 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +29 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +54 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +37 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +46 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +55 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +72 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +20 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +49 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +17 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +29 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +56 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +39 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +94 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +16 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +73 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +9 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +42 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +37 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +13 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +54 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +81 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +39 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +18 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +51 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +55 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +30 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +14 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +21 -21
- 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 +21 -21
- package/dist/pending-feature-style-sources.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,65 +1,114 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
1
|
+
import { jsxs as a, jsx as e, Fragment as y } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { USStatesEnum as x } from "./index384.js";
|
|
3
|
+
import { Field as o, FieldContent as s, FieldLabel as c, FieldError as m } from "./index153.js";
|
|
4
|
+
import { Input as f } from "./index118.js";
|
|
5
|
+
import { Select as F, SelectTrigger as _, SelectValue as j, SelectContent as A, SelectItem as E } from "./index271.js";
|
|
6
|
+
import { Typography as b } from "./index85.js";
|
|
7
|
+
import { MoniteCountryShadcn as L } from "./index385.js";
|
|
8
|
+
import { useLingui as T } from "@lingui/react";
|
|
9
|
+
import { useRef as U } from "react";
|
|
10
|
+
import { useFormContext as B, Controller as w } from "react-hook-form";
|
|
11
|
+
import { twMerge as g } from "tailwind-merge";
|
|
12
|
+
const G = ({
|
|
13
|
+
hasExistingAddress: v,
|
|
14
|
+
isLoading: n,
|
|
15
|
+
isStandalone: d,
|
|
16
|
+
customerType: S
|
|
17
|
+
}) => {
|
|
18
|
+
const {
|
|
19
|
+
i18n: l
|
|
20
|
+
} = T(), {
|
|
21
|
+
watch: N,
|
|
22
|
+
control: h
|
|
23
|
+
} = B(), u = U(null), i = S === "vendor";
|
|
24
|
+
return /* @__PURE__ */ a("div", { className: g("ttw:flex ttw:flex-col ttw:gap-4"), ref: u, children: [
|
|
25
|
+
d ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border", children: /* @__PURE__ */ e(b, { variant: "body1", className: "ttw:font-medium", children: v ? l._("Editing address") : l._("Adding address") }) }) : /* @__PURE__ */ e(y, { children: !i && /* @__PURE__ */ e("div", { className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border", children: /* @__PURE__ */ a(b, { variant: "body1", className: "ttw:font-medium", children: [
|
|
26
|
+
l._("Address"),
|
|
27
|
+
" ",
|
|
28
|
+
/* @__PURE__ */ e("span", { className: "ttw:text-muted-foreground", children: l._("(optional)") })
|
|
29
|
+
] }) }) }),
|
|
30
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
31
|
+
/* @__PURE__ */ e(w, { name: "line1", control: h, render: ({
|
|
32
|
+
field: t,
|
|
33
|
+
fieldState: {
|
|
34
|
+
error: r
|
|
35
|
+
}
|
|
36
|
+
}) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
37
|
+
/* @__PURE__ */ e(c, { htmlFor: t.name, children: l._("Street address") }),
|
|
38
|
+
/* @__PURE__ */ e(f, { id: t.name, ...t, className: d || i ? "ttw:bg-white" : "", disabled: n, "aria-invalid": !!r || void 0 }),
|
|
39
|
+
/* @__PURE__ */ e(m, { errors: [r] })
|
|
40
|
+
] }) }) }),
|
|
41
|
+
/* @__PURE__ */ e(w, { name: "line2", control: h, render: ({
|
|
42
|
+
field: t,
|
|
43
|
+
fieldState: {
|
|
44
|
+
error: r
|
|
45
|
+
}
|
|
46
|
+
}) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
47
|
+
/* @__PURE__ */ a(c, { htmlFor: t.name, className: "ttw:gap-1", children: [
|
|
48
|
+
l._("Apt, suite, floor, etc."),
|
|
49
|
+
i && /* @__PURE__ */ e(b, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: l._("(optional)") })
|
|
50
|
+
] }),
|
|
51
|
+
/* @__PURE__ */ e(f, { id: t.name, ...t, className: d || i ? "ttw:bg-white" : "", disabled: n, "aria-invalid": !!r || void 0 }),
|
|
52
|
+
/* @__PURE__ */ e(m, { errors: [r] })
|
|
53
|
+
] }) }) })
|
|
54
|
+
] }),
|
|
55
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
56
|
+
/* @__PURE__ */ e(w, { name: "city", control: h, render: ({
|
|
57
|
+
field: t,
|
|
58
|
+
fieldState: {
|
|
59
|
+
error: r
|
|
60
|
+
}
|
|
61
|
+
}) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
62
|
+
/* @__PURE__ */ e(c, { htmlFor: t.name, children: l._("City") }),
|
|
63
|
+
/* @__PURE__ */ e(f, { id: t.name, ...t, className: d || i ? "ttw:bg-white" : "", disabled: n, "aria-invalid": !!r || void 0 }),
|
|
64
|
+
/* @__PURE__ */ e(m, { errors: [r] })
|
|
65
|
+
] }) }) }),
|
|
66
|
+
/* @__PURE__ */ e(w, { name: "state", control: h, render: ({
|
|
67
|
+
field: t,
|
|
68
|
+
fieldState: {
|
|
69
|
+
error: r
|
|
70
|
+
}
|
|
71
|
+
}) => N("country") === "US" ? /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
72
|
+
/* @__PURE__ */ e(c, { htmlFor: t.name, children: l._("State") }),
|
|
73
|
+
/* @__PURE__ */ a(F, { value: t.value ?? void 0, onValueChange: t.onChange, disabled: n, children: [
|
|
74
|
+
/* @__PURE__ */ e(_, { ref: t.ref, onBlur: t.onBlur, "aria-invalid": !!r || void 0, className: g("ttw:w-full", (d || i) && "ttw:bg-white"), disabled: n, children: /* @__PURE__ */ e(j, { placeholder: l._("Select a state") }) }),
|
|
75
|
+
/* @__PURE__ */ e(A, { children: Object.entries(x).map(([p, C]) => /* @__PURE__ */ a(E, { value: p, children: [
|
|
76
|
+
C,
|
|
77
|
+
" — ",
|
|
78
|
+
p
|
|
79
|
+
] }, p)) })
|
|
80
|
+
] }),
|
|
81
|
+
/* @__PURE__ */ e(m, { errors: [r] })
|
|
82
|
+
] }) }) : /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
83
|
+
/* @__PURE__ */ e(c, { htmlFor: t.name, children: l._("State") }),
|
|
84
|
+
/* @__PURE__ */ e(f, { id: t.name, ...t, className: d || i ? "ttw:bg-white" : "", disabled: n, "aria-invalid": !!r || void 0 }),
|
|
85
|
+
/* @__PURE__ */ e(m, { errors: [r] })
|
|
86
|
+
] }) }) })
|
|
87
|
+
] }),
|
|
88
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
89
|
+
/* @__PURE__ */ e(w, { name: "postalCode", control: h, render: ({
|
|
90
|
+
field: t,
|
|
91
|
+
fieldState: {
|
|
92
|
+
error: r
|
|
93
|
+
}
|
|
94
|
+
}) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
95
|
+
/* @__PURE__ */ e(c, { htmlFor: t.name, children: l._("Postal code") }),
|
|
96
|
+
/* @__PURE__ */ e(f, { id: t.name, ...t, className: d || i ? "ttw:bg-white" : "", disabled: n, "aria-invalid": !!r || void 0 }),
|
|
97
|
+
/* @__PURE__ */ e(m, { errors: [r] })
|
|
98
|
+
] }) }) }),
|
|
99
|
+
/* @__PURE__ */ e(w, { name: "country", control: h, render: ({
|
|
100
|
+
field: t,
|
|
101
|
+
fieldState: {
|
|
102
|
+
error: r
|
|
103
|
+
}
|
|
104
|
+
}) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
105
|
+
/* @__PURE__ */ e(c, { children: l._("Country") }),
|
|
106
|
+
/* @__PURE__ */ e(L, { value: t.value, className: d || i ? "ttw:bg-white" : "", onChange: t.onChange, invalid: !!r, disabled: n, container: u?.current, allowedCountries: ["US"] }),
|
|
107
|
+
/* @__PURE__ */ e(m, { errors: [r] })
|
|
108
|
+
] }) }) })
|
|
109
|
+
] })
|
|
110
|
+
] });
|
|
60
111
|
};
|
|
61
112
|
export {
|
|
62
|
-
|
|
63
|
-
a as getCommonRecurrenceStatusLabel,
|
|
64
|
-
t as getCommonStatusLabel
|
|
113
|
+
G as CounterpartAddressFormContent
|
|
65
114
|
};
|
|
@@ -1,30 +1,90 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { jsx as d, jsxs as m } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useForm as N, FormProvider as F } from "react-hook-form";
|
|
3
|
+
import { useLingui as I } from "@lingui/react";
|
|
4
|
+
import { useId as P, useMemo as z, useCallback as L } from "react";
|
|
5
|
+
import { zodResolver as U } from "@hookform/resolvers/zod";
|
|
6
|
+
import { Button as y } from "./index84.js";
|
|
7
|
+
import { getAddressValidationSchema as j } from "./index232.js";
|
|
8
|
+
import "./index57.js";
|
|
9
|
+
import { toast as p } from "react-hot-toast";
|
|
10
|
+
import "date-fns";
|
|
11
|
+
import { getCounterpartName as k } from "./index7.js";
|
|
12
|
+
import { useUpdateCounterpartAddress as D } from "./index275.js";
|
|
13
|
+
import { useCreateCounterpartAddress as T } from "./index386.js";
|
|
14
|
+
import { LoadingSpinner as V } from "./index131.js";
|
|
15
|
+
import { CounterpartAddressFormContent as B } from "./index278.js";
|
|
16
|
+
const tt = ({
|
|
17
|
+
counterpartId: c,
|
|
18
|
+
isStandalone: C,
|
|
19
|
+
address: t,
|
|
20
|
+
customerType: u,
|
|
21
|
+
handleClose: h,
|
|
22
|
+
onUpdate: i,
|
|
23
|
+
onCreate: n
|
|
13
24
|
}) => {
|
|
14
25
|
const {
|
|
15
|
-
i18n:
|
|
16
|
-
} =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
i18n: r
|
|
27
|
+
} = I(), S = `counterpart-address-form-${P()}`, g = !!t, {
|
|
28
|
+
mutate: f,
|
|
29
|
+
isPending: x
|
|
30
|
+
} = D({
|
|
31
|
+
counterpartId: c,
|
|
32
|
+
addressId: t?.id ?? ""
|
|
33
|
+
}), {
|
|
34
|
+
mutate: w,
|
|
35
|
+
isPending: A
|
|
36
|
+
} = T(), o = x || A, v = z(() => ({
|
|
37
|
+
line1: t?.line1 ?? "",
|
|
38
|
+
line2: t?.line2 ?? "",
|
|
39
|
+
city: t?.city ?? "",
|
|
40
|
+
state: t?.state ?? "",
|
|
41
|
+
country: t?.country ?? "US",
|
|
42
|
+
postalCode: t?.postal_code ?? ""
|
|
43
|
+
}), [t]), {
|
|
44
|
+
resetField: e,
|
|
45
|
+
...a
|
|
46
|
+
} = N({
|
|
47
|
+
resolver: U(j(r, u === "vendor")),
|
|
48
|
+
defaultValues: v
|
|
49
|
+
}), _ = L((l) => {
|
|
50
|
+
l.preventDefault(), l.stopPropagation(), a.handleSubmit((s) => {
|
|
51
|
+
const b = {
|
|
52
|
+
line1: s.line1 ?? "",
|
|
53
|
+
line2: s.line2,
|
|
54
|
+
city: s.city ?? "",
|
|
55
|
+
state: s.state ?? "",
|
|
56
|
+
country: s.country,
|
|
57
|
+
postal_code: s.postalCode ?? ""
|
|
58
|
+
};
|
|
59
|
+
return t ? f(b, {
|
|
60
|
+
onSuccess: () => {
|
|
61
|
+
p.success(r._("Address has been updated.")), i && i();
|
|
62
|
+
}
|
|
63
|
+
}) : w({
|
|
64
|
+
path: {
|
|
65
|
+
counterpart_id: c
|
|
66
|
+
},
|
|
67
|
+
body: b
|
|
68
|
+
}, {
|
|
69
|
+
onSuccess: () => {
|
|
70
|
+
p.success(r._("Address has been added.")), n && n();
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
})(l);
|
|
74
|
+
}, [p, f, w, k, i, n, a.handleSubmit, r]);
|
|
75
|
+
return /* @__PURE__ */ d(F, { resetField: e, ...a, children: /* @__PURE__ */ m("form", { id: S, onSubmit: _, className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:p-4 ttw:border ttw:border-primary ttw:rounded-[10px] ttw:bg-zinc-100", children: [
|
|
76
|
+
/* @__PURE__ */ d(B, { hasExistingAddress: g, isLoading: o, isStandalone: C, customerType: u }),
|
|
77
|
+
/* @__PURE__ */ m("div", { className: "ttw:flex ttw:gap-4 ttw:pt-6", children: [
|
|
78
|
+
/* @__PURE__ */ d(y, { type: "button", variant: "outline", className: "ttw:border-border ttw:flex-1", disabled: o, onClick: () => {
|
|
79
|
+
e("line1"), e("line2"), e("city"), e("state"), e("postalCode"), e("country"), h();
|
|
80
|
+
}, children: r._("Cancel") }),
|
|
81
|
+
/* @__PURE__ */ m(y, { type: "submit", className: "ttw:flex-1", disabled: o || !a.formState.isDirty, children: [
|
|
82
|
+
o && /* @__PURE__ */ d(V, { className: "ttw:border-white ttw:border-t-transparent ttw:size-4" }),
|
|
83
|
+
r._("Save")
|
|
84
|
+
] })
|
|
85
|
+
] })
|
|
26
86
|
] }) });
|
|
27
87
|
};
|
|
28
88
|
export {
|
|
29
|
-
|
|
89
|
+
tt as CounterpartAddressForm
|
|
30
90
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as i } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as a } from "./
|
|
2
|
+
import { getAPIErrorMessage as a } from "./index121.js";
|
|
3
3
|
import { useLingui as n } from "@lingui/react";
|
|
4
4
|
import { toast as m } from "react-hot-toast";
|
|
5
5
|
const d = (t) => {
|
|
@@ -1,129 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}, {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
label: "This quarter",
|
|
17
|
-
group: "Current"
|
|
18
|
-
}, {
|
|
19
|
-
value: "this_year",
|
|
20
|
-
label: "This year",
|
|
21
|
-
group: "Current"
|
|
22
|
-
}, {
|
|
23
|
-
value: "yesterday",
|
|
24
|
-
label: "Yesterday",
|
|
25
|
-
group: "Past"
|
|
26
|
-
}, {
|
|
27
|
-
value: "last_week",
|
|
28
|
-
label: "Last week",
|
|
29
|
-
group: "Past"
|
|
30
|
-
}, {
|
|
31
|
-
value: "last_month",
|
|
32
|
-
label: "Last month",
|
|
33
|
-
group: "Past"
|
|
34
|
-
}, {
|
|
35
|
-
value: "last_30_days",
|
|
36
|
-
label: "Last 30 days",
|
|
37
|
-
group: "Past"
|
|
38
|
-
}, {
|
|
39
|
-
value: "last_90_days",
|
|
40
|
-
label: "Last 90 days",
|
|
41
|
-
group: "Past"
|
|
42
|
-
}, {
|
|
43
|
-
value: "last_quarter",
|
|
44
|
-
label: "Last quarter",
|
|
45
|
-
group: "Past"
|
|
46
|
-
}, {
|
|
47
|
-
value: "last_year",
|
|
48
|
-
label: "Last year",
|
|
49
|
-
group: "Past"
|
|
50
|
-
}];
|
|
51
|
-
function g(h) {
|
|
52
|
-
const e = c(/* @__PURE__ */ new Date());
|
|
53
|
-
switch (h) {
|
|
54
|
-
case "today":
|
|
55
|
-
return {
|
|
56
|
-
from: e,
|
|
57
|
-
to: y(e)
|
|
58
|
-
};
|
|
59
|
-
case "this_week":
|
|
60
|
-
return {
|
|
61
|
-
from: _(e),
|
|
62
|
-
to: f(e)
|
|
63
|
-
};
|
|
64
|
-
case "this_month":
|
|
65
|
-
return {
|
|
66
|
-
from: l(e),
|
|
67
|
-
to: n(e)
|
|
68
|
-
};
|
|
69
|
-
case "this_quarter":
|
|
70
|
-
return {
|
|
71
|
-
from: o(e),
|
|
72
|
-
to: u(e)
|
|
73
|
-
};
|
|
74
|
-
case "this_year":
|
|
75
|
-
return {
|
|
76
|
-
from: r(e),
|
|
77
|
-
to: s(e)
|
|
78
|
-
};
|
|
79
|
-
case "yesterday": {
|
|
80
|
-
const t = a(e, 1);
|
|
81
|
-
return {
|
|
82
|
-
from: t,
|
|
83
|
-
to: y(t)
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
case "last_week": {
|
|
87
|
-
const t = _(i(e, 1));
|
|
88
|
-
return {
|
|
89
|
-
from: t,
|
|
90
|
-
to: f(t)
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
case "last_month": {
|
|
94
|
-
const t = l(d(e, 1));
|
|
95
|
-
return {
|
|
96
|
-
from: t,
|
|
97
|
-
to: n(t)
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
case "last_30_days":
|
|
101
|
-
return {
|
|
102
|
-
from: a(e, 30),
|
|
103
|
-
to: e
|
|
104
|
-
};
|
|
105
|
-
case "last_90_days":
|
|
106
|
-
return {
|
|
107
|
-
from: a(e, 90),
|
|
108
|
-
to: e
|
|
109
|
-
};
|
|
110
|
-
case "last_quarter": {
|
|
111
|
-
const t = o(b(e, 1));
|
|
112
|
-
return {
|
|
113
|
-
from: t,
|
|
114
|
-
to: u(t)
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
case "last_year": {
|
|
118
|
-
const t = r(m(e, 1));
|
|
119
|
-
return {
|
|
120
|
-
from: t,
|
|
121
|
-
to: s(t)
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
1
|
+
import e from "@mui/icons-material/Cancel";
|
|
2
|
+
import _ from "@mui/icons-material/DangerousOutlined";
|
|
3
|
+
import r from "@mui/icons-material/HourglassEmpty";
|
|
4
|
+
import a from "@mui/icons-material/PaidOutlined";
|
|
5
|
+
const s = ["waiting", "approved", "rejected", "canceled"], o = {
|
|
6
|
+
approved: "success",
|
|
7
|
+
canceled: "secondary",
|
|
8
|
+
rejected: "error",
|
|
9
|
+
waiting: "warning"
|
|
10
|
+
}, A = {
|
|
11
|
+
approved: a,
|
|
12
|
+
canceled: e,
|
|
13
|
+
rejected: _,
|
|
14
|
+
waiting: r
|
|
15
|
+
}, R = "status", d = "created_at", i = "created_by", S = "current_user";
|
|
126
16
|
export {
|
|
127
|
-
|
|
128
|
-
|
|
17
|
+
s as APPROVAL_REQUEST_STATUSES,
|
|
18
|
+
A as APPROVAL_REQUEST_STATUS_TO_MUI_ICON_MAP,
|
|
19
|
+
i as FILTER_TYPE_ADDED_BY,
|
|
20
|
+
d as FILTER_TYPE_CREATED_AT,
|
|
21
|
+
S as FILTER_TYPE_CURRENT_USER,
|
|
22
|
+
R as FILTER_TYPE_STATUS,
|
|
23
|
+
o as ROW_TO_STATUS_MUI_MAP
|
|
129
24
|
};
|
|
@@ -1,46 +1,59 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
})
|
|
19
|
-
return /* @__PURE__ */
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}) {
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
})
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
import { jsxs as n, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useRootElements as s } from "./index92.js";
|
|
3
|
+
import { FilterContainer as p } from "./index318.js";
|
|
4
|
+
import { useLingui as m } from "@lingui/react";
|
|
5
|
+
import { FormControl as u, InputLabel as c, Select as d, MenuItem as E, FormControlLabel as F, Switch as T } from "@mui/material";
|
|
6
|
+
import { DatePicker as _ } from "@mui/x-date-pickers";
|
|
7
|
+
import { APPROVAL_REQUEST_STATUSES as v, FILTER_TYPE_STATUS as R, FILTER_TYPE_ADDED_BY as A, FILTER_TYPE_CREATED_AT as C, FILTER_TYPE_CURRENT_USER as h } from "./index280.js";
|
|
8
|
+
import { getRowToStatusTextMap as S } from "./index387.js";
|
|
9
|
+
import { AutocompleteCreatedBy as M } from "./index388.js";
|
|
10
|
+
const O = ({
|
|
11
|
+
onChangeFilter: l,
|
|
12
|
+
sx: i
|
|
13
|
+
}) => {
|
|
14
|
+
const {
|
|
15
|
+
i18n: a
|
|
16
|
+
} = m(), {
|
|
17
|
+
root: r
|
|
18
|
+
} = s();
|
|
19
|
+
return /* @__PURE__ */ n(p, { className: "Monite-ApprovalRequestsFilters", sx: i, children: [
|
|
20
|
+
/* @__PURE__ */ n(u, { variant: "standard", fullWidth: !0, className: "Monite-ApprovalStatusFilter Monite-FilterControl", children: [
|
|
21
|
+
/* @__PURE__ */ t(c, { id: "status", children: a._("Status") }),
|
|
22
|
+
/* @__PURE__ */ t(d, { labelId: "status", label: a._("Status"), defaultValue: "all", MenuProps: {
|
|
23
|
+
container: r
|
|
24
|
+
}, onChange: (e) => {
|
|
25
|
+
l(R, e && e.target.value);
|
|
26
|
+
}, children: [{
|
|
27
|
+
label: a._("All invoices"),
|
|
28
|
+
value: "all"
|
|
29
|
+
}, ...Object.values(v).map((e) => ({
|
|
30
|
+
label: S(a)[e],
|
|
31
|
+
value: e
|
|
32
|
+
}))].map(({
|
|
33
|
+
label: e,
|
|
34
|
+
value: o
|
|
35
|
+
}) => /* @__PURE__ */ t(E, { value: o, children: e }, o)) })
|
|
36
|
+
] }),
|
|
37
|
+
/* @__PURE__ */ t(M, { onChange: (e) => l(A, e || null) }),
|
|
38
|
+
/* @__PURE__ */ t(_, { label: a._("Requested on"), className: "Monite-ApprovalRequestedOnFilter Monite-FilterControl Monite-DateFilterControl", onChange: (e, o) => {
|
|
39
|
+
o.validationError || l(C, e);
|
|
40
|
+
}, slotProps: {
|
|
41
|
+
textField: {
|
|
42
|
+
variant: "standard"
|
|
43
|
+
},
|
|
44
|
+
popper: {
|
|
45
|
+
container: r
|
|
46
|
+
},
|
|
47
|
+
dialog: {
|
|
48
|
+
container: r
|
|
49
|
+
},
|
|
50
|
+
actionBar: {
|
|
51
|
+
actions: ["clear", "today"]
|
|
52
|
+
}
|
|
53
|
+
}, views: ["year", "month", "day"] }),
|
|
54
|
+
/* @__PURE__ */ t(F, { control: /* @__PURE__ */ t(T, {}), className: "Monite-ApprovalOnlyMyFilter Monite-FilterControl", label: a._("Only my approvals"), onChange: (e, o) => l(h, o) })
|
|
55
|
+
] });
|
|
56
|
+
};
|
|
39
57
|
export {
|
|
40
|
-
|
|
41
|
-
c as TableBody,
|
|
42
|
-
b as TableCell,
|
|
43
|
-
d as TableHead,
|
|
44
|
-
w as TableHeader,
|
|
45
|
-
n as TableRow
|
|
58
|
+
O as ApprovalRequestsFilter
|
|
46
59
|
};
|