@tesouro/embedded-components-react 0.2.70 → 0.2.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +7 -3
- package/dist/lib/ReceivablesWidget.js +22 -22
- 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 +22 -22
- 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/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 +20 -20
- 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 +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +7 -7
- 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 +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +34 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +4 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +25 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +1271 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +33 -25
- 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 +12 -12
- 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 +72 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +6 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +9 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +32 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +12 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +119 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +10 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +12 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +46 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +11 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +150 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +37 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +122 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +183 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +10 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +22 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +50 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +4 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +87 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +6 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +41 -388
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +47 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +390 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +24 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +11 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +30 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +22 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +19 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +27 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +114 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +70 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +12 -96
- 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 +97 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +26 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +6 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +7 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +10 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +214 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +34 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +60 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +398 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +69 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +2 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +407 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +35 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +47 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +75 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +32 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +20 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +35 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +51 -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 +34 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +54 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +345 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +7 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +21 -15
- 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 +33 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +33 -246
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +30 -176
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +12 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +247 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +178 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +11 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +19 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +26 -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 +35 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +49 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +46 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +28 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +95 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +47 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +485 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +168 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +22 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +57 -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 +27 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +59 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +20 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +36 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +338 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +301 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +101 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +161 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +264 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +23 -55
- 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 +20 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +146 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +86 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +23 -342
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +71 -301
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +44 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +17 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +28 -265
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +40 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +61 -18
- 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 +91 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +108 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +88 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +37 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +57 -486
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +28 -165
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +108 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +21 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +43 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +54 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +59 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +22 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +18 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +167 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +129 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +158 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +10 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +18 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +63 -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 +65 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +58 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +6 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +9 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +59 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +24 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +60 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +14 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +14 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +71 -180
- 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 +74 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +42 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +16 -280
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +40 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +149 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +10 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +19 -225
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +22 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +34 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +60 -91
- 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 +44 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +22 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +174 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +106 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +80 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +283 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +47 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +14 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +82 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +224 -21
- 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 +36 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +2 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +92 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +95 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +189 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +94 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +74 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +48 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +47 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +62 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +127 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +159 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +27 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +28 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +76 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +46 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +37 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +21 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +6 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +102 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +21 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +35 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +55 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +33 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +17 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +41 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +23 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +72 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +89 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +33 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +7 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +53 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +94 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +37 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +33 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +9 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +255 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +47 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +11 -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 +123 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +167 -141
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +18 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +14 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +16 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +54 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +33 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +20 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +70 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +16 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +11 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +22 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +23 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +36 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +19 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +64 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +17 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +21 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +15 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +8 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +13 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +67 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +20 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +2 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +67 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +67 -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 +38 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +32 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +85 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +23 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +103 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +110 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +28 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +32 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +126 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +8 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +66 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +44 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +25 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +5 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +9 -16
- 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 +33 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +16 -39
- 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 +18 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +48 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +54 -35
- 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 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +94 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +75 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +22 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +57 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +68 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +21 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +36 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +14 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +49 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +35 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +45 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +72 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +83 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +52 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +49 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +49 -80
- 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 +29 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +81 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +39 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +54 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +41 -50
- 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 +36 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +17 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +8 -8
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index7.js +25 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +6 -6
- 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 +9 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +21 -21
- 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 +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +22 -22
- 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,129 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
label: "Yesterday",
|
|
25
|
-
group: "Past"
|
|
26
|
-
}, {
|
|
27
|
-
value: "last_week",
|
|
28
|
-
label: "Last week",
|
|
29
|
-
group: "Past"
|
|
30
|
-
}, {
|
|
31
|
-
value: "last_month",
|
|
32
|
-
label: "Last month",
|
|
33
|
-
group: "Past"
|
|
34
|
-
}, {
|
|
35
|
-
value: "last_30_days",
|
|
36
|
-
label: "Last 30 days",
|
|
37
|
-
group: "Past"
|
|
38
|
-
}, {
|
|
39
|
-
value: "last_90_days",
|
|
40
|
-
label: "Last 90 days",
|
|
41
|
-
group: "Past"
|
|
42
|
-
}, {
|
|
43
|
-
value: "last_quarter",
|
|
44
|
-
label: "Last quarter",
|
|
45
|
-
group: "Past"
|
|
46
|
-
}, {
|
|
47
|
-
value: "last_year",
|
|
48
|
-
label: "Last year",
|
|
49
|
-
group: "Past"
|
|
50
|
-
}];
|
|
51
|
-
function g(h) {
|
|
52
|
-
const e = c(/* @__PURE__ */ new Date());
|
|
53
|
-
switch (h) {
|
|
54
|
-
case "today":
|
|
55
|
-
return {
|
|
56
|
-
from: e,
|
|
57
|
-
to: y(e)
|
|
58
|
-
};
|
|
59
|
-
case "this_week":
|
|
60
|
-
return {
|
|
61
|
-
from: _(e),
|
|
62
|
-
to: f(e)
|
|
63
|
-
};
|
|
64
|
-
case "this_month":
|
|
65
|
-
return {
|
|
66
|
-
from: l(e),
|
|
67
|
-
to: n(e)
|
|
68
|
-
};
|
|
69
|
-
case "this_quarter":
|
|
70
|
-
return {
|
|
71
|
-
from: o(e),
|
|
72
|
-
to: u(e)
|
|
73
|
-
};
|
|
74
|
-
case "this_year":
|
|
75
|
-
return {
|
|
76
|
-
from: r(e),
|
|
77
|
-
to: s(e)
|
|
78
|
-
};
|
|
79
|
-
case "yesterday": {
|
|
80
|
-
const t = a(e, 1);
|
|
81
|
-
return {
|
|
82
|
-
from: t,
|
|
83
|
-
to: y(t)
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
case "last_week": {
|
|
87
|
-
const t = _(i(e, 1));
|
|
88
|
-
return {
|
|
89
|
-
from: t,
|
|
90
|
-
to: f(t)
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
case "last_month": {
|
|
94
|
-
const t = l(d(e, 1));
|
|
95
|
-
return {
|
|
96
|
-
from: t,
|
|
97
|
-
to: n(t)
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
case "last_30_days":
|
|
101
|
-
return {
|
|
102
|
-
from: a(e, 30),
|
|
103
|
-
to: e
|
|
104
|
-
};
|
|
105
|
-
case "last_90_days":
|
|
106
|
-
return {
|
|
107
|
-
from: a(e, 90),
|
|
108
|
-
to: e
|
|
109
|
-
};
|
|
110
|
-
case "last_quarter": {
|
|
111
|
-
const t = o(b(e, 1));
|
|
112
|
-
return {
|
|
113
|
-
from: t,
|
|
114
|
-
to: u(t)
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
case "last_year": {
|
|
118
|
-
const t = r(m(e, 1));
|
|
119
|
-
return {
|
|
120
|
-
from: t,
|
|
121
|
-
to: s(t)
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
1
|
+
import { jsxs as a, jsx as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { FinanceHowItWorks as s } from "./index310.js";
|
|
3
|
+
import { useKanmonContext as c } from "./index56.js";
|
|
4
|
+
import { Dialog as m } from "./index50.js";
|
|
5
|
+
import { useLingui as l } from "@lingui/react";
|
|
6
|
+
import { Stack as p, Button as r } from "@mui/material";
|
|
7
|
+
import { useState as g } from "react";
|
|
8
|
+
const w = () => {
|
|
9
|
+
const {
|
|
10
|
+
i18n: o
|
|
11
|
+
} = l(), {
|
|
12
|
+
startFinanceSession: t
|
|
13
|
+
} = c(), [e, i] = g(!1);
|
|
14
|
+
return /* @__PURE__ */ a(p, { direction: "row", gap: 1, alignItems: "center", children: [
|
|
15
|
+
/* @__PURE__ */ n(r, { variant: "text", onClick: () => i(!0), children: o._("How does invoice financing work?") }),
|
|
16
|
+
/* @__PURE__ */ n(r, { onClick: () => t(), variant: "contained", color: "primary", sx: {
|
|
17
|
+
px: 2.5,
|
|
18
|
+
py: 1.5,
|
|
19
|
+
height: 40
|
|
20
|
+
}, children: o._("Financing menu") }),
|
|
21
|
+
/* @__PURE__ */ n(m, { open: e, onClose: () => i(!1), alignDialog: "right", children: /* @__PURE__ */ n(s, {}) })
|
|
22
|
+
] });
|
|
23
|
+
};
|
|
126
24
|
export {
|
|
127
|
-
|
|
128
|
-
g as resolveDatePreset
|
|
25
|
+
w as FinanceMenuButtons
|
|
129
26
|
};
|
|
@@ -1,67 +1,65 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
fieldErrors: n
|
|
1
|
+
import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Fragment as m } from "react";
|
|
3
|
+
import { useLingui as h } from "@lingui/react";
|
|
4
|
+
import _ from "@mui/icons-material/MonetizationOnOutlined";
|
|
5
|
+
import { useTheme as g, Box as i, Typography as n, lighten as f, List as x, ListItem as l } from "@mui/material";
|
|
6
|
+
const F = ({
|
|
7
|
+
offers: p
|
|
9
8
|
}) => {
|
|
10
|
-
const t = o(() => {
|
|
11
|
-
for (const r of Object.values(n))
|
|
12
|
-
if (r) return !0;
|
|
13
|
-
return !1;
|
|
14
|
-
}, [n]);
|
|
15
|
-
return e || t ? /* @__PURE__ */ a(_, { in: !0, sx: {
|
|
16
|
-
":not(.MuiCollapse-hidden)": {
|
|
17
|
-
marginBottom: 1
|
|
18
|
-
}
|
|
19
|
-
}, children: /* @__PURE__ */ g(j, { severity: "error", sx: {
|
|
20
|
-
"& .MuiAlert-icon": {
|
|
21
|
-
alignItems: "center"
|
|
22
|
-
}
|
|
23
|
-
}, children: [
|
|
24
|
-
e && /* @__PURE__ */ a("div", { children: e }),
|
|
25
|
-
t && /* @__PURE__ */ a(v, { dense: !0, disablePadding: !0, sx: {
|
|
26
|
-
mt: e ? 1 : 0
|
|
27
|
-
}, children: Object.entries(n).map(([r, s]) => s ? /* @__PURE__ */ a(L, { disablePadding: !0, children: /* @__PURE__ */ a(A, { primary: s, primaryTypographyProps: {
|
|
28
|
-
sx: {
|
|
29
|
-
color: "inherit"
|
|
30
|
-
}
|
|
31
|
-
} }) }, r) : null) })
|
|
32
|
-
] }) }) : null;
|
|
33
|
-
}, C = (e) => {
|
|
34
9
|
const {
|
|
35
|
-
i18n:
|
|
36
|
-
} =
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
10
|
+
i18n: t
|
|
11
|
+
} = h(), d = g();
|
|
12
|
+
return !p || p.length === 0 ? null : /* @__PURE__ */ a(i, { width: "100%", children: [
|
|
13
|
+
/* @__PURE__ */ e(n, { variant: "subtitle1", sx: {
|
|
14
|
+
mb: 3,
|
|
15
|
+
display: "inline-block"
|
|
16
|
+
}, children: t._("Current offer") }),
|
|
17
|
+
/* @__PURE__ */ e(i, { sx: {
|
|
18
|
+
display: "flex",
|
|
19
|
+
gap: 2,
|
|
20
|
+
flexWrap: "wrap"
|
|
21
|
+
}, children: p.map((o, c) => o?.pricing_plans?.map((r, s) => /* @__PURE__ */ a(i, { width: 232, height: 148, px: 3, py: 2.5, sx: {
|
|
22
|
+
backgroundColor: d.palette.background.paper,
|
|
23
|
+
borderRadius: "16px",
|
|
24
|
+
border: `1px solid ${d.palette.divider}`
|
|
25
|
+
}, children: [
|
|
26
|
+
/* @__PURE__ */ a(i, { sx: {
|
|
27
|
+
display: "flex",
|
|
28
|
+
alignItems: "center",
|
|
29
|
+
gap: 1,
|
|
30
|
+
mb: 2
|
|
31
|
+
}, children: [
|
|
32
|
+
/* @__PURE__ */ e(_, { sx: {
|
|
33
|
+
fontSize: 24,
|
|
34
|
+
color: f(d.palette.primary.main, 0.6)
|
|
35
|
+
} }),
|
|
36
|
+
/* @__PURE__ */ e(n, { variant: "body1", fontWeight: 500, sx: {
|
|
37
|
+
flex: "1 1 0%",
|
|
38
|
+
width: "100%"
|
|
39
|
+
}, children: t._("Financing plan") })
|
|
40
|
+
] }),
|
|
41
|
+
/* @__PURE__ */ e(x, { sx: {
|
|
42
|
+
p: 0
|
|
43
|
+
}, children: /* @__PURE__ */ a(m, { children: [
|
|
44
|
+
/* @__PURE__ */ e(l, { sx: {
|
|
45
|
+
p: 0
|
|
46
|
+
}, children: /* @__PURE__ */ e(n, { variant: "body1", fontWeight: 400, children: t._("{itemAdvance_rate_percentage}% advance rate", {
|
|
47
|
+
itemAdvance_rate_percentage: r.advance_rate_percentage / 100
|
|
48
|
+
}) }) }),
|
|
49
|
+
/* @__PURE__ */ e(l, { sx: {
|
|
50
|
+
p: 0
|
|
51
|
+
}, children: /* @__PURE__ */ e(n, { variant: "body1", fontWeight: 400, children: t._("Pay in {itemRepayment_duration_days} days", {
|
|
52
|
+
itemRepayment_duration_days: r.repayment_duration_days
|
|
53
|
+
}) }) }),
|
|
54
|
+
/* @__PURE__ */ e(l, { sx: {
|
|
55
|
+
p: 0
|
|
56
|
+
}, children: /* @__PURE__ */ e(n, { variant: "body1", fontWeight: 400, children: t._("{itemFee_percentage}% fee", {
|
|
57
|
+
itemFee_percentage: r.fee_percentage / 100
|
|
58
|
+
}) }) })
|
|
59
|
+
] }, r.advance_rate_percentage) })
|
|
60
|
+
] }, `${o.available_amount}-${c}-${o.total_amount}-${s}`))) })
|
|
61
|
+
] });
|
|
63
62
|
};
|
|
64
63
|
export {
|
|
65
|
-
|
|
66
|
-
C as useFormErrors
|
|
64
|
+
F as FinanceOffers
|
|
67
65
|
};
|
|
@@ -1,46 +1,16 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
defaultCurrency: i = "USD",
|
|
15
|
-
measureUnitsData: m,
|
|
16
|
-
container: c,
|
|
17
|
-
onRequestLineItemValue: n,
|
|
18
|
-
onLineItemValueChange: o,
|
|
19
|
-
onRequestOpenCreateProductDialog: p,
|
|
20
|
-
onUpdateItem: h,
|
|
21
|
-
onRemoveItem: s,
|
|
22
|
-
canRemove: u
|
|
23
|
-
}) => {
|
|
24
|
-
const w = !!a.line_items?.[t]?.product?.name, v = !!a.line_items?.[t]?.quantity, f = !!a.line_items?.[t]?.product?.price?.value, d = n("product.name"), x = !!(d && d.trim()), C = a.line_items?.[t]?.product?.measure_unit_id;
|
|
25
|
-
return /* @__PURE__ */ _("li", { className: "ttw:flex ttw:items-center ttw:gap-2.5 ttw:h-9", children: [
|
|
26
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex-1 ttw:min-w-30", children: /* @__PURE__ */ e(U, { onCreateItem: p, onChange: (r, g) => h(t, r, g), fieldName: n("product.name") || "", index: t, error: w, defaultCurrency: i, measureUnits: m, container: c }) }),
|
|
27
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(V, { index: t, control: l, quantityError: v, canRemove: u, hasProduct: x, onLineItemValueChange: o, onRemoveItem: s }) }),
|
|
28
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(j, { value: n("product.measure_unit_id"), onChange: (r) => {
|
|
29
|
-
o("product.measure_unit_id", r, {
|
|
30
|
-
shouldValidate: !0
|
|
31
|
-
});
|
|
32
|
-
}, availableMeasureUnits: m?.data || [], fieldError: C }) }),
|
|
33
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(N, { error: f, currency: i, value: n("product.price.value"), onChange: (r) => {
|
|
34
|
-
o("product.price.value", r, {
|
|
35
|
-
shouldValidate: !0
|
|
36
|
-
});
|
|
37
|
-
} }) }),
|
|
38
|
-
/* @__PURE__ */ e("div", { className: "ttw:w-12 ttw:min-w-12 ttw:flex ttw:items-center ttw:justify-center", children: /* @__PURE__ */ e(y, { checked: n("taxable") ?? !1, onCheckedChange: (r) => {
|
|
39
|
-
o("taxable", r === !0);
|
|
40
|
-
} }) }),
|
|
41
|
-
u && /* @__PURE__ */ e(I, { type: "button", variant: "ghost", size: "sm", className: "ttw:w-10 ttw:text-muted-foreground ttw:hover:bg-transparent ttw:hover:text-destructive ttw:border-l ttw:border-border ttw:pl-4 ttw:rounded-none ttw:has-[>svg]:pr-0", onClick: () => s(t), children: /* @__PURE__ */ e(R, {}) })
|
|
42
|
-
] });
|
|
43
|
-
}, S = b(k);
|
|
1
|
+
import { jsxs as r, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Box as f } from "@mui/material";
|
|
3
|
+
import { FinanceLimits as e } from "./index314.js";
|
|
4
|
+
import { FinanceOffers as i } from "./index316.js";
|
|
5
|
+
const p = ({
|
|
6
|
+
offers: s
|
|
7
|
+
}) => /* @__PURE__ */ r(f, { sx: {
|
|
8
|
+
display: "flex",
|
|
9
|
+
gap: 2
|
|
10
|
+
}, children: [
|
|
11
|
+
/* @__PURE__ */ o(e, { offers: s }),
|
|
12
|
+
s?.[0]?.status === "CURRENT" && /* @__PURE__ */ o(i, { offers: s })
|
|
13
|
+
] });
|
|
44
14
|
export {
|
|
45
|
-
|
|
15
|
+
p as FinanceWidget
|
|
46
16
|
};
|
|
@@ -1,27 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
totalTaxes: l,
|
|
14
|
-
totalPrice: a
|
|
15
|
-
}) => {
|
|
16
|
-
const {
|
|
17
|
-
i18n: s
|
|
18
|
-
} = r();
|
|
19
|
-
return /* @__PURE__ */ n("ul", { className: "ttw:w-full ttw:flex ttw:flex-col ttw:gap-1.5 ttw:list-none", children: [
|
|
20
|
-
/* @__PURE__ */ t(o, { label: s._("Subtotal"), value: e, className: "ttw:text-sm ttw:font-normal" }),
|
|
21
|
-
/* @__PURE__ */ t(o, { label: s._("Tax"), value: l, className: "ttw:text-sm ttw:font-normal" }),
|
|
22
|
-
/* @__PURE__ */ t(o, { label: s._("Total"), value: a, className: "ttw:text-lg ttw:font-medium" })
|
|
23
|
-
] });
|
|
24
|
-
};
|
|
1
|
+
const a = ["document_type", "department", "project", "cost_center", "vendor_type", "payment_method", "approval_status"], o = (e) => ({
|
|
2
|
+
document_type: e._("Document Type"),
|
|
3
|
+
department: e._("Department"),
|
|
4
|
+
project: e._("Project"),
|
|
5
|
+
cost_center: e._("Cost Center"),
|
|
6
|
+
vendor_type: e._("Vendor Type"),
|
|
7
|
+
payment_method: e._("Payment Method"),
|
|
8
|
+
approval_status: e._("Approval Status")
|
|
9
|
+
});
|
|
10
|
+
function r(e, t) {
|
|
11
|
+
return e ? o(t)[e] : "";
|
|
12
|
+
}
|
|
25
13
|
export {
|
|
26
|
-
|
|
14
|
+
r as getTagCategoryLabel,
|
|
15
|
+
a as tagCategories
|
|
27
16
|
};
|
|
@@ -1,191 +1,82 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import "
|
|
6
|
-
import {
|
|
7
|
-
import "react
|
|
8
|
-
import "
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
fieldName: i,
|
|
14
|
-
error: F,
|
|
15
|
-
disabled: z,
|
|
16
|
-
index: B = 0,
|
|
17
|
-
defaultCurrency: G,
|
|
18
|
-
measureUnits: _,
|
|
19
|
-
container: H,
|
|
20
|
-
onCreateItem: M,
|
|
21
|
-
onChange: o
|
|
1
|
+
import { useMoniteContext as h } from "./index57.js";
|
|
2
|
+
import "@tanstack/react-query";
|
|
3
|
+
import "date-fns";
|
|
4
|
+
import "react";
|
|
5
|
+
import { toast as u } from "react-hot-toast";
|
|
6
|
+
import { getAPIErrorMessage as d } from "./index120.js";
|
|
7
|
+
import { useLingui as v } from "@lingui/react";
|
|
8
|
+
import { useEntitySettings as T, usePatchEntitiesIdSettings as w } from "./index81.js";
|
|
9
|
+
const I = ({
|
|
10
|
+
setNameError: l,
|
|
11
|
+
onTagCreated: c,
|
|
12
|
+
onTagUpdated: m
|
|
22
13
|
}) => {
|
|
23
14
|
const {
|
|
24
|
-
i18n:
|
|
25
|
-
} =
|
|
26
|
-
api:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
limit: 20,
|
|
38
|
-
currency: D
|
|
15
|
+
i18n: n
|
|
16
|
+
} = v(), {
|
|
17
|
+
api: i,
|
|
18
|
+
queryClient: o
|
|
19
|
+
} = h(), {
|
|
20
|
+
data: a
|
|
21
|
+
} = T(), {
|
|
22
|
+
mutateAsync: f
|
|
23
|
+
} = w(), r = a?.payables_ocr_auto_tagging || [], g = i.finops.postTags.useMutation({}, {
|
|
24
|
+
onSuccess: () => i.finops.getTags.invalidateQueries(o),
|
|
25
|
+
onError: (e) => {
|
|
26
|
+
const t = d(n, e);
|
|
27
|
+
t === "This tag already exists." ? l?.(t) : u.error(t);
|
|
39
28
|
}
|
|
40
|
-
}, {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
getNextPageParam: (e) => {
|
|
47
|
-
if (e.next_pagination_token)
|
|
48
|
-
return {
|
|
49
|
-
query: {
|
|
50
|
-
pagination_token: e.next_pagination_token
|
|
29
|
+
}), _ = i.finops.patchTagsId.useMutation(void 0, {
|
|
30
|
+
onSuccess: (e) => {
|
|
31
|
+
Promise.all([i.finops.getTags.invalidateQueries(o), i.finops.getTagsId.invalidateQueries({
|
|
32
|
+
parameters: {
|
|
33
|
+
path: {
|
|
34
|
+
tag_id: e.id
|
|
51
35
|
}
|
|
52
|
-
}
|
|
36
|
+
}
|
|
37
|
+
}, o)]), m?.(e);
|
|
53
38
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
const {
|
|
57
|
-
scrollTop: n,
|
|
58
|
-
scrollHeight: m,
|
|
59
|
-
clientHeight: $
|
|
60
|
-
} = e.currentTarget;
|
|
61
|
-
m - n - $ < 100 && j && !k && U();
|
|
62
|
-
}, [U, j, k]), l = C(() => P ? P.pages.flatMap((e) => e.data).sort((e, n) => (e.name ?? "").localeCompare(n.name ?? "")) : [], [P]), r = C(() => !l || l.length === 0 ? [] : l.map((e) => {
|
|
63
|
-
const n = _ ? _.data.find((m) => m.id === e.measure_unit_id) : void 0;
|
|
64
|
-
return {
|
|
65
|
-
id: e.id,
|
|
66
|
-
label: e.name,
|
|
67
|
-
description: e.description,
|
|
68
|
-
price: e.price,
|
|
69
|
-
smallestAmount: e.smallest_amount,
|
|
70
|
-
measureUnit: n
|
|
71
|
-
};
|
|
72
|
-
}), [l, _, i]);
|
|
73
|
-
ne(() => {
|
|
74
|
-
!v && i && i.length > 0 && !t.length && (l?.find((e) => e?.name === i) || h(i));
|
|
75
|
-
}, [i, v, l, t]);
|
|
76
|
-
const J = f(() => {
|
|
77
|
-
O(!0), d(!0);
|
|
78
|
-
}, []), X = f(() => {
|
|
79
|
-
O(!1), t && t.trim() !== "" && !r.some((e) => e.label === t) && o({
|
|
80
|
-
id: u,
|
|
81
|
-
label: t
|
|
82
|
-
}, !1);
|
|
83
|
-
}, [t, r, o]);
|
|
84
|
-
let s = l?.find((e) => e?.id === K);
|
|
85
|
-
if (!v && i && i.length > 0 && !t.length && !s) {
|
|
86
|
-
const e = l?.find(
|
|
87
|
-
(n) => n?.name === i
|
|
88
|
-
// potentially item?.product.name, double check
|
|
89
|
-
);
|
|
90
|
-
e && (s = e);
|
|
91
|
-
}
|
|
92
|
-
const Y = s ? s.id : t ? u : null, L = s ? s.name : t, {
|
|
93
|
-
matchingItems: g,
|
|
94
|
-
nonMatchingItems: q,
|
|
95
|
-
showCustomOption: S
|
|
96
|
-
} = C(() => {
|
|
97
|
-
const e = L.toLowerCase().trim();
|
|
98
|
-
if (!e || s && s.name.toLowerCase() === e)
|
|
99
|
-
return {
|
|
100
|
-
matchingItems: r,
|
|
101
|
-
nonMatchingItems: [],
|
|
102
|
-
showCustomOption: !1
|
|
103
|
-
};
|
|
104
|
-
const n = [], m = [];
|
|
105
|
-
for (const p of r)
|
|
106
|
-
p.label.toLowerCase().includes(e) ? n.push(p) : m.push(p);
|
|
107
|
-
const $ = n.some((p) => p.label.toLowerCase() === e);
|
|
108
|
-
return {
|
|
109
|
-
matchingItems: n,
|
|
110
|
-
nonMatchingItems: m,
|
|
111
|
-
showCustomOption: !$ && !!t.trim()
|
|
112
|
-
};
|
|
113
|
-
}, [L, r, s, t]), Z = C(() => [
|
|
114
|
-
y,
|
|
115
|
-
...r.map((e) => e.id),
|
|
116
|
-
// Always include CUSTOM_ID when there's a custom name so Base UI tracks
|
|
117
|
-
// it as the selected value and shows the clear button. The visible
|
|
118
|
-
// ComboboxItem is still gated by showCustomOption.
|
|
119
|
-
...t ? [u] : []
|
|
120
|
-
], [r, t]), V = f((e) => {
|
|
121
|
-
if (!e) {
|
|
122
|
-
N(null), h(""), o({
|
|
123
|
-
id: "",
|
|
124
|
-
label: ""
|
|
125
|
-
}, !1);
|
|
126
|
-
return;
|
|
127
|
-
}
|
|
128
|
-
if (e === y) {
|
|
129
|
-
M();
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
if (e === u) {
|
|
133
|
-
w.current = !0, o({
|
|
134
|
-
id: u,
|
|
135
|
-
label: t
|
|
136
|
-
}, !1);
|
|
137
|
-
return;
|
|
39
|
+
onError: (e) => {
|
|
40
|
+
u.error(d(n, e));
|
|
138
41
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
42
|
+
});
|
|
43
|
+
return {
|
|
44
|
+
tagsWithKeywords: Object.fromEntries(r.map((e) => [e.tag_id, e.keywords])),
|
|
45
|
+
inProgress: g.isPending || _.isPending,
|
|
46
|
+
createTag: (e) => g.mutateAsync({
|
|
47
|
+
...e
|
|
48
|
+
}, {
|
|
49
|
+
onSuccess: (t) => c?.(t)
|
|
50
|
+
}),
|
|
51
|
+
updateTag: (e, t) => _.mutateAsync({
|
|
52
|
+
path: {
|
|
53
|
+
tag_id: e
|
|
54
|
+
},
|
|
55
|
+
body: t
|
|
56
|
+
}),
|
|
57
|
+
updateOcrAutoTagging: (e, t = []) => {
|
|
58
|
+
const s = r.filter((y) => y.tag_id !== e);
|
|
59
|
+
if (s.length === r.length && !t.length)
|
|
145
60
|
return;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
}
|
|
61
|
+
const p = t.length ? [...s, {
|
|
62
|
+
tag_id: e,
|
|
63
|
+
keywords: [...new Set(t)],
|
|
64
|
+
enabled: !0
|
|
65
|
+
}] : s;
|
|
66
|
+
p.length && f({
|
|
67
|
+
tax_mode: a.tax_mode,
|
|
68
|
+
payment_priority: a.payment_priority,
|
|
69
|
+
quote_signature_required: a.quote_signature_required,
|
|
70
|
+
receivable_edit_flow: a.receivable_edit_flow,
|
|
71
|
+
allow_purchase_order_autolinking: a.allow_purchase_order_autolinking,
|
|
72
|
+
generate_paid_invoice_pdf: a.generate_paid_invoice_pdf,
|
|
73
|
+
payables_ocr_auto_tagging: p,
|
|
74
|
+
payables_skip_approval_flow: a.payables_skip_approval_flow,
|
|
75
|
+
tax_inclusive_discount_mode: a.tax_inclusive_discount_mode
|
|
76
|
+
});
|
|
151
77
|
}
|
|
152
|
-
}
|
|
153
|
-
return /* @__PURE__ */ c(se, { value: Y, onValueChange: V, inputValue: L, onInputValueChange: ee, items: Z, filter: () => !0, disabled: z, open: I, onOpenChange: d, children: [
|
|
154
|
-
/* @__PURE__ */ a(oe, { id: `item-selector-${B}`, placeholder: A._("e.g., The machine that goes ping"), "aria-invalid": F || void 0, maxLength: 100, onFocus: J, onBlur: X, onClick: () => {
|
|
155
|
-
I || d(!0);
|
|
156
|
-
}, onKeyDown: (e) => {
|
|
157
|
-
e.key === "Enter" ? (e.preventDefault(), t.trim() && (w.current = !0), d(!1)) : e.key === "Tab" && I && g.length === 1 && (V(g[0].id), d(!1));
|
|
158
|
-
}, showClear: !0, className: "ttw:w-full", children: R && /* @__PURE__ */ a(ce, { align: "inline-start", children: /* @__PURE__ */ a(E, { className: "ttw:size-4 ttw:animate-spin ttw:text-muted-foreground" }) }) }),
|
|
159
|
-
/* @__PURE__ */ a(le, { container: H, className: "ttw:min-w-138", children: /* @__PURE__ */ c(me, { onScroll: W, children: [
|
|
160
|
-
/* @__PURE__ */ c(b, { value: y, className: "ttw:text-primary ttw:font-semibold ttw:hover:text-primary ttw:focus:text-primary", children: [
|
|
161
|
-
/* @__PURE__ */ a(de, {}),
|
|
162
|
-
A._("Create new item")
|
|
163
|
-
] }),
|
|
164
|
-
g.map((e) => /* @__PURE__ */ c(b, { value: e.id, children: [
|
|
165
|
-
/* @__PURE__ */ a("span", { className: "ttw:flex-1 ttw:min-w-0 ttw:truncate", children: e.label }),
|
|
166
|
-
/* @__PURE__ */ c("span", { className: "ttw:shrink-0 ttw:text-right ttw:text-xs ttw:text-muted-foreground", children: [
|
|
167
|
-
e.smallestAmount,
|
|
168
|
-
" ",
|
|
169
|
-
e.measureUnit?.description,
|
|
170
|
-
e.price && ` / ${T(e.price.value, e.price.currency)}`
|
|
171
|
-
] })
|
|
172
|
-
] }, e.id)),
|
|
173
|
-
S && /* @__PURE__ */ a(b, { value: u, children: /* @__PURE__ */ a("span", { className: "ttw:flex-1 ttw:min-w-0 ttw:truncate", children: t }) }),
|
|
174
|
-
(g.length > 0 || S) && q.length > 0 && /* @__PURE__ */ a(ue, {}),
|
|
175
|
-
q.map((e) => /* @__PURE__ */ c(b, { value: e.id, children: [
|
|
176
|
-
/* @__PURE__ */ a("span", { className: "ttw:flex-1 ttw:min-w-0 ttw:truncate", children: e.label }),
|
|
177
|
-
/* @__PURE__ */ c("span", { className: "ttw:shrink-0 ttw:text-right ttw:text-xs ttw:text-muted-foreground", children: [
|
|
178
|
-
e.smallestAmount,
|
|
179
|
-
" ",
|
|
180
|
-
e.measureUnit?.description,
|
|
181
|
-
e.price && ` / ${T(e.price.value, e.price.currency)}`
|
|
182
|
-
] })
|
|
183
|
-
] }, e.id)),
|
|
184
|
-
k && /* @__PURE__ */ a("div", { className: "ttw:flex ttw:justify-center ttw:py-1", children: /* @__PURE__ */ a(E, { className: "ttw:size-4 ttw:animate-spin ttw:text-muted-foreground" }) })
|
|
185
|
-
] }) })
|
|
186
|
-
] });
|
|
78
|
+
};
|
|
187
79
|
};
|
|
188
80
|
export {
|
|
189
|
-
|
|
190
|
-
Ne as ItemSelector
|
|
81
|
+
I as useTags
|
|
191
82
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as n } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as p } from "./
|
|
2
|
+
import { getAPIErrorMessage as p } from "./index120.js";
|
|
3
3
|
import { useLingui as d } from "@lingui/react";
|
|
4
4
|
import { toast as t } from "react-hot-toast";
|
|
5
5
|
const f = (i, s) => {
|