@tesouro/embedded-components-react 0.2.70 → 0.2.71
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/bank-accounts-widget/account-details/data-access/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index5.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/data-access/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/data-access/dist/index4.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/data-access/dist/index6.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/expense-requirements-widget/data-access/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +2 -23
- 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 +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +32 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +34 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1269 -23
- 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 +7 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +26 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +13 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +17 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +80 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +39 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +18 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +5 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +2 -12
- 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 +10 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +21 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +76 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +20 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +27 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +114 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +64 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +8 -10
- 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 +15 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +12 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +9 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +42 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +76 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +54 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +196 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +10 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +14 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +21 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +80 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +29 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +60 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +41 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +7 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +114 -195
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +70 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +175 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +29 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +110 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +56 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +23 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +26 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +20 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +12 -175
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +21 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +42 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +4 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +5 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +88 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +6 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +46 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +47 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +386 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +32 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +12 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +24 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +12 -45
- 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 +10 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +115 -388
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +46 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +46 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +46 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +147 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +55 -20
- 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 +70 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +24 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +3 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +96 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +57 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +7 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +33 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +24 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +92 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +98 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +13 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +13 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +26 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +398 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +30 -368
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +406 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +36 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +50 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +34 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +54 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +344 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +2 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +19 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +14 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +13 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +14 -2
- 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 +17 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +27 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +30 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +31 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +17 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +247 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +176 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +16 -12
- 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 +26 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +36 -246
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +53 -178
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +52 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +27 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +95 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +41 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +142 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +86 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +23 -30
- 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 +183 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +24 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +14 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +77 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +76 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +44 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +72 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +22 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +55 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +29 -2
- 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 +55 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +19 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +21 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +39 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +34 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +23 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +33 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +62 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +25 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +126 -56
- 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 +32 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +65 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +42 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +21 -341
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +178 -292
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +99 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +80 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +265 -247
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +47 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +15 -20
- 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 +83 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +221 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +149 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +10 -491
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +19 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +95 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +16 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +110 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +48 -27
- 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 +12 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +50 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +65 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +486 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +156 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +2 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +93 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +95 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +190 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +41 -22
- 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 +340 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +301 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +99 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +157 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +263 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +25 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +18 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +41 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +59 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +29 -187
- 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 +111 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +21 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +40 -281
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +53 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +159 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +27 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +27 -223
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +78 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +20 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +27 -93
- 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 +41 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +59 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +92 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +110 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +85 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +46 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +27 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +4 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +72 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +32 -22
- 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 +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +18 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +16 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +17 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +163 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +132 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +161 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +10 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +18 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +57 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +66 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +58 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +6 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +53 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +24 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +61 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +4 -4
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +7 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +53 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +18 -127
- 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 +64 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +68 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +67 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +63 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +33 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +85 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +24 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +9 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +103 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +109 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +28 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +24 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +37 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +66 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +45 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +28 -5
- 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 +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +8 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +20 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +120 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +16 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +16 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +69 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +11 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +5 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +126 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +17 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +19 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +15 -28
- 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 +20 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +14 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +21 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +94 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +30 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +5 -14
- 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 +10 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +33 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +53 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +34 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +15 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +13 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +22 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +45 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +73 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +85 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +53 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +54 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +53 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +29 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +54 -37
- 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 +37 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +46 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +68 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +52 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +17 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +83 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +39 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +92 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +16 -21
- 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 +74 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +21 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +9 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +39 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +35 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +14 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +18 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +48 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +56 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +29 -82
- 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 +51 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +30 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +18 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +51 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +52 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +19 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +47 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +37 -40
- 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/index58.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/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +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/monite-sdk/dist/index94.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/counterpart-management/data-access/dist/index5.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +127 -127
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +9 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/tags-widget/data-access/dist/index6.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/tags-widget/data-access/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index11.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index13.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index15.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index18.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index22.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index5.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index9.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index6.js +4 -4
- package/package.json +1 -1
|
@@ -1,178 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
error: e._("Amount is required")
|
|
13
|
-
}).meta({
|
|
14
|
-
title: e._("Amount")
|
|
15
|
-
}).min(0, e._("Can't be a negative number")).refine((a) => o(a) <= t, {
|
|
16
|
-
message: e._("Can't be more than the amount due")
|
|
17
|
-
}),
|
|
18
|
-
payment_date: r.date({
|
|
19
|
-
error: e._("Date is required")
|
|
20
|
-
}).meta({
|
|
21
|
-
title: e._("Date")
|
|
22
|
-
}),
|
|
23
|
-
payment_time: r.date({
|
|
24
|
-
error: e._("Time is required")
|
|
25
|
-
}).meta({
|
|
26
|
-
title: e._("Time")
|
|
27
|
-
})
|
|
28
|
-
}), y = (e) => r.object({
|
|
29
|
-
to: r.email().min(1, e._("To is required")).meta({
|
|
30
|
-
title: e._("To")
|
|
31
|
-
}),
|
|
32
|
-
subject: r.string().min(1, e._("Subject is required")).meta({
|
|
33
|
-
title: e._("Subject")
|
|
34
|
-
}),
|
|
35
|
-
body: r.string().min(1, e._("Body is required")).meta({
|
|
36
|
-
title: e._("Body")
|
|
37
|
-
})
|
|
38
|
-
}), u = (e) => {
|
|
39
|
-
const t = r.object({
|
|
40
|
-
id: r.string().optional(),
|
|
41
|
-
quantity: r.number().min(0.1, e._("Quantity is a required field")),
|
|
42
|
-
product_id: r.string().optional(),
|
|
43
|
-
taxable: r.boolean().optional(),
|
|
44
|
-
product: r.object({
|
|
45
|
-
name: r.string().min(1, e._("Name is a required field")).max(100, e._("Product name must be 100 characters or less")),
|
|
46
|
-
description: r.string().optional(),
|
|
47
|
-
price: r.object({
|
|
48
|
-
currency: c(),
|
|
49
|
-
value: r.number()
|
|
50
|
-
}),
|
|
51
|
-
measure_unit_id: r.string().optional(),
|
|
52
|
-
type: r.enum(["product", "service"])
|
|
53
|
-
}),
|
|
54
|
-
tax_rate_value: r.number().min(0, e._("Tax rate must be 0 or greater")).max(100, e._("Tax rate must be 100 or less")).optional()
|
|
55
|
-
});
|
|
56
|
-
return r.array(t).min(1, e._("Please, add at least 1 item to proceed with this invoice"));
|
|
57
|
-
}, n = (e) => r.object({
|
|
58
|
-
counterpart_id: r.string().min(1, e._("Customer is a required field")),
|
|
59
|
-
entity_vat_id_id: r.string().optional(),
|
|
60
|
-
purchase_order: r.string().optional(),
|
|
61
|
-
terms_and_conditions: r.string().optional(),
|
|
62
|
-
default_billing_address_id: r.string().optional(),
|
|
63
|
-
default_shipping_address_id: r.string().optional(),
|
|
64
|
-
tax_rate: r.string().optional(),
|
|
65
|
-
memo: r.string().optional(),
|
|
66
|
-
payment_terms_id: r.string().min(1, e._("Payment terms is a required field")),
|
|
67
|
-
payment_terms_custom_date: r.date().nullable().optional(),
|
|
68
|
-
footer: r.string().optional(),
|
|
69
|
-
line_items: u(e),
|
|
70
|
-
overdue_reminder_id: r.string().nullable().optional(),
|
|
71
|
-
payment_reminder_id: r.string().nullable().optional(),
|
|
72
|
-
tax_mode: r.enum(["exclusive", "inclusive"])
|
|
73
|
-
}), h = (e, t) => n(e).extend({
|
|
74
|
-
type: r.string(),
|
|
75
|
-
bank_account_id: t ? r.string().min(1, e._("Choose how to get paid.")) : r.string().optional(),
|
|
76
|
-
bank_account_type: r.enum(["INTERNAL", "EXTERNAL", "BANK_DETAILS"]).optional(),
|
|
77
|
-
...m().shape
|
|
78
|
-
}).superRefine((a, i) => d(a, i, e)), q = (e) => n(e).extend({
|
|
79
|
-
bank_account_id: r.string().optional(),
|
|
80
|
-
// The edit form renders no payment-term picker — terms are fixed at
|
|
81
|
-
// creation and echoed back unchanged. Invoices created with an inline
|
|
82
|
-
// term (e.g. "Due on receipt") carry no saved `payment_terms_id`, so the
|
|
83
|
-
// base schema's `min(1)` requirement would make them fail every later
|
|
84
|
-
// edit. Relax it to optional here.
|
|
85
|
-
payment_terms_id: r.string().optional()
|
|
86
|
-
}), m = () => r.object({
|
|
87
|
-
// `once` isn't part of the API's `RecurrenceFrequency` enum ('day' |
|
|
88
|
-
// 'week' | 'month' | 'quarter' | 'year') — it represents not creating a
|
|
89
|
-
// recurrence at all. The other recurrence fields are optional here and
|
|
90
|
-
// only required (via `refineRecurrenceFields` below) when frequency
|
|
91
|
-
// isn't `once`.
|
|
92
|
-
frequency: r.enum(["once", "day", "week", "month", "quarter", "year"]),
|
|
93
|
-
recurrence_start_date: r.date().optional(),
|
|
94
|
-
recurrence_end_date: r.date().optional(),
|
|
95
|
-
// Holds the deprecated `first_day`/`last_day` values as well as a plain
|
|
96
|
-
// day-of-month string ('1'..'31') from the monthly day-of-month picker —
|
|
97
|
-
// the API's `day_of_month` enum only covers the first two.
|
|
98
|
-
recurrence_issue_mode: r.string().optional(),
|
|
99
|
-
// Day of week selected for a weekly recurrence — only one can be active
|
|
100
|
-
// at a time. Note: the Monite `CreateRecurrencePayload` has no field for
|
|
101
|
-
// this — a weekly recurrence's day is derived from `start_date` alone.
|
|
102
|
-
// This is captured for now so the selection isn't lost; how it maps to
|
|
103
|
-
// the request body still needs to be decided.
|
|
104
|
-
recurrence_days_of_week: r.enum(["mo", "tu", "we", "th", "fr", "sa", "su"]).optional(),
|
|
105
|
-
// Which mutually-exclusive end condition is active — maps to the API's
|
|
106
|
-
// `end_date` vs `max_occurrences`.
|
|
107
|
-
recurrence_end_mode: r.enum(["after", "on"]).optional(),
|
|
108
|
-
recurrence_max_occurrences: r.coerce.number().int().min(1).max(1e3).optional(),
|
|
109
|
-
recurrence_subject_text: r.string().optional(),
|
|
110
|
-
recurrence_body_text: r.string().optional()
|
|
111
|
-
}), d = (e, t, a) => {
|
|
112
|
-
if (!(!e.frequency || e.frequency === "once"))
|
|
113
|
-
switch (e.recurrence_start_date || t.addIssue({
|
|
114
|
-
code: "custom",
|
|
115
|
-
message: a._("Start date is required"),
|
|
116
|
-
path: ["recurrence_start_date"]
|
|
117
|
-
}), e.frequency) {
|
|
118
|
-
case "month":
|
|
119
|
-
e.recurrence_issue_mode || t.addIssue({
|
|
120
|
-
code: "custom",
|
|
121
|
-
message: a._("Day of month is required"),
|
|
122
|
-
path: ["recurrence_issue_mode"]
|
|
123
|
-
}), e.recurrence_max_occurrences || t.addIssue({
|
|
124
|
-
code: "custom",
|
|
125
|
-
message: a._("Number of months is required"),
|
|
126
|
-
path: ["recurrence_max_occurrences"]
|
|
127
|
-
});
|
|
128
|
-
break;
|
|
129
|
-
case "week":
|
|
130
|
-
e.recurrence_days_of_week || t.addIssue({
|
|
131
|
-
code: "custom",
|
|
132
|
-
message: a._("Day of week is required"),
|
|
133
|
-
path: ["recurrence_days_of_week"]
|
|
134
|
-
}), e.recurrence_max_occurrences || t.addIssue({
|
|
135
|
-
code: "custom",
|
|
136
|
-
message: a._("Number of weeks is required"),
|
|
137
|
-
path: ["recurrence_max_occurrences"]
|
|
138
|
-
});
|
|
139
|
-
break;
|
|
140
|
-
case "quarter":
|
|
141
|
-
e.recurrence_max_occurrences || t.addIssue({
|
|
142
|
-
code: "custom",
|
|
143
|
-
message: a._("Number of quarters is required"),
|
|
144
|
-
path: ["recurrence_max_occurrences"]
|
|
145
|
-
});
|
|
146
|
-
break;
|
|
147
|
-
case "year":
|
|
148
|
-
e.recurrence_max_occurrences || t.addIssue({
|
|
149
|
-
code: "custom",
|
|
150
|
-
message: a._("Number of years is required"),
|
|
151
|
-
path: ["recurrence_max_occurrences"]
|
|
152
|
-
});
|
|
153
|
-
break;
|
|
154
|
-
case "day":
|
|
155
|
-
e.recurrence_end_mode ? e.recurrence_end_mode === "after" && !e.recurrence_max_occurrences ? t.addIssue({
|
|
156
|
-
code: "custom",
|
|
157
|
-
message: a._("Number of days is required"),
|
|
158
|
-
path: ["recurrence_max_occurrences"]
|
|
159
|
-
}) : e.recurrence_end_mode === "on" && !e.recurrence_end_date && t.addIssue({
|
|
160
|
-
code: "custom",
|
|
161
|
-
message: a._("End date is required"),
|
|
162
|
-
path: ["recurrence_end_date"]
|
|
163
|
-
}) : t.addIssue({
|
|
164
|
-
code: "custom",
|
|
165
|
-
message: a._("End condition is required"),
|
|
166
|
-
path: ["recurrence_end_mode"]
|
|
167
|
-
});
|
|
168
|
-
break;
|
|
169
|
-
}
|
|
1
|
+
import { useRef as l, useCallback as n } from "react";
|
|
2
|
+
const a = () => {
|
|
3
|
+
const e = l(null), t = n((r) => {
|
|
4
|
+
e.current = r;
|
|
5
|
+
}, []), u = n(() => {
|
|
6
|
+
e.current?.();
|
|
7
|
+
}, []);
|
|
8
|
+
return {
|
|
9
|
+
registerLineItemCleanupFn: t,
|
|
10
|
+
runLineItemCleanup: u
|
|
11
|
+
};
|
|
170
12
|
};
|
|
171
13
|
export {
|
|
172
|
-
|
|
173
|
-
h as getCreateInvoiceValidationSchema,
|
|
174
|
-
c as getCurrencyEnum,
|
|
175
|
-
y as getEmailInvoiceDetailsSchema,
|
|
176
|
-
q as getUpdateInvoiceValidationSchema,
|
|
177
|
-
b as manualPaymentRecordValidationSchema
|
|
14
|
+
a as useLineItemSubmitCleanup
|
|
178
15
|
};
|
|
@@ -1,33 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const a =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { useMoniteContext as o } from "./index57.js";
|
|
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
|
|
12
17
|
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
} : e === a ? {
|
|
20
|
-
payment_terms: {
|
|
21
|
-
term_final: {
|
|
22
|
-
number_of_days: 0
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
} : {
|
|
26
|
-
payment_terms_id: e
|
|
27
|
-
};
|
|
28
|
-
}
|
|
18
|
+
}, {
|
|
19
|
+
enabled: !!e && !!t
|
|
20
|
+
});
|
|
21
|
+
};
|
|
29
22
|
export {
|
|
30
|
-
|
|
31
|
-
a as RECEIPT_DUE_PAYMENT_TERM,
|
|
32
|
-
n as buildPaymentTermsPayload
|
|
23
|
+
a as useGetInvoiceRequiredFields
|
|
33
24
|
};
|
|
@@ -1,113 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { useUserPermissions as j } from "./index141.js";
|
|
1
|
+
import { useMemo as A } from "react";
|
|
2
|
+
import { useLingui as E } from "@lingui/react";
|
|
3
|
+
import { useUserPermissions as k } from "./index130.js";
|
|
5
4
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
6
5
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
6
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
8
7
|
import "@tanstack/react-query";
|
|
9
8
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
10
|
-
import { Scope as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import "
|
|
14
|
-
import "./
|
|
15
|
-
|
|
16
|
-
import "date-fns";
|
|
17
|
-
import "clsx";
|
|
18
|
-
import "tailwind-merge";
|
|
19
|
-
import "@radix-ui/react-dropdown-menu";
|
|
20
|
-
import "./index84.js";
|
|
21
|
-
import "./index92.js";
|
|
22
|
-
import "react-dom";
|
|
23
|
-
import "@mui/x-data-grid";
|
|
24
|
-
import { Badge as W } from "./index235.js";
|
|
25
|
-
import { Field as q, FieldContent as z, FieldError as K } from "./index153.js";
|
|
26
|
-
import { Select as O, SelectTrigger as R, SelectValue as U, SelectContent as G, SelectItem as y, SelectSeparator as H } from "./index280.js";
|
|
27
|
-
import { Typography as d } from "./index85.js";
|
|
28
|
-
import { BankAccountSectionForm as J } from "./index329.js";
|
|
29
|
-
import { Alert as M, AlertTitle as Q, AlertDescription as X } from "./index152.js";
|
|
30
|
-
import { Skeleton as Y } from "./index132.js";
|
|
31
|
-
import { getSourceLabel as g, getLineLabel as x } from "./index330.js";
|
|
32
|
-
const $t = ({
|
|
33
|
-
disabled: v,
|
|
34
|
-
embeddedBankName: p
|
|
35
|
-
}) => {
|
|
9
|
+
import { Scope as i } from "../../shared/data-access/dist/lib/scopes.js";
|
|
10
|
+
import { getLineLabel as u } from "./index297.js";
|
|
11
|
+
import { useGetEmbeddedBankAccounts as f } from "./index299.js";
|
|
12
|
+
import { useGetEntityBankAccounts as L } from "./index300.js";
|
|
13
|
+
import { useGetExternalBankAccounts as g } from "./index301.js";
|
|
14
|
+
const V = (t = !0) => {
|
|
36
15
|
const {
|
|
37
|
-
i18n:
|
|
38
|
-
} =
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
16
|
+
i18n: o
|
|
17
|
+
} = E(), n = k(), m = t && n.has(i.BankAccountReadOrg), s = t && n.has(i.ExternalBankAccountReadOrg), {
|
|
18
|
+
data: e,
|
|
19
|
+
isLoading: d
|
|
20
|
+
} = L(void 0, t), {
|
|
21
|
+
data: c,
|
|
22
|
+
isLoading: p
|
|
23
|
+
} = f(void 0, m), {
|
|
24
|
+
data: r,
|
|
25
|
+
isLoading: _
|
|
26
|
+
} = g(void 0, s), l = d || p || _;
|
|
27
|
+
return {
|
|
28
|
+
bankAccounts: A(() => [...(e?.data ?? []).map((a) => ({
|
|
29
|
+
id: a.id,
|
|
30
|
+
display_name: a.display_name,
|
|
31
|
+
account_number: a.account_number,
|
|
32
|
+
account_number_last4: a.account_number_last4,
|
|
33
|
+
bank_account_type: "BANK_DETAILS"
|
|
34
|
+
})), ...(c?.data ?? []).filter((a) => a.status === "ACTIVE").map((a) => ({
|
|
35
|
+
id: a.id,
|
|
36
|
+
display_name: a.nickname,
|
|
37
|
+
account_number: a.accountNumber,
|
|
38
|
+
account_number_last4: null,
|
|
39
|
+
bank_account_type: "INTERNAL"
|
|
40
|
+
})), ...(r?.data ?? []).filter((a) => a.accountStatus === "ACTIVE" && a.verificationStatus === "VERIFIED").map((a) => ({
|
|
41
|
+
id: a.id,
|
|
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]),
|
|
45
47
|
isLoading: l
|
|
46
|
-
}
|
|
47
|
-
return $(() => {
|
|
48
|
-
if (o.length === 1 && !l && !w.current) {
|
|
49
|
-
const r = o[0];
|
|
50
|
-
i("bank_account_id", r.id), i("bank_account_type", r.bank_account_type), w.current = !0;
|
|
51
|
-
}
|
|
52
|
-
}, [i, o, l]), /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
53
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4", children: [
|
|
54
|
-
/* @__PURE__ */ t(d, { variant: "h4", children: e._("Payment instructions") }),
|
|
55
|
-
/* @__PURE__ */ t(d, { variant: "body2", color: "muted", className: "ttw:font-medium", children: e._("Tells the customer how they can pay you. We'll include the selected info on the invoice") })
|
|
56
|
-
] }),
|
|
57
|
-
l || o.length > 0 && !A ? /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:p-3 ttw:gap-4 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
58
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
59
|
-
/* @__PURE__ */ t(d, { variant: "body2", children: e._("Bank account") }),
|
|
60
|
-
/* @__PURE__ */ t(d, { variant: "caption", color: "muted", children: e._("Display your bank account number and routing number") })
|
|
61
|
-
] }),
|
|
62
|
-
l ? /* @__PURE__ */ t(Y, { className: "ttw:w-full ttw:h-9 ttw:rounded-md" }) : /* @__PURE__ */ t(L, { name: "bank_account_id", control: N, render: ({
|
|
63
|
-
field: r,
|
|
64
|
-
fieldState: {
|
|
65
|
-
error: u
|
|
66
|
-
}
|
|
67
|
-
}) => {
|
|
68
|
-
const s = o.find((n) => n.id === r.value), _ = s ? g(s.bank_account_type, p, e) : null;
|
|
69
|
-
return /* @__PURE__ */ t(q, { children: /* @__PURE__ */ a(z, { children: [
|
|
70
|
-
/* @__PURE__ */ t("div", { className: "ttw:relative", children: /* @__PURE__ */ a(O, { ...r, disabled: v, value: r.value, onValueChange: (n) => {
|
|
71
|
-
if (n === "add_new")
|
|
72
|
-
m(!0);
|
|
73
|
-
else {
|
|
74
|
-
r.onChange(n);
|
|
75
|
-
const c = o.find((C) => C.id === n);
|
|
76
|
-
c && i("bank_account_type", c.bank_account_type), b?.invalid && f("bank_account_id");
|
|
77
|
-
}
|
|
78
|
-
}, children: [
|
|
79
|
-
/* @__PURE__ */ t(R, { id: "bank_account_id", className: "ttw:w-full", "aria-label": e._("Bank account selector"), "aria-invalid": !!u, children: /* @__PURE__ */ t(U, { placeholder: e._("Select bank account"), children: s && /* @__PURE__ */ a("span", { className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:justify-between ttw:gap-2", children: [
|
|
80
|
-
/* @__PURE__ */ t("span", { className: "ttw:truncate", children: x(s, e) }),
|
|
81
|
-
_ && /* @__PURE__ */ t(W, { variant: "secondary", className: "ttw:shrink-0", children: _ })
|
|
82
|
-
] }) }) }),
|
|
83
|
-
/* @__PURE__ */ a(G, { children: [
|
|
84
|
-
o.map((n) => {
|
|
85
|
-
const c = g(n.bank_account_type, p, e);
|
|
86
|
-
return /* @__PURE__ */ t(y, { value: n.id, children: /* @__PURE__ */ a("span", { className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:justify-between ttw:gap-2", children: [
|
|
87
|
-
/* @__PURE__ */ t("span", { className: "ttw:truncate", children: x(n, e) }),
|
|
88
|
-
c && /* @__PURE__ */ t("span", { className: "ttw:shrink-0 ttw:text-muted-foreground", children: c })
|
|
89
|
-
] }) }, n.id);
|
|
90
|
-
}),
|
|
91
|
-
h && /* @__PURE__ */ a(k, { children: [
|
|
92
|
-
/* @__PURE__ */ t(H, {}),
|
|
93
|
-
/* @__PURE__ */ a(y, { value: "add_new", className: "ttw:text-primary ttw:hover:text-primary ttw:font-semibold ttw:focus:text-primary", children: [
|
|
94
|
-
/* @__PURE__ */ t(P, { className: "ttw:text-primary ttw:hover:text-primary ttw:font-semibold ttw:focus:text-primary" }),
|
|
95
|
-
e._("Add a new account")
|
|
96
|
-
] })
|
|
97
|
-
] })
|
|
98
|
-
] })
|
|
99
|
-
] }) }),
|
|
100
|
-
/* @__PURE__ */ t(K, { errors: u ? [u] : [] })
|
|
101
|
-
] }) });
|
|
102
|
-
} })
|
|
103
|
-
] }) : /* @__PURE__ */ t(k, { children: h ? /* @__PURE__ */ t(J, { bankAccountsLength: o.length, onCreate: (r) => {
|
|
104
|
-
m(!1), i("bank_account_id", r), i("bank_account_type", "BANK_DETAILS"), b?.invalid && f("bank_account_id");
|
|
105
|
-
}, onCancel: () => m(!1) }) : /* @__PURE__ */ a(M, { enableClose: !1, variant: "warning", icon: /* @__PURE__ */ t(V, {}), children: [
|
|
106
|
-
/* @__PURE__ */ t(Q, { children: e._("There are no bank accounts on file for this account") }),
|
|
107
|
-
/* @__PURE__ */ t(X, { children: e._("A bank account is required in order to issue invoices. Contact your company admin to set one up.") })
|
|
108
|
-
] }) })
|
|
109
|
-
] });
|
|
48
|
+
};
|
|
110
49
|
};
|
|
111
50
|
export {
|
|
112
|
-
|
|
51
|
+
V as useSelectableBankAccounts
|
|
113
52
|
};
|
|
@@ -1,61 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { CounterpartSelector as b } from "./index331.js";
|
|
4
|
-
import "./index57.js";
|
|
5
|
-
import "@tanstack/react-query";
|
|
6
|
-
import { useCounterpartAddresses as w } from "./index72.js";
|
|
7
|
-
import "date-fns";
|
|
8
|
-
import { useRef as x, useState as m, useEffect as E } from "react";
|
|
9
|
-
import "react-hot-toast";
|
|
10
|
-
import "@lingui/react";
|
|
11
|
-
import { useFormContext as O } from "react-hook-form";
|
|
12
|
-
import { CounterpartDetails as A } from "./index2.js";
|
|
13
|
-
const R = ({
|
|
14
|
-
disabled: c,
|
|
15
|
-
isEditCustomerOpen: i,
|
|
16
|
-
handleOpenEditCustomer: C,
|
|
17
|
-
counterpart: t
|
|
18
|
-
}) => {
|
|
19
|
-
const {
|
|
20
|
-
watch: p,
|
|
21
|
-
setValue: d
|
|
22
|
-
} = O(), r = x(""), a = p("default_billing_address_id"), o = p("default_shipping_address_id"), {
|
|
23
|
-
data: s
|
|
24
|
-
} = w(t?.id), [u, f] = m(!1), [_, n] = m(!1);
|
|
25
|
-
return E(() => {
|
|
26
|
-
if (s?.data?.length) {
|
|
27
|
-
if (!a) {
|
|
28
|
-
r.current = t?.id;
|
|
29
|
-
const e = t?.default_billing_address_id || (s.data.length === 1 ? s.data[0].id : "");
|
|
30
|
-
d("default_billing_address_id", e);
|
|
31
|
-
}
|
|
32
|
-
if (!o) {
|
|
33
|
-
const e = t?.default_shipping_address_id || "";
|
|
34
|
-
d("default_shipping_address_id", e);
|
|
35
|
-
}
|
|
36
|
-
if (a && r.current !== t?.id) {
|
|
37
|
-
r.current = t?.id;
|
|
38
|
-
const e = t?.default_billing_address_id || (s.data.length === 1 ? s.data[0].id : "");
|
|
39
|
-
d("default_billing_address_id", e);
|
|
40
|
-
}
|
|
41
|
-
if (o && r.current !== t?.id) {
|
|
42
|
-
r.current = t?.id;
|
|
43
|
-
const e = t?.default_shipping_address_id || "";
|
|
44
|
-
d("default_shipping_address_id", e);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}, [s, d, t, a, o]), /* @__PURE__ */ g("div", { className: "ttw:w-full", children: [
|
|
48
|
-
/* @__PURE__ */ l(b, { setIsCreateCounterpartOpened: n, setIsViewCounterpartOpened: (e) => f(e), disabled: c, counterpartAddresses: s }),
|
|
49
|
-
_ && /* @__PURE__ */ l(h, { open: _, onClose: () => {
|
|
50
|
-
n(!1);
|
|
51
|
-
}, onCreate: (e) => {
|
|
52
|
-
n(!1), d("counterpart_id", e);
|
|
53
|
-
}, customerType: "customer" }),
|
|
54
|
-
(i || u) && /* @__PURE__ */ l(A, { counterpartId: t?.id || "", open: i || u, onClose: () => {
|
|
55
|
-
i && C(!1), f(!1);
|
|
56
|
-
}, isEditMode: i, showActionsMenu: !1, customerType: "customer" })
|
|
57
|
-
] });
|
|
58
|
-
};
|
|
1
|
+
import { toMinorUnits as r, fromMinorUnits as a } from "./index118.js";
|
|
2
|
+
const s = (o) => a(o), t = (o) => r(o);
|
|
59
3
|
export {
|
|
60
|
-
|
|
4
|
+
t as rateMajorToMinor,
|
|
5
|
+
s as rateMinorToMajor
|
|
61
6
|
};
|
|
@@ -1,25 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { X as p } from "lucide-react";
|
|
6
|
-
const x = ({
|
|
7
|
-
formName: s,
|
|
8
|
-
isDisabled: r,
|
|
9
|
-
isRecurrenceEnabled: n
|
|
10
|
-
}) => {
|
|
11
|
-
const {
|
|
12
|
-
i18n: e
|
|
13
|
-
} = w();
|
|
14
|
-
return /* @__PURE__ */ t(o, { children: /* @__PURE__ */ i(l, { className: "ttw:flex-row ttw:justify-between ttw:items-center", children: [
|
|
15
|
-
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-center ttw:gap-4", children: [
|
|
16
|
-
/* @__PURE__ */ t(c, { asChild: !0, children: /* @__PURE__ */ t(a, { variant: "ghost", type: "button", className: "ttw:p-2 ttw:has-[>svg]:px-2", children: /* @__PURE__ */ t(p, { className: "ttw:size-6.5" }) }) }),
|
|
17
|
-
/* @__PURE__ */ t(m, { className: "ttw:text-2xl", children: e._("Create invoice") }),
|
|
18
|
-
/* @__PURE__ */ t(d, { className: "ttw:sr-only", children: e._("Modal for invoice creation") })
|
|
19
|
-
] }),
|
|
20
|
-
/* @__PURE__ */ t("div", { className: "ttw:flex ttw:items-center ttw:gap-4", children: /* @__PURE__ */ t(a, { type: "submit", form: s, disabled: r, children: n ? e._("Activate") : e._("Save and continue") }, "next") })
|
|
21
|
-
] }) });
|
|
22
|
-
};
|
|
1
|
+
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { CenteredContentBox as r } from "./index205.js";
|
|
3
|
+
import { LoadingSpinner as n } from "./index143.js";
|
|
4
|
+
const m = () => /* @__PURE__ */ o(r, { children: /* @__PURE__ */ o(n, {}) });
|
|
23
5
|
export {
|
|
24
|
-
|
|
6
|
+
m as LoadingPage
|
|
25
7
|
};
|
|
@@ -1,31 +1,90 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import { jsx as e, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as s } from "./index100.js";
|
|
3
|
+
import * as o from "@radix-ui/react-dialog";
|
|
4
|
+
import { XIcon as c } from "lucide-react";
|
|
5
|
+
function x({
|
|
6
|
+
...t
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(o.Root, { "data-slot": "dialog", ...t });
|
|
9
|
+
}
|
|
10
|
+
function u({
|
|
11
|
+
...t
|
|
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
|
+
}
|
|
29
80
|
export {
|
|
30
|
-
|
|
81
|
+
x as Dialog,
|
|
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
|
|
31
90
|
};
|
|
@@ -1,23 +1,10 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
|
|
3
|
-
import { useLingui as a } from "@lingui/react";
|
|
4
|
-
import { toast as s } from "react-hot-toast";
|
|
5
|
-
const f = () => {
|
|
1
|
+
import { useMoniteContext as s } from "./index57.js";
|
|
2
|
+
const n = () => {
|
|
6
3
|
const {
|
|
7
|
-
api: e
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
i18n: r
|
|
11
|
-
} = a();
|
|
12
|
-
return e.finops.postRecurrences.useMutation(void 0, {
|
|
13
|
-
onError(t) {
|
|
14
|
-
s.error(i(r, t));
|
|
15
|
-
},
|
|
16
|
-
async onSuccess() {
|
|
17
|
-
await e.finops.getReceivables.invalidateQueries(o), s.success(r._("Recurrence has been created"));
|
|
18
|
-
}
|
|
19
|
-
});
|
|
4
|
+
api: e
|
|
5
|
+
} = s();
|
|
6
|
+
return e.finops.getMeasureUnits.useQuery();
|
|
20
7
|
};
|
|
21
8
|
export {
|
|
22
|
-
|
|
9
|
+
n as useGetMeasureUnits
|
|
23
10
|
};
|