@tesouro/embedded-components-react 0.2.106 → 0.2.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/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/expense-approval-policies-widget/data-access/dist/index2.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/data-access/dist/index3.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/useApprovalPolicies.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +21 -21
- 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/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/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/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +4 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +25 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +1271 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +8 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +12 -1270
- 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 +8 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +25 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +9 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +46 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +75 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +57 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +196 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +12 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +39 -9
- 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 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +80 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +80 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +28 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +62 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +41 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +7 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +116 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +68 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +189 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +30 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +105 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +137 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +20 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +19 -150
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +21 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +26 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +183 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +19 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +48 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +4 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +88 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +34 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +6 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +43 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +48 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +202 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +427 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +21 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +73 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +6 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +31 -195
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +32 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +12 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +25 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +13 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +116 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +11 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +47 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +48 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +11 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +39 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +15 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +11 -21
- 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 +150 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +55 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +71 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +28 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +3 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +96 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +57 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +27 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +13 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +16 -33
- 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 +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +2 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +10 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +18 -201
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +18 -423
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +27 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +117 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +62 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +12 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +12 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +24 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +94 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +101 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +12 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +7 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +32 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +59 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +397 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +69 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +406 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +101 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +24 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +5 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +211 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +10 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +36 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +50 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +33 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +66 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +346 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +18 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +13 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +14 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +13 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +21 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +37 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +34 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +17 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +245 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +19 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +38 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +56 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +50 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +98 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +42 -243
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +146 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +108 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +143 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +86 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +24 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +41 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +29 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +5 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +73 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +32 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +17 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +22 -491
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +50 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +27 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +52 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +17 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +489 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +167 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +30 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +58 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +31 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +113 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +22 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +41 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +54 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +77 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +77 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +40 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +72 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +62 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +26 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +126 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +44 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +149 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +10 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +19 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +62 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +41 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +22 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +137 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +112 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +80 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +282 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +46 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +15 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +83 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +218 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +35 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +11 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +9 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +10 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +12 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +6 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +2 -347
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +39 -301
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +341 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +298 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +99 -263
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +160 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +264 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +22 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +19 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +96 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +95 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +187 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +22 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +14 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +19 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +164 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +132 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +158 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +9 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +18 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +62 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +63 -280
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +54 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +8 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +55 -218
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +21 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +63 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +93 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +84 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +17 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +50 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +10 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +49 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +157 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +27 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +27 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +78 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +63 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +37 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +23 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +31 -41
- 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 +18 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +29 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +42 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +63 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +91 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +108 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +85 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +46 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +36 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +25 -15
- 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 +6 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +35 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +26 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +39 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +15 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +72 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +94 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +27 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +255 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +9 -24
- 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 +10 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +7 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +49 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +122 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +18 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +73 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +11 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +75 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +68 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +2 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +10 -32
- 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 +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +64 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +15 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +19 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +35 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +33 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +32 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +85 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +24 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +11 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +102 -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 +110 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +15 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +22 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +50 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +31 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +4 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +125 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +94 -17
- 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 +32 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +32 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +28 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +23 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +37 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +8 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +22 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +21 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +19 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +12 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +21 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +5 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +65 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +47 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +28 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +68 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +55 -37
- 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 +39 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +33 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +23 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +53 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +33 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +69 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +80 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +54 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +49 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +51 -36
- 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 +30 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +54 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +36 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +46 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +68 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +21 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +50 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +81 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +36 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +19 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +94 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +75 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +22 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +34 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +1 -1
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +12 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.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 +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +39 -47
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
- 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/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- 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 +12 -12
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +24 -24
- package/package.json +1 -1
|
@@ -1,24 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
const a = ({
|
|
3
|
-
counterpart_billing_address_id: e,
|
|
4
|
-
counterpart_country: r,
|
|
5
|
-
counterpart_id: t,
|
|
6
|
-
counterpart_type: n
|
|
7
|
-
}) => {
|
|
8
|
-
const {
|
|
9
|
-
api: i
|
|
10
|
-
} = o();
|
|
11
|
-
return i.finops.getReceivablesRequiredFields.useQuery({
|
|
12
|
-
query: {
|
|
13
|
-
counterpart_billing_address_id: e,
|
|
14
|
-
counterpart_country: r,
|
|
15
|
-
counterpart_id: t,
|
|
16
|
-
counterpart_type: n
|
|
17
|
-
}
|
|
18
|
-
}, {
|
|
19
|
-
enabled: !!e && !!t
|
|
20
|
-
});
|
|
21
|
-
};
|
|
1
|
+
const E = "search", T = "type";
|
|
22
2
|
export {
|
|
23
|
-
|
|
3
|
+
E as FILTER_TYPE_SEARCH,
|
|
4
|
+
T as FILTER_TYPE_TYPE
|
|
24
5
|
};
|
|
@@ -1,52 +1,101 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
const
|
|
1
|
+
import { jsx as t, jsxs as r } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as f } from "react";
|
|
3
|
+
import { toast as n } from "react-hot-toast";
|
|
4
|
+
import "./index57.js";
|
|
5
|
+
import { useLingui as _ } from "@lingui/react";
|
|
6
|
+
import "./index92.js";
|
|
7
|
+
import { useFileInput as z } from "./index61.js";
|
|
8
|
+
import "react-dom";
|
|
9
|
+
import "@mui/x-data-grid";
|
|
10
|
+
import { Button as s } from "./index84.js";
|
|
11
|
+
import { Popover as D, PopoverTrigger as P, PopoverContent as k } from "./index405.js";
|
|
12
|
+
import { cn as F } from "./index100.js";
|
|
13
|
+
import { ChevronUpIcon as I, ChevronDownIcon as U, CloudUpload as j, Copy as A, Plus as E } from "lucide-react";
|
|
14
|
+
const K = ({
|
|
15
|
+
isCreateAllowed: u,
|
|
16
|
+
onCreateInvoice: h,
|
|
17
|
+
handleFileUpload: w
|
|
18
|
+
}) => {
|
|
15
19
|
const {
|
|
16
|
-
i18n:
|
|
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
|
-
display_name: a.nickname || a.nameOnAccount,
|
|
43
|
-
account_number: a.accountNumber,
|
|
44
|
-
account_number_last4: null,
|
|
45
|
-
bank_account_type: "EXTERNAL"
|
|
46
|
-
}))].sort((a, b) => u(a, o).localeCompare(u(b, o))), [e, c, r, o]),
|
|
47
|
-
isLoading: l
|
|
20
|
+
i18n: e
|
|
21
|
+
} = _(), [c, a] = f(!1), {
|
|
22
|
+
FileInput: x,
|
|
23
|
+
openFileInput: b,
|
|
24
|
+
checkFileError: y
|
|
25
|
+
} = z(), [g, i] = f(!1), v = (l) => {
|
|
26
|
+
l.preventDefault(), i(!0);
|
|
27
|
+
}, N = (l) => {
|
|
28
|
+
l.preventDefault(), i(!1);
|
|
29
|
+
}, d = 10, C = (l) => {
|
|
30
|
+
l.preventDefault(), i(!1);
|
|
31
|
+
const o = Array.from(l.dataTransfer.files);
|
|
32
|
+
if (o.length > d) {
|
|
33
|
+
n.error(e._("You can only upload up to {fileCount} files at a time", {
|
|
34
|
+
fileCount: d
|
|
35
|
+
})), a(!1);
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
o.forEach((m) => {
|
|
39
|
+
const p = y(m);
|
|
40
|
+
if (p) {
|
|
41
|
+
n.error(p);
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
w(m);
|
|
45
|
+
}), a(!1);
|
|
48
46
|
};
|
|
47
|
+
return /* @__PURE__ */ t("div", { className: "Monite-Payables", children: /* @__PURE__ */ r(D, { open: c, onOpenChange: a, children: [
|
|
48
|
+
/* @__PURE__ */ t(P, { asChild: !0, children: /* @__PURE__ */ r(s, { size: "lg", disabled: !u, children: [
|
|
49
|
+
e._("Add new bill"),
|
|
50
|
+
c ? /* @__PURE__ */ t(I, {}) : /* @__PURE__ */ t(U, {})
|
|
51
|
+
] }) }),
|
|
52
|
+
/* @__PURE__ */ r(k, { align: "end", className: "ttw:w-auto ttw:min-w-110 ttw:border-none ttw:p-6", children: [
|
|
53
|
+
/* @__PURE__ */ r("div", { className: "ttw:w-110 ttw:flex ttw:flex-col ttw:gap-4", onClick: (l) => {
|
|
54
|
+
l.preventDefault(), l.stopPropagation();
|
|
55
|
+
}, children: [
|
|
56
|
+
/* @__PURE__ */ r("div", { children: [
|
|
57
|
+
/* @__PURE__ */ t("h3", { className: "ttw:text-xl ttw:font-semibold ttw:text-zinc-950", children: e._("Upload bills") }),
|
|
58
|
+
/* @__PURE__ */ t("p", { className: "ttw:text-sm ttw:font-normal ttw:text-zinc-500", children: e._("Upload your bills and we'll automatically pull the details so you can review and approve.") })
|
|
59
|
+
] }),
|
|
60
|
+
/* @__PURE__ */ t("div", { className: F("ttw:box-border ttw:cursor-pointer ttw:w-full ttw:h-36.5 ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:text-center ttw:border ttw:rounded-lg ttw:border-dashed ttw:border-zinc-200 ttw:bg-zinc-50", g && "ttw:bg-transparent"), onDragOver: v, onDragLeave: N, onDrop: C, onClick: b, children: /* @__PURE__ */ r("div", { className: "ttw:mx-auto ttw:flex ttw:flex-col ttw:items-center ttw:gap-2", children: [
|
|
61
|
+
/* @__PURE__ */ t("div", { className: "ttw:w-11 ttw:h-11 ttw:rounded-full ttw:bg-primary ttw:flex ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(j, { className: "ttw:text-white ttw:size-5" }) }),
|
|
62
|
+
/* @__PURE__ */ r("p", { className: "ttw:text-sm ttw:font-medium ttw:text-zinc-950", children: [
|
|
63
|
+
e._("Drop your files here, or"),
|
|
64
|
+
" ",
|
|
65
|
+
/* @__PURE__ */ t("span", { className: "ttw:text-primary ttw:underline", children: e._("click to browse") })
|
|
66
|
+
] }),
|
|
67
|
+
/* @__PURE__ */ t("p", { className: "ttw:text-xs ttw:font-normal ttw:text-zinc-500", children: e._("PDF, PNG or JPG (max. 20MB)") })
|
|
68
|
+
] }) }),
|
|
69
|
+
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
70
|
+
/* @__PURE__ */ t("h3", { className: "ttw:text-primary ttw:text-sm ttw:font-semibold", children: e._("Send via email") }),
|
|
71
|
+
/* @__PURE__ */ t("p", { className: "ttw:text-zinc-500 ttw:font-normal ttw:text-sm", children: e._("Email your bills here and they'll appear in your bill pay inbox, ready to review and pay.") })
|
|
72
|
+
] }),
|
|
73
|
+
/* @__PURE__ */ r("div", { className: "ttw:px-3 ttw:h-14 ttw:border ttw:border-zinc-200 ttw:rounded-lg ttw:flex ttw:items-center ttw:justify-between ttw:gap-6", children: [
|
|
74
|
+
/* @__PURE__ */ t("span", { children: e._("bills@business-banking.com") }),
|
|
75
|
+
/* @__PURE__ */ r(s, { type: "button", variant: "ghost", size: "sm", className: "ttw:text-primary ttw:hover:bg-primary-foreground ttw:hover:text-primary", onClick: () => {
|
|
76
|
+
navigator.clipboard.writeText("bills@business-banking.com"), n.success(e._("Email address copied to clipboard"));
|
|
77
|
+
}, children: [
|
|
78
|
+
/* @__PURE__ */ t(A, {}),
|
|
79
|
+
e._("Copy")
|
|
80
|
+
] })
|
|
81
|
+
] }),
|
|
82
|
+
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
83
|
+
/* @__PURE__ */ t("h3", { className: "ttw:text-sm ttw:font-semibold ttw:text-primary", children: e._("Or add bill manually") }),
|
|
84
|
+
/* @__PURE__ */ r(s, { onClick: () => {
|
|
85
|
+
a(!1), h();
|
|
86
|
+
}, className: "ttw:w-fit ttw:bg-primary-foreground ttw:hover:bg-primary-foreground ttw:text-primary", children: [
|
|
87
|
+
/* @__PURE__ */ t(E, {}),
|
|
88
|
+
e._("Add new bill")
|
|
89
|
+
] })
|
|
90
|
+
] })
|
|
91
|
+
] }),
|
|
92
|
+
/* @__PURE__ */ t(x, { "aria-label": e._("Upload payable files"), multiple: !0, onChange: (l) => {
|
|
93
|
+
const o = l.target.files;
|
|
94
|
+
o && w(o), a(!1);
|
|
95
|
+
} })
|
|
96
|
+
] })
|
|
97
|
+
] }) });
|
|
49
98
|
};
|
|
50
99
|
export {
|
|
51
|
-
|
|
100
|
+
K as CreatePayableMenu
|
|
52
101
|
};
|
|
@@ -1,6 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
function d(o) {
|
|
2
|
+
return /gradient\(/.test(o);
|
|
3
|
+
}
|
|
4
|
+
function u(o, n) {
|
|
5
|
+
o.background && (d(o.background) ? (n.backgroundImage = o.background, n.background = o.background) : (n.background = o.background, n.backgroundImage = "none"));
|
|
6
|
+
}
|
|
7
|
+
function c(o, n) {
|
|
8
|
+
o.color && (n.color = o.color);
|
|
9
|
+
}
|
|
10
|
+
function b(o, n) {
|
|
11
|
+
o.border && (n.border = o.border), o.borderRadius !== void 0 && (n.borderRadius = typeof o.borderRadius == "number" ? `${o.borderRadius}px` : o.borderRadius);
|
|
12
|
+
}
|
|
13
|
+
function g(o, n) {
|
|
14
|
+
o.fontWeight !== void 0 && (n.fontWeight = o.fontWeight);
|
|
15
|
+
}
|
|
16
|
+
function p(o, n) {
|
|
17
|
+
o.boxShadow !== void 0 && (n.boxShadow = o.boxShadow);
|
|
18
|
+
}
|
|
19
|
+
function l(o, n) {
|
|
20
|
+
if (!o.transitionDuration && !o.transitionTimingFunction && !o.transitionProperty)
|
|
21
|
+
return;
|
|
22
|
+
const a = [], t = o.transitionProperty || "all";
|
|
23
|
+
a.push(t), o.transitionDuration && a.push(o.transitionDuration), o.transitionTimingFunction && a.push(o.transitionTimingFunction), n.transition = a.join(" ");
|
|
24
|
+
}
|
|
25
|
+
function y(o) {
|
|
26
|
+
if (!o) return {};
|
|
27
|
+
const n = {};
|
|
28
|
+
return u(o, n), c(o, n), b(o, n), g(o, n), p(o, n), l(o, n), n;
|
|
29
|
+
}
|
|
30
|
+
function f(o, n) {
|
|
31
|
+
return !n || !n[o] ? {} : y(n[o]);
|
|
32
|
+
}
|
|
33
|
+
function h(o) {
|
|
34
|
+
if (!o) return {};
|
|
35
|
+
const n = {};
|
|
36
|
+
return ["primary", "secondary", "tertiary", "destructive"].forEach((a) => {
|
|
37
|
+
const t = o[a];
|
|
38
|
+
if (!t) return;
|
|
39
|
+
const i = `--ttw-btn-payables-${a}`;
|
|
40
|
+
t.background && (n[`${i}-bg`] = t.background), t.color && (n[`${i}-color`] = t.color), t.border && (n[`${i}-border`] = t.border), t.borderRadius !== void 0 && (n[`${i}-radius`] = typeof t.borderRadius == "number" ? `${t.borderRadius}px` : t.borderRadius), t.fontWeight !== void 0 && (n[`${i}-weight`] = String(t.fontWeight)), t.boxShadow && (n[`${i}-shadow`] = t.boxShadow), t.transitionProperty && (n[`${i}-transition-property`] = t.transitionProperty), t.transitionDuration && (n[`${i}-transition-duration`] = t.transitionDuration), t.transitionTimingFunction && (n[`${i}-transition-timing`] = t.transitionTimingFunction), ["hover", "active", "focus", "disabled"].forEach((s) => {
|
|
41
|
+
const r = t[s];
|
|
42
|
+
if (!r) return;
|
|
43
|
+
const e = `${i}-${s}`;
|
|
44
|
+
r.background && (n[`${e}-bg`] = r.background), r.color && (n[`${e}-color`] = r.color), r.border && (n[`${e}-border`] = r.border), r.boxShadow && (n[`${e}-shadow`] = r.boxShadow);
|
|
45
|
+
});
|
|
46
|
+
}), n;
|
|
47
|
+
}
|
|
3
48
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
49
|
+
u as applyBackgroundStyles,
|
|
50
|
+
b as applyBorderStyles,
|
|
51
|
+
c as applyColorStyles,
|
|
52
|
+
p as applyShadowStyles,
|
|
53
|
+
l as applyTransitionStyles,
|
|
54
|
+
g as applyTypographyStyles,
|
|
55
|
+
h as generatePayablesButtonCssVars,
|
|
56
|
+
f as getButtonStateStyles,
|
|
57
|
+
y as getButtonStyles,
|
|
58
|
+
d as isGradient
|
|
6
59
|
};
|
|
@@ -1,7 +1,29 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { jsx as l } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { ConfirmationModal as s } from "./index166.js";
|
|
3
|
+
import { useLingui as d } from "@lingui/react";
|
|
4
|
+
import "./index57.js";
|
|
5
|
+
import "react-hot-toast";
|
|
6
|
+
import { useGetProductById as u } from "./index208.js";
|
|
7
|
+
import { useDeleteProduct as c } from "./index358.js";
|
|
8
|
+
const P = ({
|
|
9
|
+
id: e,
|
|
10
|
+
open: a,
|
|
11
|
+
onClose: t,
|
|
12
|
+
onDeleted: r
|
|
13
|
+
}) => {
|
|
14
|
+
const {
|
|
15
|
+
i18n: o
|
|
16
|
+
} = d(), {
|
|
17
|
+
data: n
|
|
18
|
+
} = u(e), i = c(e, () => {
|
|
19
|
+
t(), r?.(e);
|
|
20
|
+
}), m = () => {
|
|
21
|
+
i.mutate(void 0);
|
|
22
|
+
};
|
|
23
|
+
return n ? /* @__PURE__ */ l(s, { open: a && !!e, title: o._('Delete "{name}"?', {
|
|
24
|
+
name: n.name
|
|
25
|
+
}), message: o._("It will remain in all the documents where it is added. You can't undo this action."), confirmLabel: o._("Delete"), cancelLabel: o._("Cancel"), onClose: t, onConfirm: m, isLoading: i.isPending }) : null;
|
|
26
|
+
};
|
|
5
27
|
export {
|
|
6
|
-
|
|
28
|
+
P as ProductDeleteModal
|
|
7
29
|
};
|
|
@@ -1,90 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}) {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
return /* @__PURE__ */ e(o.Portal, { "data-slot": "dialog-portal", ...t });
|
|
14
|
-
}
|
|
15
|
-
function v({
|
|
16
|
-
...t
|
|
17
|
-
}) {
|
|
18
|
-
return /* @__PURE__ */ e(o.Close, { "data-slot": "dialog-close", ...t });
|
|
19
|
-
}
|
|
20
|
-
function g({
|
|
21
|
-
className: t,
|
|
22
|
-
...a
|
|
23
|
-
}) {
|
|
24
|
-
return /* @__PURE__ */ e(o.Overlay, { "data-slot": "dialog-overlay", className: s("ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:fixed ttw:inset-0 ttw:z-1300 ttw:bg-black/50", t), ...a });
|
|
25
|
-
}
|
|
26
|
-
function N({
|
|
27
|
-
className: t,
|
|
28
|
-
children: a,
|
|
29
|
-
showCloseButton: r = !0,
|
|
30
|
-
fullScreen: i = !1,
|
|
31
|
-
container: l = typeof document < "u" ? document.body : null,
|
|
32
|
-
...d
|
|
33
|
-
}) {
|
|
34
|
-
return /* @__PURE__ */ n(u, { container: l, "data-slot": "dialog-portal", children: [
|
|
35
|
-
/* @__PURE__ */ e(g, {}),
|
|
36
|
-
/* @__PURE__ */ n(
|
|
37
|
-
o.Content,
|
|
38
|
-
{
|
|
39
|
-
"data-slot": "dialog-content",
|
|
40
|
-
className: s("ttw:bg-background ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:fixed ttw:top-[50%] ttw:left-[50%] ttw:z-1300 ttw:grid ttw:w-full ttw:max-w-[calc(100%-2rem)] ttw:translate-x-[-50%] ttw:translate-y-[-50%] ttw:gap-4 ttw:rounded-lg ttw:border ttw:p-6 ttw:shadow-lg ttw:duration-200 ttw:sm:max-w-lg", i && "ttw:border-none ttw:rounded-none ttw:h-screen ttw:max-w-screen ttw:sm:max-w-screen", t),
|
|
41
|
-
...d,
|
|
42
|
-
onCloseAutoFocus: (w) => {
|
|
43
|
-
w.preventDefault(), (l ?? document.body).style.pointerEvents = "";
|
|
44
|
-
},
|
|
45
|
-
children: [
|
|
46
|
-
a,
|
|
47
|
-
r && /* @__PURE__ */ n(o.Close, { "data-slot": "dialog-close", className: "ttw:ring-offset-background ttw:focus:ring-ring ttw:data-[state=open]:bg-accent ttw:data-[state=open]:text-muted-foreground ttw:absolute ttw:top-4 ttw:right-4 ttw:rounded-xs ttw:opacity-70 ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:ring-2 ttw:focus:ring-offset-2 ttw:focus:outline-hidden ttw:disabled:pointer-events-none ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", children: [
|
|
48
|
-
/* @__PURE__ */ e(c, {}),
|
|
49
|
-
/* @__PURE__ */ e("span", { className: "ttw:sr-only", children: "Close" })
|
|
50
|
-
] })
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
)
|
|
54
|
-
] });
|
|
55
|
-
}
|
|
56
|
-
function b({
|
|
57
|
-
className: t,
|
|
58
|
-
...a
|
|
59
|
-
}) {
|
|
60
|
-
return /* @__PURE__ */ e("div", { "data-slot": "dialog-header", className: s("ttw:flex ttw:flex-col ttw:gap-2 ttw:text-center ttw:sm:text-left", t), ...a });
|
|
61
|
-
}
|
|
62
|
-
function h({
|
|
63
|
-
className: t,
|
|
64
|
-
...a
|
|
65
|
-
}) {
|
|
66
|
-
return /* @__PURE__ */ e("div", { "data-slot": "dialog-footer", className: s("ttw:flex ttw:flex-col-reverse ttw:gap-2 ttw:sm:flex-row ttw:sm:justify-end", t), ...a });
|
|
67
|
-
}
|
|
68
|
-
function y({
|
|
69
|
-
className: t,
|
|
70
|
-
...a
|
|
71
|
-
}) {
|
|
72
|
-
return /* @__PURE__ */ e(o.Title, { "data-slot": "dialog-title", className: s("ttw:text-lg ttw:leading-none ttw:font-semibold", t), ...a });
|
|
73
|
-
}
|
|
74
|
-
function D({
|
|
75
|
-
className: t,
|
|
76
|
-
...a
|
|
77
|
-
}) {
|
|
78
|
-
return /* @__PURE__ */ e(o.Description, { "data-slot": "dialog-description", className: s("ttw:text-muted-foreground ttw:text-sm", t), ...a });
|
|
79
|
-
}
|
|
1
|
+
import { jsx as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Badge as n } from "./index235.js";
|
|
3
|
+
import { useLingui as p } from "@lingui/react";
|
|
4
|
+
import { twMerge as c } from "tailwind-merge";
|
|
5
|
+
const d = ({
|
|
6
|
+
type: e
|
|
7
|
+
}) => {
|
|
8
|
+
const {
|
|
9
|
+
i18n: t
|
|
10
|
+
} = p(), r = e === "product", o = r ? t._("Product") : t._("Service");
|
|
11
|
+
return /* @__PURE__ */ i(n, { variant: "secondary", className: c(r ? "ttw:bg-blue-100 ttw:text-blue-700" : "ttw:bg-pink-100 ttw:text-pink-700"), children: o });
|
|
12
|
+
};
|
|
80
13
|
export {
|
|
81
|
-
|
|
82
|
-
v as DialogClose,
|
|
83
|
-
N as DialogContent,
|
|
84
|
-
D as DialogDescription,
|
|
85
|
-
h as DialogFooter,
|
|
86
|
-
b as DialogHeader,
|
|
87
|
-
g as DialogOverlay,
|
|
88
|
-
u as DialogPortal,
|
|
89
|
-
y as DialogTitle
|
|
14
|
+
d as ProductType
|
|
90
15
|
};
|
|
@@ -1,39 +1,22 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
message: s,
|
|
10
|
-
children: c,
|
|
11
|
-
confirmLabel: d,
|
|
12
|
-
cancelLabel: m,
|
|
13
|
-
onClose: a,
|
|
14
|
-
onConfirm: p,
|
|
15
|
-
container: g,
|
|
16
|
-
isLoading: r = !1
|
|
1
|
+
import { jsx as t, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useDebounceCallback as s } from "./index65.js";
|
|
3
|
+
import { InputGroup as i, InputGroupAddon as m, InputGroupInput as p } from "./index101.js";
|
|
4
|
+
import { useLingui as l } from "@lingui/react";
|
|
5
|
+
import { Search as u } from "lucide-react";
|
|
6
|
+
import { FILTER_TYPE_SEARCH as c } from "./index201.js";
|
|
7
|
+
const x = ({
|
|
8
|
+
onChangeFilter: r
|
|
17
9
|
}) => {
|
|
18
10
|
const {
|
|
19
|
-
i18n:
|
|
20
|
-
} =
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
|
|
26
|
-
i.stopPropagation(), a();
|
|
27
|
-
}, variant: "outline", children: m }),
|
|
28
|
-
/* @__PURE__ */ n(t, { onClick: (i) => {
|
|
29
|
-
i.stopPropagation(), p();
|
|
30
|
-
}, disabled: r, variant: "destructive", children: [
|
|
31
|
-
r && /* @__PURE__ */ o(f, { className: "ttw:w-5 ttw:h-5 ttw:border-inherit ttw:border-t-transparent" }),
|
|
32
|
-
d
|
|
33
|
-
] })
|
|
34
|
-
] })
|
|
11
|
+
i18n: n
|
|
12
|
+
} = l(), a = s((e) => {
|
|
13
|
+
r(c, e);
|
|
14
|
+
}, 500);
|
|
15
|
+
return /* @__PURE__ */ t("div", { className: "ttw:flex ttw:justify-between ttw:items-center ttw:gap-4", children: /* @__PURE__ */ o(i, { className: "ttw:w-80", children: [
|
|
16
|
+
/* @__PURE__ */ t(m, { align: "inline-start", children: /* @__PURE__ */ t(u, {}) }),
|
|
17
|
+
/* @__PURE__ */ t(p, { placeholder: n._("Search by name"), onChange: (e) => a(e.target.value) })
|
|
35
18
|
] }) });
|
|
36
19
|
};
|
|
37
20
|
export {
|
|
38
|
-
|
|
21
|
+
x as Filters
|
|
39
22
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsx as t, jsxs as r, Fragment as h } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { useCounterpartById as Dt } from "./index70.js";
|
|
3
|
-
import { Sheet as H, SheetContent as q, SheetHeader as Tt, SheetTitle as At, SheetDescription as It, SheetClose as Lt } from "./
|
|
4
|
-
import { LoadingSpinner as $t } from "./
|
|
3
|
+
import { Sheet as H, SheetContent as q, SheetHeader as Tt, SheetTitle as At, SheetDescription as It, SheetClose as Lt } from "./index173.js";
|
|
4
|
+
import { LoadingSpinner as $t } from "./index174.js";
|
|
5
5
|
import { useLingui as kt } from "@lingui/react";
|
|
6
6
|
import { getCounterpartName as T } from "./index7.js";
|
|
7
|
-
import { Skeleton as c } from "./
|
|
7
|
+
import { Skeleton as c } from "./index142.js";
|
|
8
8
|
import { useMoniteContext as Bt } from "./index57.js";
|
|
9
|
-
import { DropdownMenu as jt, DropdownMenuTrigger as Mt, DropdownMenuContent as Ot, DropdownMenuItem as Ut } from "./
|
|
9
|
+
import { DropdownMenu as jt, DropdownMenuTrigger as Mt, DropdownMenuContent as Ot, DropdownMenuItem as Ut } from "./index175.js";
|
|
10
10
|
import { Button as f } from "./index84.js";
|
|
11
11
|
import { MoreVerticalIcon as Et, Trash2 as Pt, X as Ft, EyeOff as Rt, Eye as Vt } from "lucide-react";
|
|
12
|
-
import { DeleteCounterpartModal as Wt } from "./
|
|
12
|
+
import { DeleteCounterpartModal as Wt } from "./index176.js";
|
|
13
13
|
import { useState as A, useCallback as zt, Fragment as Gt } from "react";
|
|
14
14
|
import { Typography as i } from "./index85.js";
|
|
15
15
|
import { useCurrencies as Ht } from "./index58.js";
|
|
16
|
-
import { Separator as qt } from "./
|
|
17
|
-
import { CounterpartContactDetailLine as m } from "./
|
|
16
|
+
import { Separator as qt } from "./index177.js";
|
|
17
|
+
import { CounterpartContactDetailLine as m } from "./index178.js";
|
|
18
18
|
import "react-hot-toast";
|
|
19
19
|
import "date-fns";
|
|
20
|
-
import { useDeleteCounterpartBank as Yt } from "./
|
|
21
|
-
import { useCounterpartAddressesById as Qt } from "./
|
|
22
|
-
import { useGetCounterpartPayables as Xt } from "./
|
|
23
|
-
import { EditCounterpart as Zt } from "./
|
|
24
|
-
import { useUserPermissions as Jt } from "./
|
|
20
|
+
import { useDeleteCounterpartBank as Yt } from "./index179.js";
|
|
21
|
+
import { useCounterpartAddressesById as Qt } from "./index180.js";
|
|
22
|
+
import { useGetCounterpartPayables as Xt } from "./index181.js";
|
|
23
|
+
import { EditCounterpart as Zt } from "./index182.js";
|
|
24
|
+
import { useUserPermissions as Jt } from "./index130.js";
|
|
25
25
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
26
26
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
27
27
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
@@ -29,20 +29,20 @@ import "@tanstack/react-query";
|
|
|
29
29
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
30
30
|
import { Scope as y } from "../../shared/data-access/dist/lib/scopes.js";
|
|
31
31
|
import { useGetPayablesAnalytics as I } from "./index35.js";
|
|
32
|
-
import { useGetReceivables as Kt } from "./
|
|
33
|
-
import { useGetReceivablesAnalytics as Y } from "./
|
|
32
|
+
import { useGetReceivables as Kt } from "./index137.js";
|
|
33
|
+
import { useGetReceivablesAnalytics as Y } from "./index183.js";
|
|
34
34
|
import "./index92.js";
|
|
35
35
|
import "react-dom";
|
|
36
36
|
import "@mui/x-data-grid";
|
|
37
37
|
import "react-hook-form";
|
|
38
|
-
import { PayableStatusChip as Q } from "./
|
|
39
|
-
import { CounterpartBankSection as te } from "./
|
|
40
|
-
import { useCounterpartsBankAccountsList as ee } from "./
|
|
38
|
+
import { PayableStatusChip as Q } from "./index184.js";
|
|
39
|
+
import { CounterpartBankSection as te } from "./index185.js";
|
|
40
|
+
import { useCounterpartsBankAccountsList as ee } from "./index186.js";
|
|
41
41
|
import { MoniteScopedProviders as ae } from "./index83.js";
|
|
42
42
|
import { InvoiceStatusChip as re } from "./index55.js";
|
|
43
|
-
import { CounterpartAddressSection as ie } from "./
|
|
44
|
-
import { NotFound as oe } from "./
|
|
45
|
-
import { isBillOverdue as ne } from "./
|
|
43
|
+
import { CounterpartAddressSection as ie } from "./index187.js";
|
|
44
|
+
import { NotFound as oe } from "./index188.js";
|
|
45
|
+
import { isBillOverdue as ne } from "./index189.js";
|
|
46
46
|
const Ke = (n) => /* @__PURE__ */ t(ae, { children: /* @__PURE__ */ t(de, { ...n }) }), de = ({
|
|
47
47
|
counterpartId: n,
|
|
48
48
|
customerType: u,
|
|
@@ -1,10 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { memo as a } from "react";
|
|
3
|
+
import { useMoniteContext as m } from "./index57.js";
|
|
4
|
+
import { Skeleton as n } from "./index142.js";
|
|
5
|
+
import { Typography as s } from "./index85.js";
|
|
6
|
+
const c = a(({
|
|
7
|
+
unitId: e
|
|
8
|
+
}) => {
|
|
3
9
|
const {
|
|
4
|
-
api:
|
|
5
|
-
} =
|
|
6
|
-
|
|
7
|
-
|
|
10
|
+
api: r
|
|
11
|
+
} = m(), {
|
|
12
|
+
data: t,
|
|
13
|
+
isLoading: i
|
|
14
|
+
} = r.finops.getMeasureUnitsId.useQuery({
|
|
15
|
+
path: {
|
|
16
|
+
unit_id: e
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
return i ? /* @__PURE__ */ o(n, { className: "ttw:h-4 ttw:w-4" }) : t ? /* @__PURE__ */ o(s, { color: "muted", variant: "body2", children: t.name }) : null;
|
|
20
|
+
});
|
|
8
21
|
export {
|
|
9
|
-
|
|
22
|
+
c as MeasureUnit
|
|
10
23
|
};
|
|
@@ -1,49 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { Typography as l } from "./index85.js";
|
|
3
|
-
import { useLingui as m } from "@lingui/react";
|
|
4
|
-
import { PaymentSection as c } from "./index339.js";
|
|
5
|
-
import { useFormContext as p, Controller as w } from "react-hook-form";
|
|
6
|
-
import { Field as f, FieldContent as h, FieldLabel as u, FieldError as b } from "./index158.js";
|
|
7
|
-
import { Input as g } from "./index123.js";
|
|
8
|
-
import { RecurrenceSection as x } from "./index340.js";
|
|
9
|
-
import { RemindersSection as y } from "./index341.js";
|
|
10
|
-
const j = ({
|
|
11
|
-
paymentTerms: n,
|
|
12
|
-
disabled: i,
|
|
13
|
-
isPaymentTermsLoading: d
|
|
14
|
-
}) => {
|
|
15
|
-
const {
|
|
16
|
-
i18n: r
|
|
17
|
-
} = m(), {
|
|
18
|
-
control: s
|
|
19
|
-
} = p();
|
|
20
|
-
return /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
21
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4", children: [
|
|
22
|
-
/* @__PURE__ */ t(l, { variant: "h4", children: r._("Billing details") }),
|
|
23
|
-
/* @__PURE__ */ t(l, { variant: "body2", color: "muted", className: "ttw:font-medium", children: r._("What are the billing terms?") })
|
|
24
|
-
] }),
|
|
25
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-6", children: [
|
|
26
|
-
/* @__PURE__ */ t(x, {}),
|
|
27
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:items-start ttw:gap-2.5 ttw:w-full", children: [
|
|
28
|
-
/* @__PURE__ */ t(c, { paymentTerms: n, disabled: i, isLoading: d }),
|
|
29
|
-
/* @__PURE__ */ t(w, { name: "purchase_order", control: s, render: ({
|
|
30
|
-
field: a,
|
|
31
|
-
fieldState: {
|
|
32
|
-
error: o
|
|
33
|
-
}
|
|
34
|
-
}) => /* @__PURE__ */ t(f, { children: /* @__PURE__ */ e(h, { children: [
|
|
35
|
-
/* @__PURE__ */ e(u, { htmlFor: a.name, className: "ttw:text-nowrap", children: [
|
|
36
|
-
r._("PO Number"),
|
|
37
|
-
/* @__PURE__ */ t(l, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: r._("(optional)") })
|
|
38
|
-
] }),
|
|
39
|
-
/* @__PURE__ */ t(g, { ...a, id: a.name, disabled: i, "aria-invalid": !!o }),
|
|
40
|
-
/* @__PURE__ */ t(b, { errors: o ? [o] : [] })
|
|
41
|
-
] }) }) })
|
|
42
|
-
] }),
|
|
43
|
-
/* @__PURE__ */ t(y, { disabled: i })
|
|
44
|
-
] })
|
|
45
|
-
] });
|
|
46
|
-
};
|
|
1
|
+
const E = "search";
|
|
47
2
|
export {
|
|
48
|
-
|
|
3
|
+
E as FILTER_TYPE_SEARCH
|
|
49
4
|
};
|