@tesouro/embedded-components-react 0.2.5 → 0.2.7
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 +46 -28
- package/dist/lib/ReceivablesWidget.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1269 -23
- 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 +9 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +9 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +98 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +8 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +57 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +26 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +6 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +32 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +76 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +6 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +9 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +33 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +32 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +12 -12
- 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 +24 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +14 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +12 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +119 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +10 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +46 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +49 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +14 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +46 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +149 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +56 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +71 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +27 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +3 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +62 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +36 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +80 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +30 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +72 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +55 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +196 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +22 -148
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +77 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +29 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +39 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +7 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +245 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +180 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +13 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +113 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +86 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +109 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +106 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +51 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +63 -28
- 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 +87 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +47 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +20 -252
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +54 -178
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +115 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +67 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +68 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +224 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +107 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +32 -53
- 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 +55 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +34 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +28 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +61 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +27 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +18 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +11 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +11 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +21 -235
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +49 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +5 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +6 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +20 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +20 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +15 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +89 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +11 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +20 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +27 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +114 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +65 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +12 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +24 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +92 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +98 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +13 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +14 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +100 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +25 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +12 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +2 -146
- 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 +96 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +96 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +192 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +38 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +342 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +302 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +99 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +162 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +262 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +25 -32
- 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 +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +137 -482
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +85 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +20 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +183 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +25 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +22 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +56 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +27 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +55 -52
- 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 +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +34 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +44 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +27 -190
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +5 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +73 -341
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +32 -303
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +17 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +14 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +76 -263
- 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 +86 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +42 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +73 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +18 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +41 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +10 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +30 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +31 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +62 -86
- 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 +94 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +111 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +87 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +61 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +51 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +28 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +126 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +41 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +12 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +56 -26
- 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 +9 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +61 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +45 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +22 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +189 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +102 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +79 -187
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +77 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +22 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +293 -73
- 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 +49 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +15 -307
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +255 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +149 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +50 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +50 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +201 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +156 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +105 -201
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +46 -155
- 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 +68 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +108 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +35 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +155 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +28 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +28 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +78 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +478 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +162 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +19 -96
- 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 +20 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +16 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +167 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +131 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +161 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +8 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +18 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +60 -5
- 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 +64 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +60 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +6 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +7 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +56 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +21 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +61 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +14 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +21 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +32 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +61 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +45 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +35 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +34 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +6 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +103 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +21 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +31 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +35 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +57 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +13 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +23 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +37 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +52 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +97 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +45 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +40 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +56 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +12 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +85 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +126 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +36 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +37 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +10 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +38 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +41 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +39 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +58 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +30 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +113 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +41 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +57 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +90 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +18 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +26 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +14 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +175 -179
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +34 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +32 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +138 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +8 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +19 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +80 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +63 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +66 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +5 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +66 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +47 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +26 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +17 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +15 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +7 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +72 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +94 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +28 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +12 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +11 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +9 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +53 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +34 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +15 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +32 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +26 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +23 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +35 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +25 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +34 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +120 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +18 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +16 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +16 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +70 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +29 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +94 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +15 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +74 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +9 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +57 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +71 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +21 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +18 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +51 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +59 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +29 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +33 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +41 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +37 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +15 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +49 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +65 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +16 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +15 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +63 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +21 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +54 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +2 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +12 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +35 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +33 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +33 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +29 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +22 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +38 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +85 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +70 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +68 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +37 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +19 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +12 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +14 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +15 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +67 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +57 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +39 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +29 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +39 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +83 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +53 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +37 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +35 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +71 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +83 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +50 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +50 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +53 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +68 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +16 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +134 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +16 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +61 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +50 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +55 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +40 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +47 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +39 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +19 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +75 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +4 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +7 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +24 -24
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +0 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +0 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +0 -10
|
@@ -1,21 +1,140 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsxs as n, jsx as e, Fragment as D } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { DiscountForm as G } from "./index506.js";
|
|
3
|
+
import { getPaymentTermsValidationSchema as O } from "./index197.js";
|
|
4
|
+
import { TermField as o } from "./index507.js";
|
|
5
|
+
import { usePaymentTermsApi as V } from "./index463.js";
|
|
6
|
+
import { safeZodResolver as k } from "./index274.js";
|
|
7
|
+
import { useLingui as q } from "@lingui/react";
|
|
8
|
+
import { useState as T, useEffect as L } from "react";
|
|
9
|
+
import { useForm as z, FormProvider as B, Controller as u } from "react-hook-form";
|
|
10
|
+
import { CircleAlert as R, Plus as Y } from "lucide-react";
|
|
11
|
+
import { Alert as Z } from "./index163.js";
|
|
12
|
+
import { Button as H } from "./index86.js";
|
|
13
|
+
import { Card as J, CardContent as K } from "./index374.js";
|
|
14
|
+
import { Field as p, FieldContent as f, FieldLabel as h, FieldDescription as M } from "./index164.js";
|
|
15
|
+
import { Input as Q } from "./index130.js";
|
|
16
|
+
import { InputGroup as U, InputGroupInput as W, InputGroupAddon as X, InputGroupText as ee } from "./index103.js";
|
|
17
|
+
import { Textarea as re } from "./index131.js";
|
|
18
|
+
import { Typography as y } from "./index87.js";
|
|
19
|
+
const F = 2, we = ({
|
|
20
|
+
formName: N,
|
|
21
|
+
selectedTerm: m,
|
|
22
|
+
onTermsChange: C
|
|
9
23
|
}) => {
|
|
10
24
|
const {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
25
|
+
id: v,
|
|
26
|
+
...P
|
|
27
|
+
} = m || {}, [_, d] = T(), {
|
|
28
|
+
i18n: t
|
|
29
|
+
} = q(), l = z({
|
|
30
|
+
defaultValues: {
|
|
31
|
+
...P
|
|
32
|
+
},
|
|
33
|
+
resolver: k(O(t))
|
|
14
34
|
}), {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
35
|
+
handleSubmit: S,
|
|
36
|
+
formState: {
|
|
37
|
+
errors: g
|
|
38
|
+
},
|
|
39
|
+
control: c
|
|
40
|
+
} = l, {
|
|
41
|
+
createPaymentTerm: I,
|
|
42
|
+
updatePaymentTerm: $
|
|
43
|
+
} = V({
|
|
44
|
+
onCreationError: () => d(/* @__PURE__ */ n(D, { children: [
|
|
45
|
+
t._("Failed to create payment term, please try again."),
|
|
46
|
+
/* @__PURE__ */ e("br", {}),
|
|
47
|
+
t._("If this error recurs, contact your admin.")
|
|
48
|
+
] })),
|
|
49
|
+
onSuccessfullChange: C
|
|
50
|
+
}), [i, w] = T(() => m ? [o.Term1, o.Term2].filter((r) => !!m[r]) : []);
|
|
51
|
+
L(() => {
|
|
52
|
+
Object.keys(g).filter((r) => ![...Object.values(o)].includes(r)).length > 0 ? d(t._("To create a preset you need to fill out all the required fields")) : d(null);
|
|
53
|
+
}, [g, t]);
|
|
54
|
+
const j = () => {
|
|
55
|
+
if (i.length === F) return;
|
|
56
|
+
const r = i.length ? o.Term2 : o.Term1;
|
|
57
|
+
w((a) => [...a, r]), l.setValue(r, {
|
|
58
|
+
number_of_days: null,
|
|
59
|
+
discount: null
|
|
60
|
+
});
|
|
61
|
+
}, A = () => {
|
|
62
|
+
if (!i.length) return;
|
|
63
|
+
const r = i[i.length - 1];
|
|
64
|
+
w((a) => a.slice(0, -1)), l.setValue(r, null);
|
|
65
|
+
};
|
|
66
|
+
return /* @__PURE__ */ n(B, { ...l, children: [
|
|
67
|
+
!!_ && /* @__PURE__ */ e(Z, { variant: "error", className: "ttw:mb-4", icon: /* @__PURE__ */ e(R, {}), children: _ }),
|
|
68
|
+
/* @__PURE__ */ n("form", { id: N, noValidate: !0, onSubmit: (r) => {
|
|
69
|
+
r.preventDefault(), r.stopPropagation(), S((a) => {
|
|
70
|
+
const {
|
|
71
|
+
term_1: b,
|
|
72
|
+
term_2: x,
|
|
73
|
+
...E
|
|
74
|
+
} = a, s = {
|
|
75
|
+
...E
|
|
76
|
+
};
|
|
77
|
+
b && Object.assign(s, {
|
|
78
|
+
term_1: b
|
|
79
|
+
}), x && Object.assign(s, {
|
|
80
|
+
term_2: x
|
|
81
|
+
}), v ? $(v, s) : I(s);
|
|
82
|
+
})(r);
|
|
83
|
+
}, className: "ttw:flex ttw:flex-col ttw:gap-6", children: [
|
|
84
|
+
/* @__PURE__ */ n("div", { children: [
|
|
85
|
+
/* @__PURE__ */ e(y, { variant: "h5", children: t._("Settings") }),
|
|
86
|
+
/* @__PURE__ */ e(J, { className: "ttw:mt-2 ttw:border-border", children: /* @__PURE__ */ n(K, { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
87
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:gap-2", children: [
|
|
88
|
+
/* @__PURE__ */ e(u, { name: "name", control: c, render: ({
|
|
89
|
+
field: r,
|
|
90
|
+
fieldState: {
|
|
91
|
+
error: a
|
|
92
|
+
}
|
|
93
|
+
}) => /* @__PURE__ */ e(p, { className: "ttw:flex-1", children: /* @__PURE__ */ n(f, { children: [
|
|
94
|
+
/* @__PURE__ */ e(h, { htmlFor: "name", required: !0, children: t._("Name") }),
|
|
95
|
+
/* @__PURE__ */ e(Q, { ...r, id: "name", "aria-invalid": !!a }),
|
|
96
|
+
/* @__PURE__ */ e(M, { children: t._("Example: NET 30, –2%/10 days, –1%/20 days") })
|
|
97
|
+
] }) }) }),
|
|
98
|
+
/* @__PURE__ */ e(u, { name: "term_final.number_of_days", control: c, render: ({
|
|
99
|
+
field: r,
|
|
100
|
+
fieldState: {
|
|
101
|
+
error: a
|
|
102
|
+
}
|
|
103
|
+
}) => /* @__PURE__ */ e(p, { className: "ttw:w-44 ttw:shrink-0", children: /* @__PURE__ */ n(f, { children: [
|
|
104
|
+
/* @__PURE__ */ e(h, { htmlFor: "term_final_days", required: !0, children: t._("Payment due") }),
|
|
105
|
+
/* @__PURE__ */ n(U, { children: [
|
|
106
|
+
/* @__PURE__ */ e(W, { ...r, id: "term_final_days", type: "number", value: r.value ?? "", "aria-invalid": !!a }),
|
|
107
|
+
/* @__PURE__ */ e(X, { align: "inline-end", children: /* @__PURE__ */ e(ee, { children: t._("days") }) })
|
|
108
|
+
] })
|
|
109
|
+
] }) }) })
|
|
110
|
+
] }),
|
|
111
|
+
/* @__PURE__ */ e(u, { name: "description", control: c, render: ({
|
|
112
|
+
field: r,
|
|
113
|
+
fieldState: {
|
|
114
|
+
error: a
|
|
115
|
+
}
|
|
116
|
+
}) => /* @__PURE__ */ e(p, { children: /* @__PURE__ */ n(f, { children: [
|
|
117
|
+
/* @__PURE__ */ e(h, { htmlFor: "description", children: t._("Description") }),
|
|
118
|
+
/* @__PURE__ */ e(re, { ...r, id: "description", rows: 4, value: r.value ?? "", "aria-invalid": !!a, className: "ttw:resize-none" })
|
|
119
|
+
] }) }) })
|
|
120
|
+
] }) })
|
|
121
|
+
] }),
|
|
122
|
+
/* @__PURE__ */ n("div", { children: [
|
|
123
|
+
/* @__PURE__ */ e(y, { variant: "h5", children: t._("Early payment discounts") }),
|
|
124
|
+
/* @__PURE__ */ n(y, { variant: "body2", color: "muted", className: "ttw:mt-1", children: [
|
|
125
|
+
t._("Offer a discount to your customer if they pay early."),
|
|
126
|
+
/* @__PURE__ */ e("br", {}),
|
|
127
|
+
t._("You can set up to 2 early payment discounts per invoice.")
|
|
128
|
+
] }),
|
|
129
|
+
i.length > 0 && /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:mt-6", children: i.map((r, a) => /* @__PURE__ */ e(G, { index: a, field: r, isLast: a === i.length - 1, remove: A }, r)) }),
|
|
130
|
+
i.length < F && /* @__PURE__ */ n(H, { type: "button", variant: "secondary", className: "ttw:mt-4 ttw:text-primary ttw:hover:brightness-85", onClick: j, children: [
|
|
131
|
+
/* @__PURE__ */ e(Y, {}),
|
|
132
|
+
t._("Add discount")
|
|
133
|
+
] })
|
|
134
|
+
] })
|
|
135
|
+
] })
|
|
136
|
+
] });
|
|
18
137
|
};
|
|
19
138
|
export {
|
|
20
|
-
|
|
139
|
+
we as PaymentTermsForm
|
|
21
140
|
};
|
|
@@ -1,140 +1,18 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { InputGroup as U, InputGroupInput as W, InputGroupAddon as X, InputGroupText as ee } from "./index103.js";
|
|
17
|
-
import { Textarea as re } from "./index125.js";
|
|
18
|
-
import { Typography as y } from "./index87.js";
|
|
19
|
-
const F = 2, we = ({
|
|
20
|
-
formName: N,
|
|
21
|
-
selectedTerm: m,
|
|
22
|
-
onTermsChange: C
|
|
23
|
-
}) => {
|
|
24
|
-
const {
|
|
25
|
-
id: v,
|
|
26
|
-
...P
|
|
27
|
-
} = m || {}, [_, d] = T(), {
|
|
28
|
-
i18n: t
|
|
29
|
-
} = q(), l = z({
|
|
30
|
-
defaultValues: {
|
|
31
|
-
...P
|
|
32
|
-
},
|
|
33
|
-
resolver: k(O(t))
|
|
34
|
-
}), {
|
|
35
|
-
handleSubmit: S,
|
|
36
|
-
formState: {
|
|
37
|
-
errors: g
|
|
38
|
-
},
|
|
39
|
-
control: c
|
|
40
|
-
} = l, {
|
|
41
|
-
createPaymentTerm: I,
|
|
42
|
-
updatePaymentTerm: $
|
|
43
|
-
} = V({
|
|
44
|
-
onCreationError: () => d(/* @__PURE__ */ n(D, { children: [
|
|
45
|
-
t._("Failed to create payment term, please try again."),
|
|
46
|
-
/* @__PURE__ */ e("br", {}),
|
|
47
|
-
t._("If this error recurs, contact your admin.")
|
|
48
|
-
] })),
|
|
49
|
-
onSuccessfullChange: C
|
|
50
|
-
}), [i, w] = T(() => m ? [o.Term1, o.Term2].filter((r) => !!m[r]) : []);
|
|
51
|
-
L(() => {
|
|
52
|
-
Object.keys(g).filter((r) => ![...Object.values(o)].includes(r)).length > 0 ? d(t._("To create a preset you need to fill out all the required fields")) : d(null);
|
|
53
|
-
}, [g, t]);
|
|
54
|
-
const j = () => {
|
|
55
|
-
if (i.length === F) return;
|
|
56
|
-
const r = i.length ? o.Term2 : o.Term1;
|
|
57
|
-
w((a) => [...a, r]), l.setValue(r, {
|
|
58
|
-
number_of_days: null,
|
|
59
|
-
discount: null
|
|
60
|
-
});
|
|
61
|
-
}, A = () => {
|
|
62
|
-
if (!i.length) return;
|
|
63
|
-
const r = i[i.length - 1];
|
|
64
|
-
w((a) => a.slice(0, -1)), l.setValue(r, null);
|
|
65
|
-
};
|
|
66
|
-
return /* @__PURE__ */ n(B, { ...l, children: [
|
|
67
|
-
!!_ && /* @__PURE__ */ e(Z, { variant: "error", className: "ttw:mb-4", icon: /* @__PURE__ */ e(R, {}), children: _ }),
|
|
68
|
-
/* @__PURE__ */ n("form", { id: N, noValidate: !0, onSubmit: (r) => {
|
|
69
|
-
r.preventDefault(), r.stopPropagation(), S((a) => {
|
|
70
|
-
const {
|
|
71
|
-
term_1: b,
|
|
72
|
-
term_2: x,
|
|
73
|
-
...E
|
|
74
|
-
} = a, s = {
|
|
75
|
-
...E
|
|
76
|
-
};
|
|
77
|
-
b && Object.assign(s, {
|
|
78
|
-
term_1: b
|
|
79
|
-
}), x && Object.assign(s, {
|
|
80
|
-
term_2: x
|
|
81
|
-
}), v ? $(v, s) : I(s);
|
|
82
|
-
})(r);
|
|
83
|
-
}, className: "ttw:flex ttw:flex-col ttw:gap-6", children: [
|
|
84
|
-
/* @__PURE__ */ n("div", { children: [
|
|
85
|
-
/* @__PURE__ */ e(y, { variant: "h5", children: t._("Settings") }),
|
|
86
|
-
/* @__PURE__ */ e(J, { className: "ttw:mt-2 ttw:border-border", children: /* @__PURE__ */ n(K, { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
87
|
-
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:gap-2", children: [
|
|
88
|
-
/* @__PURE__ */ e(u, { name: "name", control: c, render: ({
|
|
89
|
-
field: r,
|
|
90
|
-
fieldState: {
|
|
91
|
-
error: a
|
|
92
|
-
}
|
|
93
|
-
}) => /* @__PURE__ */ e(p, { className: "ttw:flex-1", children: /* @__PURE__ */ n(f, { children: [
|
|
94
|
-
/* @__PURE__ */ e(h, { htmlFor: "name", required: !0, children: t._("Name") }),
|
|
95
|
-
/* @__PURE__ */ e(Q, { ...r, id: "name", "aria-invalid": !!a }),
|
|
96
|
-
/* @__PURE__ */ e(M, { children: t._("Example: NET 30, –2%/10 days, –1%/20 days") })
|
|
97
|
-
] }) }) }),
|
|
98
|
-
/* @__PURE__ */ e(u, { name: "term_final.number_of_days", control: c, render: ({
|
|
99
|
-
field: r,
|
|
100
|
-
fieldState: {
|
|
101
|
-
error: a
|
|
102
|
-
}
|
|
103
|
-
}) => /* @__PURE__ */ e(p, { className: "ttw:w-44 ttw:shrink-0", children: /* @__PURE__ */ n(f, { children: [
|
|
104
|
-
/* @__PURE__ */ e(h, { htmlFor: "term_final_days", required: !0, children: t._("Payment due") }),
|
|
105
|
-
/* @__PURE__ */ n(U, { children: [
|
|
106
|
-
/* @__PURE__ */ e(W, { ...r, id: "term_final_days", type: "number", value: r.value ?? "", "aria-invalid": !!a }),
|
|
107
|
-
/* @__PURE__ */ e(X, { align: "inline-end", children: /* @__PURE__ */ e(ee, { children: t._("days") }) })
|
|
108
|
-
] })
|
|
109
|
-
] }) }) })
|
|
110
|
-
] }),
|
|
111
|
-
/* @__PURE__ */ e(u, { name: "description", control: c, render: ({
|
|
112
|
-
field: r,
|
|
113
|
-
fieldState: {
|
|
114
|
-
error: a
|
|
115
|
-
}
|
|
116
|
-
}) => /* @__PURE__ */ e(p, { children: /* @__PURE__ */ n(f, { children: [
|
|
117
|
-
/* @__PURE__ */ e(h, { htmlFor: "description", children: t._("Description") }),
|
|
118
|
-
/* @__PURE__ */ e(re, { ...r, id: "description", rows: 4, value: r.value ?? "", "aria-invalid": !!a, className: "ttw:resize-none" })
|
|
119
|
-
] }) }) })
|
|
120
|
-
] }) })
|
|
121
|
-
] }),
|
|
122
|
-
/* @__PURE__ */ n("div", { children: [
|
|
123
|
-
/* @__PURE__ */ e(y, { variant: "h5", children: t._("Early payment discounts") }),
|
|
124
|
-
/* @__PURE__ */ n(y, { variant: "body2", color: "muted", className: "ttw:mt-1", children: [
|
|
125
|
-
t._("Offer a discount to your customer if they pay early."),
|
|
126
|
-
/* @__PURE__ */ e("br", {}),
|
|
127
|
-
t._("You can set up to 2 early payment discounts per invoice.")
|
|
128
|
-
] }),
|
|
129
|
-
i.length > 0 && /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:mt-6", children: i.map((r, a) => /* @__PURE__ */ e(G, { index: a, field: r, isLast: a === i.length - 1, remove: A }, r)) }),
|
|
130
|
-
i.length < F && /* @__PURE__ */ n(H, { type: "button", variant: "secondary", className: "ttw:mt-4 ttw:text-primary ttw:hover:brightness-85", onClick: j, children: [
|
|
131
|
-
/* @__PURE__ */ e(Y, {}),
|
|
132
|
-
t._("Add discount")
|
|
133
|
-
] })
|
|
134
|
-
] })
|
|
135
|
-
] })
|
|
136
|
-
] });
|
|
137
|
-
};
|
|
1
|
+
import { jsxs as t, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Typography as r } from "./index87.js";
|
|
3
|
+
import { twMerge as s } from "tailwind-merge";
|
|
4
|
+
const d = ({
|
|
5
|
+
renderIcon: i,
|
|
6
|
+
leftLine: a,
|
|
7
|
+
rightLine: m,
|
|
8
|
+
className: n
|
|
9
|
+
}) => /* @__PURE__ */ t("div", { className: s("ttw:flex ttw:justify-between ttw:items-center", n), children: [
|
|
10
|
+
/* @__PURE__ */ t("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
11
|
+
i,
|
|
12
|
+
/* @__PURE__ */ e(r, { variant: "body1", children: a })
|
|
13
|
+
] }),
|
|
14
|
+
/* @__PURE__ */ e(r, { variant: "body1", children: m })
|
|
15
|
+
] });
|
|
138
16
|
export {
|
|
139
|
-
|
|
17
|
+
d as PaymentTermSummaryItem
|
|
140
18
|
};
|
|
@@ -1,18 +1,63 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}) =>
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsxs as i, jsx as a } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Button as w } from "./index86.js";
|
|
3
|
+
import { useLingui as f } from "@lingui/react";
|
|
4
|
+
import { Bell as y } from "lucide-react";
|
|
5
|
+
const u = (e) => "term_1_reminder" in e || "term_2_reminder" in e || "term_final_reminder" in e, b = ({
|
|
6
|
+
reminder: e,
|
|
7
|
+
updateDisabled: n,
|
|
8
|
+
onUpdate: m
|
|
9
|
+
}) => {
|
|
10
|
+
const {
|
|
11
|
+
i18n: t
|
|
12
|
+
} = f(), s = u(e) ? [{
|
|
13
|
+
reminderTerm: e?.term_1_reminder ? t._("{days} {unit} before", {
|
|
14
|
+
days: e.term_1_reminder.days_before,
|
|
15
|
+
unit: e.term_1_reminder.days_before === 1 ? "day" : "days"
|
|
16
|
+
}) : t._("No reminder"),
|
|
17
|
+
termPeriodName: t._("Discount date 1"),
|
|
18
|
+
id: "payment-1"
|
|
19
|
+
}, {
|
|
20
|
+
reminderTerm: e?.term_2_reminder ? t._("{days} {unit} before", {
|
|
21
|
+
days: e.term_2_reminder.days_before,
|
|
22
|
+
unit: e.term_2_reminder.days_before === 1 ? "day" : "days"
|
|
23
|
+
}) : t._("No reminder"),
|
|
24
|
+
termPeriodName: t._("Discount date 2"),
|
|
25
|
+
id: "payment-2"
|
|
26
|
+
}, {
|
|
27
|
+
reminderTerm: e?.term_final_reminder ? t._("{days} {unit} before", {
|
|
28
|
+
days: e.term_final_reminder.days_before,
|
|
29
|
+
unit: e.term_final_reminder.days_before === 1 ? "day" : "days"
|
|
30
|
+
}) : t._("No reminder"),
|
|
31
|
+
termPeriodName: t._("Due date"),
|
|
32
|
+
id: "payment-3"
|
|
33
|
+
}] : e?.terms?.map((r, d) => ({
|
|
34
|
+
reminderTerm: t._("{days} {unit} after", {
|
|
35
|
+
days: r.days_after,
|
|
36
|
+
unit: r.days_after === 1 ? "day" : "days"
|
|
37
|
+
}),
|
|
38
|
+
termPeriodName: t._("Due date"),
|
|
39
|
+
id: `overdue-${d + 1}`
|
|
40
|
+
})) ?? [];
|
|
41
|
+
return /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:p-4 ttw:bg-zinc-50 ttw:rounded-md", children: [
|
|
42
|
+
/* @__PURE__ */ a("ul", { className: "ttw:w-full ttw:list-none", children: s?.map(({
|
|
43
|
+
termPeriodName: r,
|
|
44
|
+
reminderTerm: d,
|
|
45
|
+
id: l
|
|
46
|
+
}, _, o) => /* @__PURE__ */ i("li", { className: "ttw:flex ttw:items-start ttw:gap-2 ttw:w-full", children: [
|
|
47
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:items-center ttw:gap-1 ttw:pt-1", children: [
|
|
48
|
+
/* @__PURE__ */ a(y, { className: "ttw:size-4 ttw:text-neutral" }),
|
|
49
|
+
_ !== o.length - 1 && /* @__PURE__ */ a("div", { className: "ttw:w-px ttw:h-2 ttw:bg-neutral" })
|
|
50
|
+
] }),
|
|
51
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-1 ttw:justify-between ttw:py-0.5", children: [
|
|
52
|
+
/* @__PURE__ */ a("span", { className: "ttw:text-sm ttw:font-medium ttw:text-neutral", children: d }),
|
|
53
|
+
/* @__PURE__ */ a("span", { className: "ttw:text-sm ttw:font-normal ttw:text-neutral", children: r })
|
|
54
|
+
] })
|
|
55
|
+
] }, l)) }),
|
|
56
|
+
m && /* @__PURE__ */ a(w, { variant: "ghost", disabled: n, onClick: (r) => {
|
|
57
|
+
r.preventDefault(), m();
|
|
58
|
+
}, size: "sm", className: "ttw:w-fit ttw:text-primary ttw:hover:text-primary", children: t._("Edit preset") })
|
|
59
|
+
] });
|
|
60
|
+
};
|
|
16
61
|
export {
|
|
17
|
-
|
|
62
|
+
b as ReminderDetails
|
|
18
63
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as a, jsxs as X } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { CounterpartTableFilters as Z } from "./
|
|
3
|
-
import { FILTER_TYPE_SEARCH as A, FILTER_TYPE_TYPE as tt } from "./
|
|
2
|
+
import { CounterpartTableFilters as Z } from "./index165.js";
|
|
3
|
+
import { FILTER_TYPE_SEARCH as A, FILTER_TYPE_TYPE as tt } from "./index166.js";
|
|
4
4
|
import { getCounterpartName as et } from "./index7.js";
|
|
5
5
|
import { useCurrencies as at } from "./index60.js";
|
|
6
6
|
import { useMoniteContext as it } from "./index59.js";
|
|
7
7
|
import { MoniteScopedProviders as rt } from "./index85.js";
|
|
8
8
|
import { useCounterpartList as ot } from "./index73.js";
|
|
9
|
-
import { useUserPermissions as nt } from "./
|
|
9
|
+
import { useUserPermissions as nt } from "./index138.js";
|
|
10
10
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
11
11
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
12
12
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
@@ -14,19 +14,19 @@ import "@tanstack/react-query";
|
|
|
14
14
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
15
15
|
import { Scope as y } from "../../shared/data-access/dist/lib/scopes.js";
|
|
16
16
|
import { useState as c, useMemo as d } from "react";
|
|
17
|
-
import { CounterPartCellByData as st } from "./
|
|
18
|
-
import { GetNoRowsOverlay as dt } from "./
|
|
19
|
-
import { AccessRestriction as lt } from "./
|
|
17
|
+
import { CounterPartCellByData as st } from "./index167.js";
|
|
18
|
+
import { GetNoRowsOverlay as dt } from "./index168.js";
|
|
19
|
+
import { AccessRestriction as lt } from "./index140.js";
|
|
20
20
|
import { Button as mt } from "./index86.js";
|
|
21
21
|
import "clsx";
|
|
22
22
|
import { twMerge as U } from "tailwind-merge";
|
|
23
23
|
import "@radix-ui/react-dialog";
|
|
24
24
|
import { ArrowUp as ct, ArrowDown as pt, ArrowUpDown as ut } from "lucide-react";
|
|
25
25
|
import { useLingui as gt } from "@lingui/react";
|
|
26
|
-
import { DataTable as _t } from "./
|
|
27
|
-
import { hasSelectedText as wt } from "./
|
|
26
|
+
import { DataTable as _t } from "./index169.js";
|
|
27
|
+
import { hasSelectedText as wt } from "./index170.js";
|
|
28
28
|
import { useGetPayablesAnalytics as C } from "./index35.js";
|
|
29
|
-
import { LoadingSpinner as p } from "./
|
|
29
|
+
import { LoadingSpinner as p } from "./index144.js";
|
|
30
30
|
const Kt = (u) => /* @__PURE__ */ a(rt, { children: /* @__PURE__ */ a(ht, { ...u }) }), ht = ({
|
|
31
31
|
onRowClick: u,
|
|
32
32
|
onChangeSort: j,
|
|
@@ -3,14 +3,14 @@ import { useState as d, useCallback as n } from "react";
|
|
|
3
3
|
import { TagFormModal as u } from "./index49.js";
|
|
4
4
|
import { TagsTable as h } from "./index48.js";
|
|
5
5
|
import { MoniteScopedProviders as C } from "./index85.js";
|
|
6
|
-
import { useUserPermissions as x } from "./
|
|
6
|
+
import { useUserPermissions as x } from "./index138.js";
|
|
7
7
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
8
8
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
9
9
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
10
10
|
import "@tanstack/react-query";
|
|
11
11
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
12
12
|
import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
|
|
13
|
-
import { AccessRestriction as A } from "./
|
|
13
|
+
import { AccessRestriction as A } from "./index140.js";
|
|
14
14
|
import { Button as T } from "./index86.js";
|
|
15
15
|
import "clsx";
|
|
16
16
|
import "tailwind-merge";
|
|
@@ -1,46 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { jsx as l } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useRootElements as T } from "./index94.js";
|
|
3
|
+
import { Autocomplete as V, TextField as I } from "@mui/material";
|
|
4
|
+
import { Controller as K } from "react-hook-form";
|
|
5
|
+
const H = ({
|
|
6
|
+
control: m,
|
|
7
|
+
name: n,
|
|
8
|
+
label: a,
|
|
9
|
+
renderInput: i,
|
|
10
|
+
optionKey: r,
|
|
11
|
+
labelKey: s,
|
|
12
|
+
options: t,
|
|
13
|
+
required: p,
|
|
14
|
+
slotProps: d,
|
|
15
|
+
rules: g,
|
|
16
|
+
shouldUnregister: f,
|
|
17
|
+
disabled: c,
|
|
18
|
+
defaultValue: b,
|
|
19
|
+
readOnly: y,
|
|
20
|
+
onChange: S,
|
|
21
|
+
...h
|
|
15
22
|
}) => {
|
|
16
|
-
const {
|
|
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
|
-
|
|
23
|
+
const A = (e) => i ? (o) => i(o, {
|
|
24
|
+
error: e,
|
|
25
|
+
label: a,
|
|
26
|
+
required: p
|
|
27
|
+
}) : (o) => /* @__PURE__ */ l(I, { ...o, variant: "standard", required: p, label: a, error: !!e?.message, helperText: e?.message, inputProps: {
|
|
28
|
+
...o.inputProps,
|
|
29
|
+
autoComplete: "new-password"
|
|
30
|
+
} }), C = (e) => e ? typeof e == "string" || Array.isArray(e) ? e : r ? String(e[r]) : e : "", O = (e) => e ? r ? t.find((o) => String(o[r]) === String(e)) ?? null : t.find((o) => String(o) === String(e)) ?? null : null, v = (e) => typeof e == "string" ? e : s ? `${e[s]}` : "", {
|
|
31
|
+
root: x
|
|
32
|
+
} = T();
|
|
33
|
+
return /* @__PURE__ */ l(K, { control: m, name: n, rules: g, shouldUnregister: f, defaultValue: b, render: ({
|
|
34
|
+
field: e,
|
|
35
|
+
fieldState: {
|
|
36
|
+
error: o,
|
|
37
|
+
isTouched: P
|
|
38
|
+
},
|
|
39
|
+
formState: {
|
|
40
|
+
isValid: q
|
|
41
|
+
}
|
|
42
|
+
}) => /* @__PURE__ */ l(V, { ...e, ...h, disabled: c, slotProps: {
|
|
43
|
+
...d,
|
|
44
|
+
popper: {
|
|
45
|
+
...d?.popper,
|
|
46
|
+
container: x
|
|
47
|
+
}
|
|
48
|
+
}, options: t, blurOnSelect: !0, onChange: (w, u, F, R) => {
|
|
49
|
+
e.onChange(C(u)), S?.(w, u, F, R);
|
|
50
|
+
}, value: O(e.value), id: n, getOptionLabel: v, renderInput: A(P || !q ? o : void 0), readOnly: y }) });
|
|
43
51
|
};
|
|
44
52
|
export {
|
|
45
|
-
|
|
53
|
+
H as RHFAutocomplete
|
|
46
54
|
};
|